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 Yesterday, 12:29 PM   #12091
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 84
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
Quote:
Originally Posted by JimmXinu View Post
I use Firefox, too. BrowserCache just worked fine this morning with 152.0.

But there is a new Firefox update. And 152.0.1 is also working fine for me on Win10. Still works after clearing cache.
I'm using the latest Firefox beta, currently 153.0b2. I've cleared the cache.

As a test, I then created a new profile in Firefox. That resulted in a different error message.

My best guess, for now, is that it has something to do with the Firefox version. Possibly changes to the profile or how the cache is managed.
Code:
FFF: DEBUG: 2026-06-20 18:11:37,091: configurable.py(565): config site:test1.com
FFF: DEBUG: 2026-06-20 18:11:38,430: calibre_plugins.fanficfare_plugin.fff_plugin(1178): FanFicFare v4.58.11
FFF: DEBUG: 2026-06-20 18:11:38,586: adapter_fanfictionnet.py(101): identifiers:"~ur(i|l):~^https?://www\.fanfiction\.net/s/13508086/1/(.*)$"
FFF: DEBUG: 2026-06-20 18:11:38,676: configurable.py(565): config site:www.fanfiction.net
FFF: DEBUG: 2026-06-20 18:11:38,688: story.py(825): use_browser_cache:true
FFF: DEBUG: 2026-06-20 18:11:38,690: configurable.py(1055): use_browser_cache:true
FFF: DEBUG: 2026-06-20 18:11:38,690: configurable.py(1057): browser_cache_path:C:\Users\w8\AppData\Local\Mozilla\Firefox\Profiles\PEd4q6Es.Profil 1\cache2
FFF: WARNING: 2026-06-20 18:11:38,691: configurable.py(1067): Failed to setup BrowserCache([WinError 2] Das System kann die angegebene Datei nicht finden: 'C:\\Users\\w8\\AppData\\Local\\Mozilla\\Firefox\\Profiles\\PEd4q6Es.Profil 1\\cache2\\index')
FFF: ERROR: 2026-06-20 18:11:38,691: calibre_plugins.fanficfare_plugin.dialogs(802): Exception: {'title': 'The Sinistra Ward and the Goblet of Fire', 'author_sort': 'Irish216', 'author': ['Irish216'], 'comments': '', 'good': False, 'status': 'Error', 'showerror': True, 'calibre_id': 63, 'begin': None, 'end': None, 'comment': "[WinError 2] Das System kann die angegebene Datei nicht finden: 'C:\\\\Users\\\\w8\\\\AppData\\\\Local\\\\Mozilla\\\\Firefox\\\\Profiles\\\\PEd4q6Es.Profil 1\\\\cache2\\\\index'", 'url': 'https://www.fanfiction.net/s/13508086/1/The-Sinistra-Ward-and-the-Goblet-of-Fire', 'site': 'www.fanfiction.net', 'series': '', 'added': False, 'pubdate': None, 'publisher': 'fanfiction.net', 'listorder': 0, 'collision': 'Update EPUB if New Chapters'}:[WinError 2] Das System kann die angegebene Datei nicht finden: 'C:\\Users\\w8\\AppData\\Local\\Mozilla\\Firefox\\Profiles\\PEd4q6Es.Profil 1\\cache2\\index'
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.dialogs", line 789, in do_loop
  File "C:\Users\w8\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fff_profile.py", line 43, in profiled_func
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1353, in prep_download_loop
  File "C:\Users\w8\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\configurable.py", line 1091, in get_cookiejar
  File "C:\Users\w8\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\configurable.py", line 1062, in get_fetcher
  File "C:\Users\w8\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\__init__.py", line 39, in __init__
  File "C:\Users\w8\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\base_browsercache.py", line 72, in new_browser_cache
  File "C:\Users\w8\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\browsercache_simple.py", line 83, in is_cache_dir
  File "genericpath.py", line 86, in getsize
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden: 'C:\\Users\\w8\\AppData\\Local\\Mozilla\\Firefox\\Profiles\\PEd4q6Es.Profil 1\\cache2\\index'
FFF: DEBUG: 2026-06-20 18:11:43,663: calibre_plugins.fanficfare_plugin.fff_plugin(1994): set_marked_ids:{63: 'fff_failed_0000'}
FFF: DEBUG: 2026-06-20 18:11:43,722: calibre_plugins.fanficfare_plugin.fff_plugin(2003): Finished Adding/Updating 0 books.
FFF: DEBUG: 2026-06-20 18:11:43,851: calibre_plugins.fanficfare_plugin.fff_plugin(2009): removed tdir(C:\Users\w8\AppData\Local\Temp\calibre-ccelk580\fanficfare_glfj22bs)
Tharos is offline   Reply With Quote
Old Yesterday, 02:02 PM   #12092
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: 7,471
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply!

