Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 04:10 PM   #1
bdub
Enthusiast
bdub can extract oil from cheesebdub can extract oil from cheesebdub can extract oil from cheesebdub can extract oil from cheesebdub can extract oil from cheesebdub can extract oil from cheesebdub can extract oil from cheesebdub can extract oil from cheesebdub can extract oil from cheese
 
Posts: 36
Karma: 1102
Join Date: Sep 2025
Device: Kobo Clara BW
Kepub Conversion Issue

Steps to recreate issue:

1) download the the epub3 version of this book:

https://www.gutenberg.org/ebooks/8086.epub3.images

2) add book to Calibre 9.4 on Windows 11

3) convert to kepub

4) edit book: kepub

calibre, version 9.4.0
ERROR: Failed to open book: Failed to open book, click "Show details" for more information.

Traceback (most recent call last):
File "calibre\gui2\tweak_book\job.py", line 33, in run
File "calibre\gui2\tweak_book\boss.py", line 101, in get_container
File "calibre\ebooks\oeb\polish\container.py", line 1635, in get_container
File "calibre\ebooks\oeb\polish\container.py", line 1452, in __init__
File "calibre\ebooks\oeb\polish\kepubify.py", line 526, in unkepubify_container
File "calibre\ebooks\oeb\polish\kepubify.py", line 507, in do_work_in_parallel
File "concurrent\futures\_base.py", line 443, in result
File "concurrent\futures\_base.py", line 395, in __get_result
File "concurrent\futures\thread.py", line 86, in run
File "concurrent\futures\thread.py", line 73, in run
File "calibre\ebooks\oeb\polish\kepubify.py", line 487, in process_path
File "calibre\ebooks\oeb\polish\kepubify.py", line 385, in kepubify_html_path
File "calibre\ebooks\oeb\polish\kepubify.py", line 378, in kepubify_html_data
File "calibre\ebooks\oeb\polish\kepubify.py", line 365, in kepubify_parsed_html
File "calibre\ebooks\oeb\polish\kepubify.py", line 302, in remove_kobo_markup_from_html
File "calibre\ebooks\oeb\polish\kepubify.py", line 285, in remove_kobo_spans
File "calibre\ebooks\oeb\polish\kepubify.py", line 274, in unwrap
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
bdub is offline   Reply With Quote
Old Yesterday, 04:47 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,273
Karma: 150871427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Download the copy from https://www.mobileread.com/forums/sh...ad.php?t=52490 and use that. It's the same book. But it works because it was hand edited.
JSWolf is offline   Reply With Quote
Advert
Old Today, 01:04 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,060
Karma: 29579868
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...259c6ecebdfd48
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kepub issue on centered text senhal Conversion 2 06-03-2024 01:23 PM
Strange first line of chapter issue in kepub bongoman Devices 2 07-09-2020 07:21 AM
kepub Rendering Issue JSWolf Kobo Reader 4 08-20-2016 10:28 AM
Aura HD kepub reading position issue scoky Kobo Developer's Corner 2 06-14-2014 05:28 AM


All times are GMT -4. The time now is 06:03 AM.


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