|
|
#12106 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: May 2016
Device: calibre
|
|
|
|
|
|
|
#12107 |
|
Member
![]() Posts: 23
Karma: 10
Join Date: Apr 2019
Device: Ipad
|
I'm getting a weird error after downloading
calibre, version 9.9.0 ERROR: Loading book failed: Failed to open the book at C:\Users\Owner\OneDrive\Documents\Calibre\Silver Gambit\With Key in Hand (3037)\With Key in Hand - Silver Gambit.epub. Click "Show details" for more info. Failed to convert book: C:\Users\Owner\OneDrive\Documents\Calibre\Silver Gambit\With Key in Hand (3037)\With Key in Hand - Silver Gambit.epub with error: calibre_plugins.comicvine.utils:228: SyntaxWarning: "\d" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\d"? A raw string is also an option. calibre_plugins.comicvine.utils:228: SyntaxWarning: "\g" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\g"? A raw string is also an option. calibre_plugins.comicvine.utils:234: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option. calibre_plugins.fantastic_fiction.__init__:96: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option. calibre_plugins.fantastic_fiction_adults.__init__: 128: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option. |
|
|
|
|
|
#12108 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,479
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
|
|
|
|
|
|
|
#12109 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,011
Karma: 82524140
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Additionally, the messages about invalid escape sequences is a warning to the developer and not affecting you.
|
|
|
|
|
|
#12110 |
|
Member
![]() Posts: 23
Karma: 10
Join Date: Apr 2019
Device: Ipad
|
|
|
|
|
|
|
#12111 |
|
Member
![]() Posts: 23
Karma: 10
Join Date: Apr 2019
Device: Ipad
|
Ah. Well I was getting it whenever I used FFF so I figured I should ask you first
|
|
|
|
|
|
#12112 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,479
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
I launched a download of it using CLI (my usual initial test platform) and left. +40minutes later it finished without any problems. For completeness sake, I tried a few chapters in Calibre. To my surprise, images did fail there. It's pretty uncommon for CLI and plugin to differ like that. Looking in the log and epub, it reports Invalid URL 'https:////10539.mitemin.net/userpageimage/viewimagebig/icode/i110766/': No host supplied. With //// instead of //. Looking at the source site, the images are given as <img src="//10539.mitemin.net/userpageimage/viewimagebig/icode/i110766/" FFF has code to handle such cases and prepend the appropriate scheme (https usually). But python's built-in urlunparse is behaving differently in plugin vs cli? That sounds like python version shenanigans. And Calibre 9.9 is running Python 3.14.5 while I still have 3.12.0. And sure enough, the python gods apparently changed urlunparse() in 2024. It's only showing up now because it's not an issue for us except when the url starts with '//', and, I assume, Calibre didn't update python immediately. I believe I see how to fix this. I made assumptions about how urlunparse() works when given a 'location' that also includes then 'netloc'(aka domain name). But I need to look at everywhere FFF uses urlunparse() and do some testing. |
|
|
|
|
|
|
#12113 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,479
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
DragoLord19d - no problem.
Although I wonder why your posts are requiring moderation...
|
|
|
|
|
|
#12114 |
|
Member
![]() Posts: 23
Karma: 10
Join Date: Apr 2019
Device: Ipad
|
|
|
|
|
|
|
#12115 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,479
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2026-06-23 - Change urlunparse() to urljoin() #1377 Addresses Redevil387's issue above. Quote:
Changes touch:
Last edited by JimmXinu; 06-23-2026 at 07:31 PM. |
|
|
|
|
|
|
#12116 |
|
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2020
Device: none
|
FanFicFare stopped working for me. I'm on Calibre 9.9, FanFicFare 4.58.0
Getting a list index out of range on any series on Literotica. Tried it with multiple series. Full log below. The URL used is SFW. Code:
FFF: DEBUG: 2026-06-26 00:05:14,905: configurable.py(565): config site:test1.com
FFF: DEBUG: 2026-06-26 00:05:17,300: calibre_plugins.fanficfare_plugin.dialogs(528): self.extraoptions['anthology_url']:NOT FOUND
FFF: DEBUG: 2026-06-26 00:05:17,304: calibre_plugins.fanficfare_plugin.fff_plugin(1178): FanFicFare v4.58.0
FFF: DEBUG: 2026-06-26 00:05:17,461: configurable.py(565): config site:literotica.com
FFF: DEBUG: 2026-06-26 00:05:17,473: configurable.py(1049): use_browser_cache:
FFF: DEBUG: 2026-06-26 00:05:17,473: configurable.py(1070): use_basic_cache:true
FFF: DEBUG: 2026-06-26 00:05:17,474: adapter_literotica.py(154): Chapter/Story URL: <https://www.literotica.com/series/se/169550291>
FFF: DEBUG: 2026-06-26 00:05:17,474: cache_basic.py(117):
========== MISS (GET) BasicCache
https://www.literotica.com/series/se/169550291
FFF: DEBUG: 2026-06-26 00:05:17,474: fetcher_requests.py(114):
---------- REQ (GET) RequestsFetcher
https://www.literotica.com/series/se/169550291
FFF: DEBUG: 2026-06-26 00:05:20,283: fetcher_requests.py(127): response code:200
FFF: DEBUG: 2026-06-26 00:05:20,284: decorators.py(118): fromcache:False
FFF: DEBUG: 2026-06-26 00:05:20,284: decorators.py(129): random sleep(0.50-1.50):1.45
FFF: DEBUG: 2026-06-26 00:05:21,736: requestable.py(55): Encoding:utf8
FFF: DEBUG: 2026-06-26 00:05:21,738: adapter_literotica.py(163): set opened url:https://www.literotica.com/series/se/169550291
FFF: ERROR: 2026-06-26 00:05:21,829: calibre_plugins.fanficfare_plugin.dialogs(802): Exception: {'title': 'Unknown', 'author_sort': ['Unknown'], 'author': ['Unknown'], 'comments': '', 'good': False, 'status': 'Error', 'showerror': True, 'calibre_id': None, 'begin': None, 'end': None, 'comment': 'list index out of range', 'url': 'https://www.literotica.com/series/se/169550291', 'site': 'literotica.com', 'series': '', 'added': False, 'pubdate': None, 'publisher': None, 'uniqueurl': 'https://www.literotica.com/series/se/169550291[None-None]', 'listorder': 0, 'collision': 'Update EPUB if New Chapters'}:list index out of range
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.dialogs", line 789, in do_loop
self.foreach_function(book)
~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/Users/oenwolf/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/fff_profile.py", line 43, in profiled_func
return func(*args, **kwargs)
File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1398, in prep_download_loop
story = self.get_story_metadata_only(adapter)
File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1264, in get_story_metadata_only
adapter.getStoryMetadataOnly(get_cover=False)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/oenwolf/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/adapters/base_adapter.py", line 378, in getStoryMetadataOnly
self.doExtractChapterUrlsAndMetadata(get_cover=get_cover)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/Users/oenwolf/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/adapters/base_adapter.py", line 488, in doExtractChapterUrlsAndMetadata
return self.extractChapterUrlsAndMetadata()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Users/oenwolf/Library/Preferences/calibre/plugins/FanFicFare.zip/fanficfare/adapters/adapter_literotica.py", line 201, in extractChapterUrlsAndMetadata
json_state = json.loads(state[0].replace("\\'","'").replace("\\\\","\\"))
~~~~~^^^
IndexError: list index out of range
|
|
|
|
|
|
#12117 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2024
Device: iPad
|
I just noticed an issue with getting stuff from literotica. FFF only downloads the first page of any story, be it a stand alone or one in a series. I'm using the latest beta.
|
|
|
|
|
|
#12118 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2013
Device: iPad
|
I noticed the same thing when I updated to the latest Calibre version (9.10) -- no issues with the 9.9 version with recent FFF test version (4.58.11)
|
|
|
|
![]() |
| Tags |
| fanfiction |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 546 | 05-21-2026 02:44 PM |
| [GUI Plugin] Open With | kiwidude | Plugins | 405 | 02-09-2026 07:54 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 |