|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,415
Karma: 150249609
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
8.12 breaks from calibre.ebooks.oeb.parse_utils import RECOVER_PARSER
calibre 8.12 breaks
Code:
from calibre.ebooks.oeb.parse_utils import RECOVER_PARSER |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,558
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
RECOVER_PARSER is gone because of bugs in lxml in windows, https://bugs.launchpad.net/lxml/+bug/2125756. I dont know why any plugins would have been using it, the correct way to parse html is to use the parse_html function from calibre.oeb.parse_utils. But if plugins want to parse html or xml using lxml directly, the relevant functions are safe_xml_fromstring and safe_html_fromstring from the calibre.utils.xml_parse module. And if they really, really want to use RECOVER_PARSER then can simply define it themselves as
Code:
from lxml import etree RECOVER_PARSER = etree.XMLParser(recover=True, no_network=True, resolve_entities=False) Last edited by kovidgoyal; 10-01-2025 at 08:27 PM. |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2024
Device: Kindle Fire
|
I am using Calibre Portable and the Quality Check plug-in stopped functioning after the update to 8.12. It shows as existing in the plug-ins list. If I try to configure it I get an error message saying "you must restart Calibre to configure Quality Check" but after restarting I get the same message. I uninstalled and reinstalled the plug in but nothing changes. Not available in toolbar or context menu configuration either. Any suggestions appreciated.
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,558
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to wait till the plugins are updated, which hopefully will be soon given that the fix is trivial. Or if you are desperate to use the plugins, downgrade calibre to 8.11.1
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,677
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I've found some plugins which use it:
So, I think I'll have to wait for a bit to update calibre. Glad to have found this thread. |
![]() |
![]() |
![]() |
#6 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,415
Karma: 150249609
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I've modified GoodReads Sync, Hyphenate This!, Modify ePub, and Quality Check to work with calibre 8.12. I've posted them in the plugin's thread. I've upped the versions by .1. Last edited by JSWolf; Yesterday at 06:10 AM. |
|
![]() |
![]() |
![]() |
#7 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,415
Karma: 150249609
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Weirdo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 886
Karma: 11659320
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, Boox Note Air 2+
|
Thank you for your tribute, it is well received.
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,415
Karma: 150249609
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2016
Device: android phone
|
also error new to version 8.12
when i use Modify ePubs I get error and a jacket is not created. This did not happen with previous version
Modify ePubs version (1, 8, 6) Traceback (most recent call last): File "runpy.py", line 198, in _run_module_as_main File "runpy.py", line 88, in _run_code File "site.py", line 42, in <module> File "site.py", line 38, in main File "calibre/utils/ipc/worker.py", line 213, in main File "calibre/utils/ipc/worker.py", line 147, in arbitrary_n File "importlib/__init__.py", line 126, in import_module File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "calibre/customize/zipplugin.py", line 210, in exec_module File "calibre_plugins.modify_epub.jobs", line 10, in <module> File "calibre/customize/zipplugin.py", line 210, in exec_module File "calibre_plugins.modify_epub.modify", line 19, in <module> File "calibre/customize/zipplugin.py", line 210, in exec_module File "calibre_plugins.modify_epub.container", line 25, in <module> ImportError: cannot import name 'RECOVER_PARSER' from 'calibre.ebooks.oeb.parse_utils' (/Applications/calibre.app/Contents/Frameworks/plugins/python-lib.bypy.frozen/calibre/ebooks/oeb/parse_utils.pyc) |
![]() |
![]() |
![]() |
#11 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,415
Karma: 150249609
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,415
Karma: 150249609
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Given that nobody has posted a problem with the modified plugins, would an admin please make these the latest versions? That way those not on MR can get the fixed versions. Thanks.
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,636
Karma: 79983758
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
I'm not sure that calibre's version check for updates will handle your numbers. Sent from my TB350FU using Tapatalk |
|
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,636
Karma: 79983758
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Additionally, kiwidude maintains his plugins through GitHub. See https://github.com/kiwidude68/calibre_plugins so for at least GoodReads Sync, Modify ePub and Quality Check I'd suggest having the courtesy of doing things the correct way and submitting an update to him.
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,677
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Latest kindle for PC update breaks Calibre import | AndyT1 | Amazon Kindle | 3 | 02-06-2017 09:12 AM |
Using calibre.ebooks.oeb.polish.container in a driver | davidfor | Development | 10 | 07-26-2013 03:02 AM |
Calibre to Android device - remove sending to eBooks/import folder? | bosun120 | Calibre | 1 | 09-23-2011 04:12 AM |
Import ebooks to Calibre from Kindle | krikket | Devices | 2 | 03-02-2011 04:41 PM |
Calibre on Mac can't import eBooks | robfb | Calibre | 5 | 12-16-2009 03:09 PM |