Quote:
Originally Posted by ownedbycats View Post
I'm guessing answer is no, but any way to hide specifically "Chapters: 1" (not any other number) from a completed work's title page?
You mean you want to suppress numChapters from appearing in the title page when numChapters == 1?

The only way that comes to mind is to:
  1. Make an extra entry copy of numChapters,
  2. Change your titlepage_entries to use that instead of numChapters,
  3. Add replace_metadata for your new entry to replace 1 and only 1 with nothing: ^1$=> Or exclude it.
I've not tested this, but it seems solid.

Quote:
Originally Posted by Tharos View Post
I'm using the latest Firefox beta, currently 153.0b2. I've cleared the cache.

As a test, I then created a new profile in Firefox. That resulted in a different error message.

My best guess, for now, is that it has something to do with the Firefox version. Possibly changes to the profile or how the cache is managed.
Code:
[WinError 2] Das System kann die angegebene Datei nicht finden: 'C:\\Users\\w8\\AppData\\Local\\Mozilla\\Firefox\\Profiles\\PEd4q6Es.Profil 1\\cache2\\index'
Yeah, that error says there' no index in the cache--a check more for when the path is set wrong. You probably need to have hit some pages first after clearing cache.

I don't see anything about Firefox beta release notes changing cache implementation, but it might be considered an internal detail. I don't want to put Firefox beta on my computer, but I'll see what I can manage.
JimmXinu is offline   Reply With Quote
Advert
Old Yesterday, 02:19 PM   #12093
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: 7,471
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JimmXinu View Post
I don't see anything about Firefox beta release notes changing cache implementation, but it might be considered an internal detail. I don't want to put Firefox beta on my computer, but I'll see what I can manage.
Running Firefox beta (on a borrowed mac) does give the same error:
Code:
  File "C:\Users\w8\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\browsercache_firefox2.py", line 183, in _read_entry_headers
IndexError: list index out of range
So I can look at it. But I can't promise I can fix it.

Can you try going back to pre-beta Firefox?
JimmXinu is offline   Reply With Quote
Old Yesterday, 03:20 PM   #12094
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: 7,471
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2026-06-20
- browsercache_firefox2: Fix for Firefox 1.53.0b2 Beta Change

We got lucky this time--it was a relatively straightforward fix. Less 'pythonic' now, but more robust.
JimmXinu is offline   Reply With Quote
Old Yesterday, 04:02 PM   #12095
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,810
Karma: 83109135
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
You mean you want to suppress numChapters from appearing in the title page when numChapters == 1?

The only way that comes to mind is to:
  1. Make an extra entry copy of numChapters,
  2. Change your titlepage_entries to use that instead of numChapters,
  3. Add replace_metadata for your new entry to replace 1 and only 1 with nothing: ^1$=> Or exclude it.
I've not tested this, but it seems solid.
I actuallly have custom ao3chaps entry, so it might be doable
ownedbycats is offline   Reply With Quote
Advert
Old Yesterday, 07:15 PM   #12096
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: 7,471
Karma: 5007337
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2026-06-20
- browsercache_firefox2: Fix for Firefox 1.53.0b2 Beta Change
- adapter_literotica: Fix for order of 'Get story URLs' from dbhmw #1374
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 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


All times are GMT -4. The time now is 02:49 AM.


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