Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2020, 07:24 PM   #4471
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by aehli View Post
Hi -, how can I fix this error? It used to work perfectly for wuxiaworld.co
I also tried updating previously downloaded stories but the same issue
Update to the newest test version. Link in my sig.
JimmXinu is offline   Reply With Quote
Old 09-03-2020, 07:31 PM   #4472
aehli
Junior Member
aehli began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2015
Device: Kindle Paperwhite
Quote:
Originally Posted by JimmXinu View Post
Update to the newest test version. Link in my sig.
Thanks! I did update (via Calibre) and restart but still the same error. Is the one in your link download version the same version?
aehli is offline   Reply With Quote
Advert
Old 09-03-2020, 08:35 PM   #4473
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by aehli View Post
Thanks! I did update (via Calibre) and restart but still the same error. Is the one in your link download version the same version?
No. The latest released version is not the same as the most recent test version.

That site change has been addressed, but I haven't released a new version since then.
JimmXinu is offline   Reply With Quote
Old 09-04-2020, 10:37 AM   #4474
dakswiggin
Junior Member
dakswiggin began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2020
Device: PC
Error for some fiction.live stories

Some fiction.live stories return error immediately upon trying to download. Example - https://fiction.live/stories/Descend...dXpvftpmN3Go6y

Debug stacktrace -
========================
Successfully initialized third party plugins: EpubMerge (2, 10, 0) && Count Pages (1, 10, 0) && FanFicFare (3, 22, 8) && Generate Cover (1, 5, 25)
...
FFF: DEBUG: 2020-09-04 17:31:06,036: calibre_plugins.fanficfare_plugin.fff_plugin(969): add_tag:None
FFF: DEBUG: 2020-09-04 17:31:06,042: calibre_plugins.fanficfare_plugin.fff_plugin(979): FanFicFare v3.22.8
FFF: DEBUG: 2020-09-04 17:31:06,055: calibre_plugins.fanficfare_plugin.fff_plugin(1093) : url:https://fiction.live/stories/Descend...dXpvftpmN3Go6y
FFF: DEBUG: 2020-09-04 17:31:06,075: calibre_plugins.fanficfare_plugin.fanficfare.confi gurable(1149): #####################################
pagecache(GET) MISS: https://fiction.live/api/node/SBBA49fQavNQMWxFT/
FFF: DEBUG: 2020-09-04 17:31:06,263: calibre_plugins.fanficfare_plugin.fanficfare.confi gurable(1007): Encoding:utf8
FFF: ERROR: 2020-09-04 17:31:06,414: calibre_plugins.fanficfare_plugin.dialogs(714): Exception: {u'site': 'fiction.live', u'status': u'Error', u'author_sort': [u'Unknown'], u'end': None, u'listorder': 0, u'collision': u'Update EPUB if New Chapters', u'comment': u"'utf8' codec can't decode byte 0xc2 in position 0: invalid continuation byte", u'uniqueurl': u'https://fiction.live/stories/Descendant-of-a-Demon-Lord/SBBA49fQavNQMWxFT/Prologue/Q3sdXpvftpmN3Go6y[None-None]', u'url': u'https://fiction.live/stories/Descendant-of-a-Demon-Lord/SBBA49fQavNQMWxFT/Prologue/Q3sdXpvftpmN3Go6y', u'author': [u'nobody_here'], u'comments': u'', u'password': '', u'calibre_id': None, u'good': False, u'username': 'NoneGiven', u'pubdate': None, u'series': u'', u'added': False, u'icon': u'plus.png', u'showerror': True, u'is_adult': False, u'title': u'Descendant of a Demon Lord', u'begin': None, u'publisher': None}:'utf8' codec can't decode byte 0xc2 in position 0: invalid continuation byte
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.dialogs", line 701, in do_loop
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1234, in prep_download_loop
File "calibre_plugins.fanficfare_plugin.fanficfare.stor y", line 872, in getAllMetadata
File "calibre_plugins.fanficfare_plugin.fanficfare.stor y", line 785, in getMetadata
File "calibre_plugins.fanficfare_plugin.fanficfare.stor y", line 654, in doReplacements
File "calibre_plugins.fanficfare_plugin.fanficfare.stor y", line 503, in join_list
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc2 in position 0: invalid continuation byte

