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 11-19-2021, 11:43 AM   #6706
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2021-11-19
- Set default slow_down_sleep_time:2 for [www.asianfanfics.com]
- Deviantart date fix (closes #768), also storyId and extratags changes, thanks jcotton42
- New site: www.patreon.com ONLY accessible using Browser Cache, thanks jcotton42
JimmXinu is offline   Reply With Quote
Old 11-19-2021, 04:26 PM   #6707
bpothier
Member
bpothier began at the beginning.
 
Posts: 20
Karma: 10
Join Date: May 2020
Device: Kobo
Yeah, it was always "slower" but never realized *HOW* slow... For comparison, after using ENV VAR to point global Library DB to local drive, doing FFF metadata update from stored metadata column on 5000 books took ~50 mins? vs prev 2000 books in 20hours... Guessing Calibre might do something with file locking workaround, like try to file lock, if you can't, sleep XX seconds and verify nothing changed then go ahead and do something... This could explain Calibre just "hanging" with no network, disk or CPU usage when DB is on NAS. It was "tolerable" when updating handfuls of books, but adding a new Column that must be populated from stored metadata did a *lot* of DB access, so the problem was no longer "tolerable"...
I have not tried changing Libraries yet, but I did load up Calibre without the ENV var and it loaded with an empty DB (NAS copy is renamed as a backup) but closing, removing empty DB file and setting ENV had things working again... just annoying... Would be nice if Calibre could do a pointer or something for DB setting, so you could have a minimal DB file wherever and store a setting for pointing to "real" DB somewhere else... again, not a FFF issue at all but something users might run across...
bpothier is offline   Reply With Quote
Advert
Old 11-19-2021, 05:11 PM   #6708
bpothier
Member
bpothier began at the beginning.
 
Posts: 20
Karma: 10
Join Date: May 2020
Device: Kobo
So, looked at a bunch of threads on file locking, sqlite, samba, etc... found a setting for Samba to disable oplocks on per file basis - e.g. for metadata.db - and found when doing FFF metadata from stored column on update on 20 existing books (on NAS share):
using local disk DB took ~20 secs
using NAS for DB with "veto oplock" took ~24 secs
using NAS for DB without "veto oplocks" took ~26 secs

So, only "major" change was purging the recycle bin on NAS for the metadata DB journal files (there were many 1000s-10,000s).
So, in the end, it wasn't actually having DB on NAS but having too many recycle bin files on the NAS for the DB journal files (1 for every DB update going back 18+ months I think...) - which would be created on local disk when DB was local... So, moved DB back on NAS, no complicated ENV swapping scripts, multi Library should be happy again!
bpothier is offline   Reply With Quote
Old 11-19-2021, 05:56 PM   #6709
icecold
Enthusiast
icecold began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Mar 2020
Device: Android,
Spoiler:
Code:
calibre, version 5.32.0 (linux, embedded-python: True)
Failed to Download Stories: Failed: Download 1 FanFiction Book(s)

Download 1 FanFiction Book(s)
FFF: INFO: 2021-11-19 17:47:55,225: calibre_plugins.fanficfare_plugin.jobs(49): CPUs:5
FFF: INFO: 2021-11-19 17:47:55,225: calibre_plugins.fanficfare_plugin.jobs(52): FanFicFare v4.7.0
FFF: INFO: 2021-11-19 17:47:55,225: calibre_plugins.fanficfare_plugin.jobs(68): Launch background process for site forums.spacebattles.com:
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/
FFF: INFO: 2021-11-19 17:49:22,153: calibre_plugins.fanficfare_plugin.jobs(130): 

================================================================================ site:(forums.spacebattles.com)
FFF: INFO: 2021-11-19 17:47:56,222: calibre_plugins.fanficfare_plugin.jobs(211): 

-------------------------------------------------------------------------------- https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/
FFF: DEBUG: 2021-11-19 17:47:56,248: configurable.py(1026): use_browser_cache:
FFF: DEBUG: 2021-11-19 17:47:56,249: configurable.py(1040): use_basic_cache:true
FFF: INFO: 2021-11-19 17:47:56,249: base_xenforoforum_adapter.py(451): url: https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/
FFF: DEBUG: 2021-11-19 17:47:56,249: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/
FFF: DEBUG: 2021-11-19 17:47:56,249: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/
FFF: DEBUG: 2021-11-19 17:47:57,085: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:47:57,087: fetcher.py(156): random sleep(3.00-9.00):4.11
FFF: DEBUG: 2021-11-19 17:48:01,215: requestable.py(50): Encoding:utf8
FFF: INFO: 2021-11-19 17:48:01,217: base_xenforoforum_adapter.py(455): use useurl: https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/
FFF: DEBUG: 2021-11-19 17:48:01,967: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks
FFF: DEBUG: 2021-11-19 17:48:01,967: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks
FFF: DEBUG: 2021-11-19 17:48:02,284: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:48:02,286: fetcher.py(156): random sleep(3.00-9.00):3.14
FFF: DEBUG: 2021-11-19 17:48:05,438: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 17:48:05,681: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks?threadmark_category=16
FFF: DEBUG: 2021-11-19 17:48:05,681: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks?threadmark_category=16
FFF: DEBUG: 2021-11-19 17:48:05,987: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:48:05,988: fetcher.py(156): random sleep(3.00-9.00):8.88
FFF: DEBUG: 2021-11-19 17:48:14,914: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 17:48:15,031: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks?threadmark_category=13
FFF: DEBUG: 2021-11-19 17:48:15,031: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks?threadmark_category=13
FFF: DEBUG: 2021-11-19 17:48:15,354: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:48:15,355: fetcher.py(156): random sleep(3.00-9.00):6.48
FFF: DEBUG: 2021-11-19 17:48:21,865: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 17:48:22,086: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks?threadmark_category=10
FFF: DEBUG: 2021-11-19 17:48:22,086: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks?threadmark_category=10
FFF: DEBUG: 2021-11-19 17:48:22,396: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:48:22,398: fetcher.py(156): random sleep(3.00-9.00):5.85
FFF: DEBUG: 2021-11-19 17:48:28,281: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 17:48:28,442: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks?threadmark_category=19
FFF: DEBUG: 2021-11-19 17:48:28,442: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/threadmarks?threadmark_category=19
FFF: DEBUG: 2021-11-19 17:48:28,743: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:48:28,745: fetcher.py(156): random sleep(3.00-9.00):8.46
FFF: DEBUG: 2021-11-19 17:48:37,242: requestable.py(50): Encoding:utf8
FFF: INFO: 2021-11-19 17:48:38,885: calibre_plugins.fanficfare_plugin.jobs(370): Do update - epub(46) vs url(65)
FFF: INFO: 2021-11-19 17:48:38,885: calibre_plugins.fanficfare_plugin.jobs(371): write to /tmp/calibre_5.32.0_tmp_76zjjlo8/fanficfare_4o48j36q/bgmeta-iqgudom7.epub
FFF: INFO: 2021-11-19 17:48:38,886: base_writer.py(183): Save directly to file: /tmp/calibre_5.32.0_tmp_76zjjlo8/fanficfare_4o48j36q/bgmeta-iqgudom7.epub
FFF: DEBUG: 2021-11-19 17:48:41,851: base_xenforoforum_adapter.py(696): Getting chapter text for: https://forums.spacebattles.com/posts/77370138/ index: 26
FFF: DEBUG: 2021-11-19 17:48:41,851: base_xenforoforum_adapter.py(707): Using reader mode
FFF: DEBUG: 2021-11-19 17:48:41,853: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/reader/page-3?threadmark_category=1
FFF: DEBUG: 2021-11-19 17:48:41,853: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/reader/page-3?threadmark_category=1
FFF: DEBUG: 2021-11-19 17:48:42,326: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:48:42,328: fetcher.py(156): random sleep(3.00-9.00):4.42
FFF: DEBUG: 2021-11-19 17:48:46,772: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 17:48:47,612: base_xenforoforum_adapter.py(696): Getting chapter text for: https://forums.spacebattles.com/posts/80229316/ index: 27
FFF: DEBUG: 2021-11-19 17:48:47,612: base_xenforoforum_adapter.py(707): Using reader mode
FFF: DEBUG: 2021-11-19 17:48:47,613: base_xenforoforum_adapter.py(727): post found in cache
FFF: DEBUG: 2021-11-19 17:48:47,812: base_xenforoforum_adapter.py(696): Getting chapter text for: https://forums.spacebattles.com/posts/78904919/ index: 29
FFF: DEBUG: 2021-11-19 17:48:47,812: base_xenforoforum_adapter.py(707): Using reader mode
FFF: DEBUG: 2021-11-19 17:48:47,812: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/reader/page-1?threadmark_category=16
FFF: DEBUG: 2021-11-19 17:48:47,813: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/reader/page-1?threadmark_category=16
FFF: DEBUG: 2021-11-19 17:48:48,486: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:48:48,487: fetcher.py(156): random sleep(3.00-9.00):8.10
FFF: DEBUG: 2021-11-19 17:48:56,628: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 17:48:57,203: base_xenforoforum_adapter.py(696): Getting chapter text for: https://forums.spacebattles.com/posts/78919580/ index: 30
FFF: DEBUG: 2021-11-19 17:48:57,203: base_xenforoforum_adapter.py(707): Using reader mode
FFF: DEBUG: 2021-11-19 17:48:57,204: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/reader/page-1?threadmark_category=13
FFF: DEBUG: 2021-11-19 17:48:57,204: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/reader/page-1?threadmark_category=13
FFF: DEBUG: 2021-11-19 17:48:57,898: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:48:57,901: fetcher.py(156): random sleep(3.00-9.00):7.06
FFF: DEBUG: 2021-11-19 17:49:04,998: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 17:49:06,335: base_xenforoforum_adapter.py(696): Getting chapter text for: https://forums.spacebattles.com/posts/77439370/ index: 41
FFF: DEBUG: 2021-11-19 17:49:06,335: base_xenforoforum_adapter.py(707): Using reader mode
FFF: DEBUG: 2021-11-19 17:49:06,335: fetcher.py(234): 
========== MISS (GET) BasicCache
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/reader/page-2?threadmark_category=13
FFF: DEBUG: 2021-11-19 17:49:06,335: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://forums.spacebattles.com/threads/argus-magus-fate-rwby-si-as-rin-tohsaka.905475/reader/page-2?threadmark_category=13
FFF: DEBUG: 2021-11-19 17:49:07,024: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:49:07,025: fetcher.py(156): random sleep(3.00-9.00):7.30
FFF: DEBUG: 2021-11-19 17:49:14,340: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 17:49:15,009: base_xenforoforum_adapter.py(696): Getting chapter text for: https://forums.spacebattles.com/posts/77442631/ index: 42
FFF: DEBUG: 2021-11-19 17:49:15,010: base_xenforoforum_adapter.py(707): Using reader mode
FFF: DEBUG: 2021-11-19 17:49:15,010: base_xenforoforum_adapter.py(727): post found in cache
FFF: DEBUG: 2021-11-19 17:49:15,013: fetcher.py(234): 
========== MISS (GET) BasicCache
https://www.mathsisfun.com/algebra/images/complex-plane.svg
FFF: DEBUG: 2021-11-19 17:49:15,014: fetcher.py(462): 
---------- REQ (GET) RequestsFetcher
https://www.mathsisfun.com/algebra/images/complex-plane.svg
FFF: DEBUG: 2021-11-19 17:49:15,591: fetcher.py(469): response code:200
FFF: DEBUG: 2021-11-19 17:49:15,593: fetcher.py(156): random sleep(3.00-9.00):5.71
QGuiApplication::font(): no QGuiApplication instance and no application font set.

Traceback (most recent call last):
  File "runpy.py", line 194, in _run_module_as_main
  File "runpy.py", line 87, in _run_code
  File "site.py", line 45, in <module>
  File "site.py", line 41, in main
  File "calibre/utils/ipc/worker.py", line 216, in main
  File "calibre/utils/ipc/worker.py", line 151, in arbitrary_n
  File "calibre_plugins.fanficfare_plugin.jobs", line 134, in do_download_worker
TypeError: 'NoneType' object is not iterable


This isn't my first time having this issue. I'm using the latest version of Calibre that I downloaded via the binary install here https://calibre-ebook.com/download_linux. Though when I first downloaded Calibre it was through a repo
icecold is offline   Reply With Quote
Old 11-19-2021, 07:20 PM   #6710
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by icecold View Post
...
This isn't my first time having this issue. I'm using the latest version of Calibre that I downloaded via the binary install here https://calibre-ebook.com/download_linux. Though when I first downloaded Calibre it was through a repo
I didn't initially see any problem downloading this using the default settings on either Windows10 or Linux(Ubuntu 20.04.3 LTS).

The error message suggests might be an image processing issue for https://www.mathsisfun.com/algebra/i...plex-plane.svg -- which is weird because FFF is supposed to not attempt processing SVGs on Calibre.

I was about to suggest you try again with include_images:false or no_image_processing:true when I decided to try them myself just in case.

And then I saw the same error with no_image_processing:true (include_images:false worked fine).

What's happening is FFF is still trying to determine an image size for cover_min_size, even if no_image_processing:true.

And SVG images crash Calibre's image processing hard. The BG job fails outright rather than raising an exception that can be caught.

I can fix this, but I need to spend more time than I have right now to consider the best approach.
JimmXinu is offline   Reply With Quote
Advert
Old 11-19-2021, 09:23 PM   #6711
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2021-11-19 2nd
- Fix for cover_min_size causing failures with SVG images when no_image_processing:true.
JimmXinu is offline   Reply With Quote
Old 11-19-2021, 11:40 PM   #6712
DisturbedDragon
Member
DisturbedDragon began at the beginning.
 
Posts: 22
Karma: 10
Join Date: May 2016
Device: Kindle paperwhite
So I've got an odd bug. I was updating some stories from QQ, and got the message "the file is not a zip file" for several entries. Here's the log:
Quote:
-------------------------------------------------------------------------------- https://forum.questionablequesting.c...nspired.15221/
FFF: DEBUG: 2021-11-19 20:31:04,369: configurable.py(1026): use_browser_cache:
FFF: DEBUG: 2021-11-19 20:31:04,369: configurable.py(1040): use_basic_cache:true
FFF: INFO: 2021-11-19 20:31:04,371: base_xenforoforum_adapter.py(451): url: https://forum.questionablequesting.c...nspired.15221/
FFF: DEBUG: 2021-11-19 20:31:04,371: fetcher.py(234):
========== HIT (GET) BasicCache
https://forum.questionablequesting.c...nspired.15221/
FFF: DEBUG: 2021-11-19 20:31:04,372: requestable.py(50): Encoding:utf8
FFF: INFO: 2021-11-19 20:31:04,373: base_xenforoforum_adapter.py(455): use useurl: https://forum.questionablequesting.c...nspired.15221/
FFF: DEBUG: 2021-11-19 20:31:06,736: fetcher.py(234):
========== HIT (GET) BasicCache
https://forum.questionablequesting.c...?category_id=1
FFF: DEBUG: 2021-11-19 20:31:06,736: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 20:31:07,217: fetcher.py(234):
========== HIT (GET) BasicCache
https://forum.questionablequesting.c...?category_id=4
FFF: DEBUG: 2021-11-19 20:31:07,217: requestable.py(50): Encoding:utf8
FFF: DEBUG: 2021-11-19 20:31:07,452: fetcher.py(234):
========== HIT (GET) BasicCache
https://forum.questionablequesting.c...?category_id=3
FFF: DEBUG: 2021-11-19 20:31:07,453: requestable.py(50): Encoding:utf8
FFF: INFO: 2021-11-19 20:31:09,659: calibre_plugins.fanficfare_plugin.jobs(439): Exception: {'title': 'High School DxD Magitech', 'author_sort': ['Ashoka'], 'author': ['Ashoka'], 'comments': '<div class="messageText SelectQuoteContainer ugc baseHtml"> <i>I\'m running this off of the same bastardized version of the CK3 system as my <a class="internalLink" href="https://forum.questionablequesting.com/threads/14712/">other quest</a>. Six skills, each representing close to what they are in the game. Though I\'m cutting down the size of the numbers a bit here, you are only human in canon DxD after all.<br/> <br/>\n<b>Martial</b> is the strategy </i></div>', 'good': False, 'status': 'Error', 'showerror': True, 'calibre_id': 8991, 'begin': None, 'end': None, 'comment': 'File is not a zip file', 'url': 'https://forum.questionablequesting.com/threads/high-school-dxd-magitech-tinker-of-fiction-inspired.15221/', 'site': 'forum.questionablequesting.com', 'series': '', 'added': False, 'pubdate': datetime.datetime(2021, 6, 21, 12, 14, tzinfo=SafeLocalTimeZone()), 'publisher': 'forum.questionablequesting.com', 'uniqueurl': 'https://forum.questionablequesting.com/threads/high-school-dxd-magitech-tinker-of-fiction-inspired.15221/[None-None]', 'listorder': 0, 'collision': 'Overwrite if Newer', 'is_adult': False, 'username': 'NoneGiven', 'password': '', 'icon': 'dialog_error.png', 'all_metadata': {'category': 'NSFW, Tinker of Fiction inspired', 'genre': 'Active Discussion Makes The Gm Happy, Canon Omakes Are Important, High School Dxd, Lewds Can Happen, Omakes Are Rewarded, Second Quest- Please Point Out Mistakes To Me', 'characters': '', 'ships': '', 'warnings': '', 'extratags': 'FanFiction', 'author': 'Ashoka', 'authorId': 'ashoka.62549', 'authorUrl': 'https://forum.questionablequesting.com/members/ashoka.62549/', 'lastupdate': 'Last Update Year/Month: 2021/11, Last Update: 2021/11/18', 'series': '', 'seriesUrl': '', 'language': '', 'status': '', 'datePublished': '2021-06-21 12:14', 'dateUpdated': '2021-11-18 20:36', 'dateCreated': '2021-11-19 20:30:50', 'rating': '', 'numChapters': '391', 'numWords': '683,720', 'words_added': '', 'site': 'forum.questionablequesting.com', 'publisher': 'forum.questionablequesting.com', 'storyId': '15221', 'title': 'High School DxD Magitech', 'titleHTML': "<a class='titlelink' href='https://forum.questionablequesting.com/threads/high-school-dxd-magitech-tinker-of-fiction-inspired.15221/'>High School DxD Magitech</a>", 'storyUrl': 'https://forum.questionablequesting.com/threads/high-school-dxd-magitech-tinker-of-fiction-inspired.15221/', 'sectionUrl': 'https://forum.questionablequesting.com/threads/15221/', 'description': '<div class="messageText SelectQuoteContainer ugc baseHtml"> <i>I\'m running this off of the same bastardized version of the CK3 system as my <a class="internalLink" href="https://forum.questionablequesting.com/threads/14712/">other quest</a>. Six skills, each representing close to what they are in the game. Though I\'m cutting down the size of the numbers a bit here, you are only human in canon DxD after all.<br/> <br/>\n<b>Martial</b> is the strategy </i></div>', 'formatname': '', 'formatext': '', 'siteabbrev': 'qq', 'version': 'FanFicFare v4.7.0', 'authorHTML': "<a class='authorlink' href='https://forum.questionablequesting.com/members/ashoka.62549/'>Ashoka</a>", 'seriesHTML': '', 'langcode': '', 'output_css': '', 'cover_image': '', 'tagsfromtitledetect': '[NSFW]High School DxD Magitech (Tinker of Fiction inspired)', 'tagsfromtitle': 'NSFW, Tinker of Fiction inspired', 'forumtags': 'Active Discussion Makes The Gm Happy, Canon Omakes Are Important, High School Dxd, Lewds Can Happen, Omakes Are Rewarded, Second Quest- Please Point Out Mistakes To Me', 'parentforums': 'NSFW'}, 'tags': ['NSFW', 'Lewds Can Happen', 'Canon Omakes Are Important', 'Second Quest- Please Point Out Mistakes To Me', 'Omakes Are Rewarded', 'FanFiction', 'Tinker of Fiction inspired', 'Active Discussion Makes The Gm Happy', 'High School Dxd'], 'updatedate': datetime.datetime(2021, 11, 18, 20, 36, tzinfo=SafeLocalTimeZone()), 'timestamp': datetime.datetime(2021, 11, 19, 20, 31, 4, 350826, tzinfo=SafeLocalTimeZone()), 'fileupdated': datetime.datetime(2021, 11, 1, 5, 3, 2), 'epub_for_update': 'C:\\Users\\THEDIS~1\\AppData\\Local\\Temp\\calibr e_u4koohiq\\fanficfare_qw2m5ant\\old-8991-57czcin4.epub', 'calibre_columns': {}, 'outfile': 'C:\\Users\\THEDIS~1\\AppData\\Local\\Temp\\calibr e_u4koohiq\\fanficfare_qw2m5ant\\High School DxD Magitech-Ashoka-pi5ch1d9.epub'}:File is not a zip file
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.jobs", line 294, in do_download_for_worker
File "C:\Users\TheDisturbedDragon\AppData\Roaming\calib re\plugins\FanFicFare.zip\fanficfare\epubutils.py" , line 38, in get_update_data
File "zipfile.py", line 1269, in __init__
File "zipfile.py", line 1336, in _RealGetContents
zipfile.BadZipFile: File is not a zip file
I have no idea what could cause this, but additionally when I deleted the file and downloaded it again, it worked. I could still read the file even when it gave the error, it just wouldn't update.
DisturbedDragon is offline   Reply With Quote
Old 11-20-2021, 10:49 AM   #6713
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by DisturbedDragon View Post
So I've got an odd bug. I was updating some stories from QQ, and got the message "the file is not a zip file" for several entries. Here's the log:

I have no idea what could cause this, but additionally when I deleted the file and downloaded it again, it worked. I could still read the file even when it gave the error, it just wouldn't update.
I would speculate something changed the zip file in a way that Calibre handles gracefully, but vanilla Python zipfile doesn't.

I know that can happen between different programs, because I've seen it before with an android app.

Have you used other tools to do anything to your ebooks?

EDIT: If you can upload somewhere and PM me a link to one of the failing epubs, I might be able to figure out more.
JimmXinu is offline   Reply With Quote
Old 11-20-2021, 03:40 PM   #6714
junni
Member
junni began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2021
Device: kobo libra 2
Hi JimmXinu

Is there a way to retrieve the rating (user vote's) of a novel and populate in a custom column? example: https://readnovelfull.com/12-prince-v1.html , rating of 8.8/10
junni is offline   Reply With Quote
Old 11-20-2021, 03:54 PM   #6715
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by junni View Post
Hi JimmXinu

Is there a way to retrieve the rating (user vote's) of a novel and populate in a custom column? example: https://readnovelfull.com/12-prince-v1.html , rating of 8.8/10
Depends on the site and adapter, but I usually will add site specific metadata when asked--for supported sites, which readnovelfull.com isn't.

Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted
...
- Contributed readnovelfull.com code is not included. While I would like to encourage code contributions, I don't want to add a new site that requires a proxy right from the start.
JimmXinu is offline   Reply With Quote
Old 11-20-2021, 04:11 PM   #6716
junni
Member
junni began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2021
Device: kobo libra 2
Then, can you please add for https://novelfull.com/ since it's supported? It's basically the same
junni is offline   Reply With Quote
Old 11-20-2021, 04:30 PM   #6717
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2021-11-20
- Add averrating metadata to adapter_novelfull.
- Disable patreon downloads, decided I didn't want to add new site behind pay wall *and* only works with browser cache. Developer discussion here.

Quote:
Originally Posted by junni View Post
Then, can you please add for https://novelfull.com/ since it's supported? It's basically the same
Added as averrating (rating already used for G/PG/etc). Use custom_columns_settings in personal.ini to assign to a column.

(Are you sure it's actually useful? I looked at like a dozen stories and every single one had a rating of 8.X. Looks a bit sus...)
JimmXinu is offline   Reply With Quote
Old 11-20-2021, 04:57 PM   #6718
junni
Member
junni began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2021
Device: kobo libra 2
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2021-11-20
- Add averrating metadata to adapter_novelfull.
- Disable patreon downloads, decided I didn't want to add new site behind pay wall *and* only works with browser cache. Developer discussion here.



Added as averrating (rating already used for G/PG/etc). Use custom_columns_settings in personal.ini to assign to a column
Worked like a charm! Thanks!
I actually tested on some novels with low number of votes, and it actually updates the rating.

Last edited by junni; 11-20-2021 at 05:01 PM.
junni is offline   Reply With Quote
Old 11-27-2021, 08:15 PM   #6719
crich70
Grand Sorcerer
crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.crich70 ought to be getting tired of karma fortunes by now.
 
crich70's Avatar
 
Posts: 11,310
Karma: 43993832
Join Date: Feb 2010
Location: Monroe Wisconsin
Device: K3, Kindle Paperwhite, Calibre, and Mobipocket for Pc (netbook)
Not sure what I'm doing wrong. As far as I know I have the most up to date copy of Calibre and the plug in but when I try to use it I get this:
Quote:
calibre, version 5.32.0
ERROR: Unhandled exception: <b>FailedToDownload</b>:cloudscraper reports: (Detected a Cloudflare version 2 Captcha challenge, This feature is not available....)
See https://github.com/JimmXinu/FanFicFa...erCacheFeature for a possible workaround.

calibre 5.32 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: EpubMerge (2, 11, 0) && FanFicFare (4, 7, 0) && Find Duplicates (1, 8, 10) && Generate Cover (2, 0, 2) && Kindle hi-res covers (0, 5, 0) && Prettify Cover (1, 5, 0) && Resize Cover (1, 1, 0)
Traceback (most recent call last):
cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
fanficfare.exceptions.FailedToDownload: cloudscraper reports: (Detected a Cloudflare version 2 Captcha challenge, This feature is not available....)
See https://github.com/JimmXinu/FanFicFa...erCacheFeature for a possible workaround.
I have Windows 10.
crich70 is offline   Reply With Quote
Old 11-27-2021, 09:00 PM   #6720
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,036
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Did you read the error message?
ownedbycats 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 12:08 PM.


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