![]() |
#5971 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Putting (?i) at the start of the regexp makes the entire expression case insensitive. The Python docs on it are very limited.
The example I tested was: Code:
add_to_replace_metadata: title=>(?i)TEST=>teeest! |
![]() |
![]() |
![]() |
#5972 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
To bring it back full circle, why you and not everybody; applying that level of blocking to everybody slows everything down and burns more CPU cycles and electricity. So it's also common that different levels of detection and blocking are applied to different lists of IPs. |
|
![]() |
![]() |
Advert | |
|
![]() |
#5973 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Apr 2021
Device: Kindle
|
On the Calibre provided by Fedora 33 (that's Calibre 4.23 running on Python 3.9.5), you need remove the included_dependencies/bs4 folder before running makeplugin.py.
I supposed removing the bs4 folder from the zip would also works. If you don't do that, Calibre' python3 will try to load the FanFicFare' embedded version of Beautiful Soup that is not compatible with Python3. The error message will be the following: Code:
calibre, version 4.23.0 (linux, embedded-python: False) Failed to Download Stories: Échoué: Download 1 FanFiction Book(s) Download 1 FanFiction Book(s) FFF: INFO: 2021-06-05 02:01:49,507: calibre_plugins.fanficfare_plugin.jobs(49): CPUs:3 FFF: INFO: 2021-06-05 02:01:49,507: calibre_plugins.fanficfare_plugin.jobs(52): FanFicFare v4.3.2 FFF: INFO: 2021-06-05 02:01:49,507: calibre_plugins.fanficfare_plugin.jobs(68): Launch background process for site archiveofourown.org: https://archiveofourown.org/works/29157849 FFF: INFO: 2021-06-05 02:01:50,439: calibre_plugins.fanficfare_plugin.jobs(130): ================================================================================ site:(archiveofourown.org) Traceback (most recent call last): File "/usr/bin/calibre-parallel", line 20, in <module> sys.exit(main()) File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 208, in main result = func(*args, **kwargs) File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 145, in arbitrary_n return func(*args, **kwargs) File "calibre_plugins.fanficfare_plugin.jobs", line 186, in do_download_site File "calibre_plugins.fanficfare_plugin.jobs", line 199, in do_download_for_worker File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "/usr/lib64/calibre/calibre/customize/zipplugin.py", line 184, in load_module exec(compiled, mod.__dict__) File "calibre_plugins.fanficfare_plugin.dialogs", line 69, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible File "<frozen zipimport>", line 259, in load_module File "/home/nico/.config/calibre/plugins/FanFicFare.zip/fanficfare/geturls.py", line 33, in <module> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 982, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 925, in _find_spec File "<frozen importlib._bootstrap_external>", line 1414, in find_spec File "<frozen importlib._bootstrap_external>", line 1388, in _get_spec File "<frozen importlib._bootstrap_external>", line 1369, in _legacy_get_spec File "<frozen importlib._bootstrap>", line 423, in spec_from_loader File "<frozen importlib._bootstrap_external>", line 716, in spec_from_file_location File "<frozen zipimport>", line 191, in get_filename File "<frozen zipimport>", line 713, in _get_module_code File "<frozen zipimport>", line 647, in _compile_source File "/home/nico/.config/calibre/plugins/FanFicFare.zip/bs4/__init__.py", line 52 'You are trying to run the Python 2 version of Beautiful Soup under Python 3. This will not work.'<>'You need to convert the code, either by installing it (`python setup.py install`) or by running 2to3 (`2to3 -w bs4`).' ^ SyntaxError: invalid syntax Traceback (most recent call last): File "/usr/bin/calibre-parallel", line 20, in <module> sys.exit(main()) File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 208, in main result = func(*args, **kwargs) File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 145, in arbitrary_n return func(*args, **kwargs) File "calibre_plugins.fanficfare_plugin.jobs", line 134, in do_download_worker TypeError: 'NoneType' object is not iterable |
![]() |
![]() |
![]() |
#5974 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Calibre before v5 is itself officially not Python3 compatible, so if they (or you) are some how running Calibre 4.23 on Python 3.9, that's already unsupported to the best of my knowledge. And yes, I do care more about keeping FFF running on Calibre 2 more than on everybody's Linux distro versions--it (reportedly) still has more users. From https://calibre-ebook.com/dynamic/calibre-usage Code:
Usage share by major version 5 62.0% 4 17.4% 3 14.0% 2 4.5% 1 1.1% 0 0.9% Operating systems calibre runs on win 82.6% osx 14.0% oth 3.4% |
|
![]() |
![]() |
![]() |
#5975 | ||
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Apr 2021
Device: Kindle
|
Quote:
Currently, Fedora have very little patch. Anyway, they are going to upgrade to Calibre v5 very-soon(r)(tm) Quote:
![]() |
||
![]() |
![]() |
Advert | |
|
![]() |
#5976 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
It's come up before, so I think there's a known solution if it isn't already incorporated in Calibre 5.
|
![]() |
![]() |
![]() |
#5977 |
Member
![]() Posts: 23
Karma: 10
Join Date: Apr 2013
Device: None
|
Unable to complete monthly FanFiction.Net library update
I am trying to update my FanFiction.Net library in Calibre using the FanFicFare plugin but I am being blocked updating via using URLS due to CloudFlare. I tried doing this via emails but are getting the following:
calibre, version 5.20.0 ERROR: Unhandled exception: <b>error</b>:command: UID => got more than 1000000 bytes calibre 5.20 [64bit] embedded-python: True is64bit: True Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.18362') Python 3.8.5 Windows: ('10', '10.0.18362', '', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: FanFicFare (4, 3, 0) && Wiki Reader (2, 2, 1) Traceback (most recent call last): imaplib.IMAP4.error: got more than 1000000 bytes During handling of the above exception, another exception occurred: Traceback (most recent call last): imaplib.IMAP4.error: command: UID => got more than 1000000 bytes Since I do this once a month, (first weekend of the month), please help. |
![]() |
![]() |
![]() |
#5978 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Apr 2021
Device: Kindle
|
imaplib is saying that an email in your mailbox have an Unique ID that is over 1 megabyte in size.
That very surprising since the spec say that it should be a 32 bit value. What is your email provider? |
![]() |
![]() |
![]() |
#5979 |
Member
![]() Posts: 23
Karma: 10
Join Date: Apr 2013
Device: None
|
iiNet here in Australia. I have checked the mailbox folders and there are no emails in any folders that size.
|
![]() |
![]() |
![]() |
#5980 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
(Or skip it and try again next month. They have increased and then decreased blocking before.) Quote:
If you run Calibre in debug mode and try it again, the log may give us more information. |
||
![]() |
![]() |
![]() |
#5981 |
Member
![]() Posts: 21
Karma: 10
Join Date: Feb 2015
Device: Kindle
|
I'm kind of confused on how to set up the browser cache option? any help in how to do that? or a step by step sort of tutorial i used the one provided but its not working
|
![]() |
![]() |
![]() |
#5982 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite, Kindle Keyboard
|
I'm not sure what happened. I was trying to update AO3 fics from my email, like normal and got this message and it won't do it.
calibre, version 5.20.0 ERROR: Unhandled exception: <b>gaierror</b>:[Errno 11001] getaddrinfo failed calibre 5.20 embedded-python: True is64bit: False Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', '', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Count Pages (1, 11, 0) && EpubMerge (2, 11, 0) && FanFicFare (4, 3, 2) && Find Duplicates (1, 8, 5) Traceback (most recent call last): File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 572, in get_urls_from_imap_menu File "C:\Users\lecka\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\geturls.py", line 187, in get_urls_from_imap File "imaplib.py", line 1297, in __init__ File "imaplib.py", line 198, in __init__ File "imaplib.py", line 1310, in open File "imaplib.py", line 303, in open File "imaplib.py", line 1300, in _create_socket File "imaplib.py", line 293, in _create_socket File "socket.py", line 787, in create_connection File "socket.py", line 918, in getaddrinfo socket.gaierror: [Errno 11001] getaddrinfo failed could someone direct me on how to fix this? TIA |
![]() |
![]() |
![]() |
#5983 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
If it worked before and you haven't changed anything, it might be a transient lookup failure/timeout and it might if you try again later. |
|
![]() |
![]() |
![]() |
#5984 | |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite, Kindle Keyboard
|
Quote:
|
|
![]() |
![]() |
![]() |
#5985 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2021
Device: calibre
|
Hi,
I am sorry to bother you, but i try to setup the browser-cache feature for my wife because of a cloudflare 2 error, but apparantly my times with linux are so way back, that i am too stupid to setup the browser-cache-path correctly. I have the following set in the personal.ini Spoiler:
I wasn't sure where exactly to put the path .... But i still get the error message, that /home/kathrin is no valid browser-cache-directory. Spoiler:
So i assume that the path isn't set correctly as it searches in /home/kathrin and not the mentioned cache path. I am very sorry if this problem is basic - usually i am pretty good with the error solving when calibre is acting up - but i am at a loss atm. I appreciate the work you put into this plugin, this helped my wife tremendously building a huge database of fanfiction she likes. Thanks for any advice that you can give. Stefan |
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
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 |