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 01-14-2023, 10:48 AM   #7936
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: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
AO3: Is possible to do a replace_metadata on a series based on URL (e.g. https://archiveofourown.org/series/12345) rather than name?
ownedbycats is online now   Reply With Quote
Old 01-14-2023, 11:05 AM   #7937
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-01-14
- adapter_mediaminerorg: Updates for site changes

Most of the metadata wasn't being collected correctly due to site changes. Note that the published/updated dates don't have times anymore and that word counts are by K(or M) now.

Quote:
Originally Posted by midnightmane View Post
Stories that are marked as complete on Mediaminer are being labeled as in progress whenever you download them with fff

https://www.mediaminer.org/fanfic/s/.../youma-1-2/102
JimmXinu is offline   Reply With Quote
Old 01-14-2023, 11:07 AM   #7938
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
AO3: Is possible to do a replace_metadata on a series based on URL (e.g. https://archiveofourown.org/series/12345) rather than name?
Should be. Did you try it?
JimmXinu is offline   Reply With Quote
Old 01-14-2023, 11:12 AM   #7939
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: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Should be. Did you try it?
I'm not sure exactly how. A match-any with seriesURL?
ownedbycats is online now   Reply With Quote
Old 01-14-2023, 11:31 AM   #7940
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
I'm not sure exactly how. A match-any with seriesURL?
Code:
[archiveofourown.org]
add_to_replace_metadata:
 series=>^.*$=>My Preferred Series&&seriesUrl==https://archiveofourown.org/series/12345
JimmXinu is offline   Reply With Quote
Old 01-14-2023, 11:46 AM   #7941
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: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
That works.

Amusingly, I screwed up when typing in the regex, put just . (instead of .* - no anchors) and ended up with a 15,000-character series name that spanned 14 pages in Calibre's ebook-viewer.
ownedbycats is online now   Reply With Quote
Old 01-14-2023, 03:17 PM   #7942
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
I am not sure what I am doing wrong. Earlier I tested the new "browser cache refactor & open_pages_in_browser feature". I didn't like that with the browser windows opening. So I reset the settings as I think they were before.

Now FFF gives me the following error message:
Quote:
HTTP Error in FFF 'Page not found or expired in Browser Cache (see FFF setting browser_cache_age_limit)'(428) URL:'https://www.fanfiction.net/s/14080336/1/The-Man-in-Black'
My settings in the personal.ini:
Quote:
[defaults]
keep_summary_html:false
include_images:true
make_firstimage_cover:true
never_make_cover:false
include_subject_tags:sitetags,genre,category,chara cters,,extratags,fandoms,tags,yourfield
add_to_custom_columns_settings:
fandoms=>#ts
extratags:

browser_cache_path:C:\Users\***********\AppData\Lo cal\Mozilla\Firefox\Profiles\*********\cache2
browser_cache_age_limit:4.0
Quote:
[fanfiction.net]
use_flaresolverr_proxy:false
never_make_cover:false
custom_columns_settings:
category=>#ts
use_browser_cache:true
use_browser_cache_only:true
check_next_chapter:false
I have already cleared the cache. And loaded with F5 the first pages several times. Of course also the last pages I want to update. What have I set wrong?
Tharos is offline   Reply With Quote
Old 01-14-2023, 04:37 PM   #7943
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tharos View Post
I have already cleared the cache. And loaded with F5 the first pages several times. Of course also the last pages I want to update. What have I set wrong?
You might need to force reload, not just reload.
Quote:
Most browsers allow you to 'force reload' a page by holding the shift or control key while clicking or pressing reload(aka refresh). Which exactly varies by browser--Google will be able to tell you. This will update the browser cache for that page.
Also, if that first page loaded through CloudFlare, it may have been a POST or have had additional parameters that aren't cached the same. Load the page by clicking in the URL box and hitting Enter (instead of just hitting reload), or click to chapter 2 and then click the story 'Prev' button (not the browser back button) to load it explicitly.
JimmXinu is offline   Reply With Quote
Old 01-15-2023, 05:02 AM   #7944
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
I have disabled all extensions/scripts in Firefox 109.0. And loaded the page with your guideline multiple times. FFF is the latest test version. This leads to the following error message:
Quote:
Browser Cache Failed to Load with error 'time data 'Sun, 15 Jan 2023 09:50:01 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT'
Tharos is offline   Reply With Quote
Old 01-15-2023, 10:25 AM   #7945
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Weird. That datetime string does match the pattern...

What version of Calibre are you using?

In fact, if you run Calibre in debug mode (under Preferences dropdown) while you try and post the debug log that may give more clues.
JimmXinu is offline   Reply With Quote
Old 01-15-2023, 12:04 PM   #7946
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
I use the current version 6.11 of Calibre. And the current test version of FFF. Firefox is version 109.

Code:
ApplicationPaletteChange event ignored
Using calibre Qt style: True
EpubMerge: DEBUG: 2023-01-15 17:51:36,475: calibre_plugins.epubmerge.epubmerge_plugin(154): macmenuhack file_path:C:\Users\*****\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
FFF: DEBUG: 2023-01-15 17:51:36,516: calibre_plugins.fanficfare_plugin.fff_plugin(215): Plugin FanFicFare macmenuhack file_path:C:\Users\*****\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
calibre Fehlerdiagnoseprotokoll
calibre 6.11  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: de
Successfully initialized third party plugins: Count Pages (1, 12, 0) && Embed Comic Metadata (1, 6, 4) && EpubMerge (2, 15, 0) && EpubSplit (3, 5, 0) && FanFicFare (4, 19, 10) && Find Duplicates (1, 10, 7) && Generate Cover (2, 3, 2) && Import List (1, 9, 0) && Set KFX metadata (from KFX Output) (1, 65, 0) && KFX Output (1, 65, 0) && Search The Internet (1, 10, 0)
calibre 6.11  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: de
Successfully initialized third party plugins: Count Pages (1, 12, 0) && Embed Comic Metadata (1, 6, 4) && EpubMerge (2, 15, 0) && EpubSplit (3, 5, 0) && FanFicFare (4, 19, 10) && Find Duplicates (1, 10, 7) && Generate Cover (2, 3, 2) && Import List (1, 9, 0) && Set KFX metadata (from KFX Output) (1, 65, 0) && KFX Output (1, 65, 0) && Search The Internet (1, 10, 0)
QPA platform: windows
devicePixelRatio: 1.5
logicalDpi: 96.0 x 96.0
physicalDpi: 104.70853462157808 x 107.26099706744867
[0.00] Starting up...
[0.02] Showing splash screen...
[0.16] splash screen shown
[0.16] Initializing db...
[0.34] db initialized
[0.34] Constructing main UI...
Screens currently in system:
{'depth': 32,
 'device_pixel_ratio': 1.5,
 'geometry_in_logical_pixels': {'height': 1440, 'width': 2560, 'x': 0, 'y': 0},
 'index_in_screens_list': 0,
 'manufacturer': '',
 'model': '',
 'name': '\\\\.\\DISPLAY1',
 'serial': '',
 'size_in_logical_pixels': {'height': 1440, 'width': 2560},
 'virtual_geometry': {'height': 1440, 'width': 6400, 'x': -3840, 'y': 0}}
{'depth': 32,
 'device_pixel_ratio': 1.5,
 'geometry_in_logical_pixels': {'height': 1440,
                                'width': 2560,
                                'x': -3840,
                                'y': 0},
 'index_in_screens_list': 1,
 'manufacturer': '',
 'model': '',
 'name': '\\\\.\\DISPLAY2',
 'serial': '',
 'size_in_logical_pixels': {'height': 1440, 'width': 2560},
 'virtual_geometry': {'height': 1440, 'width': 6400, 'x': -3840, 'y': 0}}
Restoring geometry for: calibre_main_window_geometry
{'frame_geometry': {'height': 619, 'width': 2529, 'x': 1, 'y': 789},
 'full_screened': False,
 'geometry': {'height': 589, 'width': 2529, 'x': 1, 'y': 819},
 'maximized': False,
 'normal_geometry': {'height': 589, 'width': 2529, 'x': 1, 'y': 819},
 'screen': {'depth': 32,
            'device_pixel_ratio': 1.5,
            'geometry_in_logical_pixels': {'height': 1440,
                                           'width': 2560,
                                           'x': 0,
                                           'y': 0},
            'index_in_screens_list': 0,
            'manufacturer': '',
            'model': '',
            'name': '\\\\.\\DISPLAY1',
            'serial': '',
            'size_in_logical_pixels': {'height': 1440, 'width': 2560},
            'virtual_geometry': {'height': 1440,
                                 'width': 6400,
                                 'x': -3840,
                                 'y': 0}}}
Matching screen: {'depth': 32,
 'device_pixel_ratio': 1.5,
 'geometry_in_logical_pixels': {'height': 1440, 'width': 2560, 'x': 0, 'y': 0},
 'index_in_screens_list': 0,
 'manufacturer': '',
 'model': '',
 'name': '\\\\.\\DISPLAY1',
 'serial': '',
 'size_in_logical_pixels': {'height': 1440, 'width': 2560},
 'virtual_geometry': {'height': 1440, 'width': 6400, 'x': -3840, 'y': 0}}
Setting widget geometry to: {'height': 589, 'width': 2529, 'x': 1, 'y': 819}
[3.14] main UI initialized...
[3.14] Hiding splash screen
FFF: DEBUG: 2023-01-15 17:52:40,349: calibre_plugins.fanficfare_plugin.fff_plugin(1125): FanFicFare v4.19.10
FFF: INFO: 2023-01-15 17:52:40,472: calibre_plugins.fanficfare_plugin.prefs(215): Using default settings
FFF: DEBUG: 2023-01-15 17:52:40,501: configurable.py(1050): use_browser_cache:true
FFF: DEBUG: 2023-01-15 17:52:40,501: configurable.py(1052): browser_cache_path:C:\Users\*****\AppData\Local\Mozilla\Firefox\Profiles\c2px594m.default\cache2
FFF: DEBUG: 2023-01-15 17:52:40,545: browsercache_firefox2.py(44): Using FirefoxCache2
FFF: DEBUG: 2023-01-15 17:52:40,545: configurable.py(1070): use_basic_cache:true
FFF: DEBUG: 2023-01-15 17:52:40,546: adapter_fanfictionnet.py(111): URL: https://www.fanfiction.net/s/1408033...e-Man-in-Black
FFF: DEBUG: 2023-01-15 17:52:40,546: cache_basic.py(116): 
========== MISS (GET) BasicCache
https://www.fanfiction.net/s/1408033...e-Man-in-Black
FFF: DEBUG: 2023-01-15 17:52:40,546: base_browsercache.py(76): Cache Key:O^partitionKey=%28https%2Cfanfiction.net%29,:https://www.fanfiction.net/s/1408033...e-Man-in-Black
FFF: DEBUG: 2023-01-15 17:52:40,546: browsercache_firefox2.py(85): O^partitionKey=%28https%2Cfanfiction.net%29,:https://www.fanfiction.net/s/1408033...e-Man-in-Black
FFF: DEBUG: 2023-01-15 17:52:40,546: browsercache_firefox2.py(89): C:\Users\*****\AppData\Local\Mozilla\Firefox\Profiles\c2px594m.default\cache2\entries\AE5BA942A002B55630FBC6CDDA77E6336CE8866D
FFF: DEBUG: 2023-01-15 17:52:40,547: cache_browser.py(74): Traceback (most recent call last):
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_browser.py", line 55, in fetcher_do_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\__init__.py", line 48, in get_data
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\base_browsercache.py", line 77, in get_data
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\browsercache_firefox2.py", line 109, in get_data_key_impl
  File "_strptime.py", line 568, in _strptime_datetime
  File "_strptime.py", line 349, in _strptime
ValueError: time data 'Sun, 15 Jan 2023 16:52:09 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT'

FFF: ERROR: 2023-01-15 17:52:40,547: calibre_plugins.fanficfare_plugin.dialogs(725): Exception: {'title': 'The Man in Black?', 'author_sort': 'Xavras', 'author': ['Xavras'], 'comments': '', 'good': False, 'status': 'Fehler', 'showerror': True, 'calibre_id': 3774, 'begin': None, 'end': None, 'comment': "Browser Cache Failed to Load with error 'time data 'Sun, 15 Jan 2023 16:52:09 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT''", 'url': 'https://www.fanfiction.net/s/14080336/1/The-Man-in-Black', 'site': 'www.fanfiction.net', 'series': '', 'added': False, 'pubdate': None, 'publisher': 'fanfiction.net', 'listorder': 0, 'collision': 'EPUB aktualisieren, wenn neue Kapitel vorhanden sind'}:Browser Cache Failed to Load with error 'time data 'Sun, 15 Jan 2023 16:52:09 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT''
Traceback (most recent call last):
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_browser.py", line 55, in fetcher_do_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\__init__.py", line 48, in get_data
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\base_browsercache.py", line 77, in get_data
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\browsercache_firefox2.py", line 109, in get_data_key_impl
  File "_strptime.py", line 568, in _strptime_datetime
  File "_strptime.py", line 349, in _strptime
ValueError: time data 'Sun, 15 Jan 2023 16:52:09 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.dialogs", line 712, in do_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1331, in prep_download_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1211, in get_story_metadata_only
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_adapter.py", line 320, in getStoryMetadataOnly
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\adapter_fanfictionnet.py", line 113, in doExtractChapterUrlsAndMetadata
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\requestable.py", line 119, in get_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\requestable.py", line 111, in get_request_redirected
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\base_fetcher.py", line 133, in get_request_redirected
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_basic.py", line 122, in fetcher_do_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\decorators.py", line 102, in fetcher_do_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_browser.py", line 75, in fetcher_do_request
fanficfare.exceptions.BrowserCacheException: Browser Cache Failed to Load with error 'time data 'Sun, 15 Jan 2023 16:52:09 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT''
FFF: DEBUG: 2023-01-15 17:52:40,565: configurable.py(1050): use_browser_cache:true
FFF: DEBUG: 2023-01-15 17:52:40,565: configurable.py(1052): browser_cache_path:C:\Users\*****\AppData\Local\Mozilla\Firefox\Profiles\c2px594m.default\cache2
FFF: DEBUG: 2023-01-15 17:52:40,598: browsercache_firefox2.py(44): Using FirefoxCache2
FFF: DEBUG: 2023-01-15 17:52:40,599: configurable.py(1070): use_basic_cache:true
FFF: DEBUG: 2023-01-15 17:52:40,599: adapter_fanfictionnet.py(111): URL: https://www.fanfiction.net/s/1408817...es-of-Hogwarts
FFF: DEBUG: 2023-01-15 17:52:40,599: cache_basic.py(116): 
========== MISS (GET) BasicCache
https://www.fanfiction.net/s/1408817...es-of-Hogwarts
FFF: DEBUG: 2023-01-15 17:52:40,599: base_browsercache.py(76): Cache Key:O^partitionKey=%28https%2Cfanfiction.net%29,:https://www.fanfiction.net/s/1408817...es-of-Hogwarts
FFF: DEBUG: 2023-01-15 17:52:40,599: browsercache_firefox2.py(85): O^partitionKey=%28https%2Cfanfiction.net%29,:https://www.fanfiction.net/s/1408817...es-of-Hogwarts
FFF: DEBUG: 2023-01-15 17:52:40,599: browsercache_firefox2.py(89): C:\Users\*****\AppData\Local\Mozilla\Firefox\Profiles\c2px594m.default\cache2\entries\21607553BBA2C8A34A8C3BDB263FD9CDFB00D8F9
FFF: DEBUG: 2023-01-15 17:52:40,600: cache_browser.py(74): Traceback (most recent call last):
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_browser.py", line 55, in fetcher_do_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\__init__.py", line 48, in get_data
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\base_browsercache.py", line 77, in get_data
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\browsercache_firefox2.py", line 109, in get_data_key_impl
  File "_strptime.py", line 568, in _strptime_datetime
  File "_strptime.py", line 349, in _strptime
ValueError: time data 'Sun, 15 Jan 2023 16:52:25 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT'

FFF: ERROR: 2023-01-15 17:52:40,600: calibre_plugins.fanficfare_plugin.dialogs(725): Exception: {'title': 'The Two Princes of Hogwarts', 'author_sort': 'Mister Cynical', 'author': ['Mister Cynical'], 'comments': '', 'good': False, 'status': 'Fehler', 'showerror': True, 'calibre_id': 3747, 'begin': None, 'end': None, 'comment': "Browser Cache Failed to Load with error 'time data 'Sun, 15 Jan 2023 16:52:25 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT''", 'url': 'https://www.fanfiction.net/s/14088170/1/The-Two-Princes-of-Hogwarts', 'site': 'www.fanfiction.net', 'series': '', 'added': False, 'pubdate': None, 'publisher': 'fanfiction.net', 'listorder': 1, 'collision': 'EPUB aktualisieren, wenn neue Kapitel vorhanden sind'}:Browser Cache Failed to Load with error 'time data 'Sun, 15 Jan 2023 16:52:25 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT''
Traceback (most recent call last):
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_browser.py", line 55, in fetcher_do_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\__init__.py", line 48, in get_data
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\base_browsercache.py", line 77, in get_data
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\browsercache\browsercache_firefox2.py", line 109, in get_data_key_impl
  File "_strptime.py", line 568, in _strptime_datetime
  File "_strptime.py", line 349, in _strptime
ValueError: time data 'Sun, 15 Jan 2023 16:52:25 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.dialogs", line 712, in do_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1331, in prep_download_loop
  File "calibre_plugins.fanficfare_plugin.fff_plugin", line 1211, in get_story_metadata_only
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\base_adapter.py", line 320, in getStoryMetadataOnly
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\adapters\adapter_fanfictionnet.py", line 113, in doExtractChapterUrlsAndMetadata
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\requestable.py", line 119, in get_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\requestable.py", line 111, in get_request_redirected
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\base_fetcher.py", line 133, in get_request_redirected
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_basic.py", line 122, in fetcher_do_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\decorators.py", line 102, in fetcher_do_request
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_browser.py", line 75, in fetcher_do_request
fanficfare.exceptions.BrowserCacheException: Browser Cache Failed to Load with error 'time data 'Sun, 15 Jan 2023 16:52:25 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT''
I tried the update with 2 stories to rule out that it's just this one story.
Tharos is offline   Reply With Quote
Old 01-15-2023, 02:20 PM   #7947
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-01-15
- Move makeDate to dateutils to call from browsercache_firefox2

Quote:
Originally Posted by Tharos View Post
I use the current version 6.11 of Calibre. And the current test version of FFF. Firefox is version 109.

Code:
...
Interface language: de
...
  File "C:\Users\*****\AppData\Roaming\calibre\plugins\FanFicFare.zip\fanficfare\fetchers\cache_browser.py", line 75, in fetcher_do_request
fanficfare.exceptions.BrowserCacheException: Browser Cache Failed to Load with error 'time data 'Sun, 15 Jan 2023 16:52:25 GMT' does not match format '%a, %d %b %Y %H:%M:%S GMT''
I tried the update with 2 stories to rule out that it's just this one story.
Okay, now I know what's going on. You're running in German, which means %b will match localized month name abbreviations instead of English month names.

This is something we've seen before when parsing dates for sites, so we already had a solution for it, I just hadn't realized we needed to.
JimmXinu is offline   Reply With Quote
Old 01-15-2023, 03:12 PM   #7948
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
It still doesn't seem to be working. I have changed the language from German to English as a test. Still the same error message.
Quote:
Browser Cache Failed to Load with error 'time data 'Sun, 15 01 2023 20:06:39 GMT' does not match format '%a, %d %m %Y %H:%M:%S GMT''
Tharos is offline   Reply With Quote
Old 01-15-2023, 03:50 PM   #7949
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-01-15
- Skip day of week for localization in browsercache_firefox2
- Move makeDate to dateutils to call from browsercache_firefox2

Changing Calibre language isn't enough to change localization--which is also why I couldn't test it very well. But we don't need the day of week, so hopefully this version will do it.
JimmXinu is offline   Reply With Quote
Old 01-15-2023, 04:18 PM   #7950
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
And it works. Thanks for the work and adjustments.
Tharos 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 05:36 PM.


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