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, 09:55 AM   #556
Flip35
Junior Member
Flip35 began at the beginning.
 
Posts: 2
Karma: 12
Join Date: Jul 2024
Device: Kobo Libra Colour
Quote:
Originally Posted by 7hir7een View Post
I unknowingly updated this plugin and now all of my kepub conversions are failing. Is there any way the previous version could be posted for download?
I found it on jgoguen github page.
Attached Files
File Type: zip KePub.Output.zip (42.2 KB, 13 views)
File Type: zip KePub.Input.zip (40.9 KB, 9 views)
Flip35 is offline   Reply With Quote
Old Yesterday, 10:16 AM   #557
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,074
Karma: 2178847
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Version 3.6.9 should be offered by calibre within the next hour or so to fix this ��
jgoguen is offline   Reply With Quote
Old Yesterday, 11:52 PM   #558
liquidsgi
Junior Member
liquidsgi began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2024
Device: Kobo
This plugin for me is broken. I accidentally installed the version 3.6.9 and all of my Kobo conversions are now broken. Here is the traceback- I am on 7.16.0 Calibre on Sonoma 14.5.
Quote:
2024-08-02 20:47:35 [ERROR] Failed converting!
Traceback (most recent call last):
File "calibre_plugins.kepubout.conversion.kepub_output" , line 191, in convert
common.modify_epub(
File "calibre_plugins.kepubout.common", line 238, in modify_epub
container.convert()
File "calibre_plugins.kepubout.container", line 398, in convert
self.__run_async_over_content(self.add_kobo_spans)
File "calibre_plugins.kepubout.container", line 394, in __run_async_over_content
self.__run_async(func, names)
File "calibre_plugins.kepubout.container", line 381, in __run_async
raise e
File "calibre_plugins.kepubout.container", line 377, in __run_async
name = future.result(timeout=60)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "concurrent/futures/_base.py", line 449, in result
File "concurrent/futures/_base.py", line 401, in __get_result
File "concurrent/futures/thread.py", line 58, in run
File "calibre_plugins.kepubout.container", line 523, in add_kobo_spans
self._add_kobo_spans_to_node(body, name)
File "calibre_plugins.kepubout.container", line 589, in _add_kobo_spans_to_node
node.append(self._add_kobo_spans_to_node(child, name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.kepubout.container", line 539, in _add_kobo_spans_to_node
special_tag_match = re.search(r"^(?:\{[^\}]+\})?(\w+)$", node.tag)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "re/__init__.py", line 176, in search
TypeError: expected string or bytes-like object, got '_cython_3_0_10.cython_function_or_method'

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 215, in main
File "calibre/gui2/convert/gui_conversion.py", line 38, in gui_convert_override
File "calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
File "calibre/ebooks/conversion/plumber.py", line 1307, in run
File "calibre_plugins.kepubout.conversion.kepub_output" , line 191, in convert
File "calibre_plugins.kepubout.common", line 238, in modify_epub
File "calibre_plugins.kepubout.container", line 398, in convert
File "calibre_plugins.kepubout.container", line 394, in __run_async_over_content
File "calibre_plugins.kepubout.container", line 381, in __run_async
File "calibre_plugins.kepubout.container", line 377, in __run_async
File "concurrent/futures/_base.py", line 449, in result
File "concurrent/futures/_base.py", line 401, in __get_result
File "concurrent/futures/thread.py", line 58, in run
File "calibre_plugins.kepubout.container", line 523, in add_kobo_spans
File "calibre_plugins.kepubout.container", line 589, in _add_kobo_spans_to_node
File "calibre_plugins.kepubout.container", line 539, in _add_kobo_spans_to_node
File "re/__init__.py", line 176, in search
TypeError: expected string or bytes-like object, got '_cython_3_0_10.cython_function_or_method'
liquidsgi is offline   Reply With Quote
Old Today, 11:03 AM   #559
repilo
Connoisseur
repilo began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
Since I updated the plugin the kepub conversion fails. The "normal" epub doesn't fail me, but it fails in the complicated ones with a lot of jpg and footnotes.
Thank God I found the old version (I don't know where you can see the version number) that appears in post #556 and now everything works again.
Here are the first few lines (out of more than 9000) of the Calibre error report log in case it helps:
Spoiler:

calibre, version 7.16.0 (win32, embedded-python: True)
Error de conversión: Fallo: Convertido el libro 1 de 1 (xxx)

Convertido el libro 1 de 1 (xxx)
DeDRM v7.2.1: Trying to decrypt gb8qipc3.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: “gb8qipc3.epub” is neither an Adobe Adept nor a Barnes & Noble encrypted ePub
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 199, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 644, in run
File "calibre_plugins.dedrm.__init__", line 420, in ePubDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Couldn't decrypt after 0.5 seconds. DRM free perhaps?
Conversion options changed from defaults:
epub_version: '2'
verbose: 2
embed_font_family: 'Charter ITC Std boldh1v2'
read_metadata_from_opf: 'C:\\Users\\cactu\\AppData\\Local\\Temp\\calibre_y kyzbui0\\jrot5wdg.opf'
cover: 'C:\\Users\\cactu\\AppData\\Local\\Temp\\calibre_y kyzbui0\\om4x7ja9.jpeg'
remove_fake_margins: False
output_profile: 'kobo'
disable_font_rescaling: True
Resolved conversion options
calibre version: 7.16.0
{'add_alt_text_to_img': False,
'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|p rologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': 'C:\\Users\\cactu\\AppData\\Local\\Temp\\calibre_y kyzbui0\\om4x7ja9.jpeg',
repilo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 02:03 AM
Plugin not customizable: Plugin: HTML Output does not need customization flyingfoxlee Conversion 2 02-24-2012 02:24 AM
Plugin which uses net as input and output medve Development 0 12-04-2011 03:20 PM
Creat new Output plugin (LaTeX and/or txt2tags) Lebewesen Development 3 11-22-2011 11:10 AM
AZW Conversion Output Plugin tylau0 Plugins 59 08-14-2011 10:36 PM


All times are GMT -4. The time now is 01:35 PM.


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