============================
Could you please advise whether this issue can be fixed from user's end?
dakswiggin is offline   Reply With Quote
Old 09-04-2020, 12:25 PM   #4475
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by dakswiggin View Post
Some fiction.live stories return error immediately upon trying to download. Example - https://fiction.live/stories/Descend...dXpvftpmN3Go6y
I've opened a github issue to bring this to the attention of the dev who wrote the fiction.live adapter.
JimmXinu is offline   Reply With Quote
Advert
Old 09-04-2020, 08:56 PM   #4476
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: When downloading an anthology with comments, is this supposed to happen? It results in giant gaps of white space in the comments.

Spoiler:
Click image for larger version

Name:	2020-09-04 21_53_57-Edit metadata - Downtime -  [1 of 8].png
Views:	138
Size:	15.3 KB
ID:	181765


I thought it was this, but commenting it out didn't work:

Code:
add_to_replace_metadata:
## Changes breaks to paragraphs in comments for better formatting
 description=><br/>=></p><p>
All the anthologies I've downloaded so far are from AO3, and it's happened on all of them.

I've manually fixed the ones I have so far but I'd like to know before I start combining some of the longer series. Thank you.

Last edited by ownedbycats; 09-04-2020 at 09:53 PM.
ownedbycats is offline   Reply With Quote
Old 09-04-2020, 09:57 PM   #4477
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-09-04
- Fix anthology comments for changes in how Calibre handles them.
JimmXinu is offline   Reply With Quote
Old 09-04-2020, 10:02 PM   #4478
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
That fixed it. Thank you.
ownedbycats is offline   Reply With Quote
Old 09-05-2020, 01:43 PM   #4479
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
For non-series anthologies, is there a way to copy the first story's URL to the identifier field? The epubmerge settings only handle custom columns.
ownedbycats is offline   Reply With Quote
Old 09-05-2020, 03:10 PM   #4480
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
No, there isn't. If you have id:url set like that and try to update it with FFF, you might overwrite your anthology incorrectly.
JimmXinu is offline   Reply With Quote
Old 09-05-2020, 03:39 PM   #4481
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Oh I didn't think of that. Thank you.
ownedbycats is offline   Reply With Quote
Old 09-06-2020, 12:23 AM   #4482
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
When I need an extra/different URLs I use an identifier rule. That lets me have a clickable link in the book details. And I sometime remove the URL identifier if I know it isn't going to be updated. Or occasionally for stories that I don't want to update. I also like the look of the identifiers in the details screen more than the URLs.

It is manual, but, if you have the rule setup, you can copy the URL for the story into the clipboard, then click the identifier button in the metadata editor. That will add the identifier if it matches one of the rules, or one of the identifiers for some of the metadata source plugins.
davidfor is offline   Reply With Quote
Old 09-06-2020, 01:20 AM   #4483
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I actually did make identifiers a few weeks back:

Click image for larger version

Name:	2020-09-06 02_18_14-Create rules for identifiers.png
Views:	286
Size:	14.5 KB
ID:	181789

I got stuck on trying to figure out the search-and-replace regexes for it (I wanted to keep url: for in-progress fics) and then forgot about it until now.

Last edited by ownedbycats; 09-06-2020 at 01:36 AM.
ownedbycats is offline   Reply With Quote
Old 09-06-2020, 02:58 PM   #4484
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Out of curiosity: If I remove the identifier from the metadata and then disable "search inside ebooks for story URL," FanFicFare can still get the URL on previously downloaded fics. Where is it getting it from?
ownedbycats is offline   Reply With Quote
Old 09-06-2020, 04:27 PM   #4485
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,984
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Out of curiosity: If I remove the identifier from the metadata and then disable "search inside ebooks for story URL," FanFicFare can still get the URL on previously downloaded fics. Where is it getting it from?
Code is here.

It looks for URL in Calibre identifiers, then if there's an epub, it uses Calibre methods to look for identifiers inside the epub metadata, then it looks for dc:source tags with a URL and then finally if all those fail it optionally looks inside the ebook contents (not metadata) for a story URL.

I vaguely recall adding all those back in the early days of FFDL for users copying epubs from other libraries, importing epubs from FFDL CLI, etc.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 11:28 PM.


MobileRead.com is a privately owned, operated and funded community.