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 05-13-2020, 11:04 PM   #331
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by carpegodi View Post
With the new version of kepub in/out. I cannot convert epubs in kepubs and I can´t open single kepub-files in calibre any longer. Please help and have a look into your software.
If you are reporting a problem, you need to give some details. Posting the full details of the error message will always help. And how you achieved that. And it is also a good idea to read recent posts. The conversion error is probably the one that has been reported several times already.

For opening the kepub, do you mean in the calibre viewer? Or something else? And again, were there any errors.
davidfor is offline   Reply With Quote
Old 05-14-2020, 07:16 AM   #332
carpegodi
Member
carpegodi began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2020
Device: Kobo H2O
Details - Problem-Report Converting epub to kepub

Spoiler:
calibre, version 4.15.0 (win32, embedded-python: True)
Konvertierungsfehler: Fehlgeschlagen: Buch 1 von 1 (15 Jahre) konvertieren

Buch 1 von 1 (15 Jahre) konvertieren
C:\Program Files\Calibre2\\app\pylib.zip\dateutil\parser\_par ser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
output_profile: u'tablet'
read_metadata_from_opf: u'C:\\Users\\MONDTR~1\\AppData\\Local\\Temp\\calib re_lpvbc2\\y1uzoq.opf'
verbose: 2
page_breaks_before: u"//*[name()='h1' or name()='h2']"
cover: u'C:\\Users\\MONDTR~1\\AppData\\Local\\Temp\\calib re_lpvbc2\\nd2z_4.jpeg'
Resolved conversion options
calibre version: 4.15.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\MONDTR~1\\AppData\\Local\\Temp\\calib re_lpvbc2\\nd2z_4.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'epub_version': u'2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x000002198948FC88>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': True,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x00000219894F8148>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\MONDTR~1\\AppData\\Local\\Temp\\calib re_lpvbc2\\y1uzoq.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\MONDTR~1\AppData\Local\Temp\calibre_lpvbc 2\n4iayn.epub
Found HTML cover titlepage.xhtml
Parsing all content...
Parsing OEBPS/part0001.xhtml ...
Parsing OEBPS/part0035.xhtml ...
Parsing OEBPS/part0040.xhtml ...
Parsing OEBPS/part0000.xhtml ...
Parsing titlepage.xhtml ...
Parsing OEBPS/part0042.xhtml ...
Parsing OEBPS/part0004.xhtml ...
Parsing OEBPS/part0032.xhtml ...
Parsing OEBPS/part0043.xhtml ...
Parsing OEBPS/part0005.xhtml ...
Parsing OEBPS/part0044.xhtml ...
Parsing OEBPS/part0058.xhtml ...
Parsing OEBPS/part0003.xhtml ...
Parsing OEBPS/part0045.xhtml ...
Parsing OEBPS/part0007.xhtml ...
Parsing OEBPS/part0046.xhtml ...
Parsing OEBPS/part0008.xhtml ...
Parsing OEBPS/part0029.xhtml ...
Parsing OEBPS/part0047.xhtml ...
Parsing OEBPS/part0015.xhtml ...
Parsing OEBPS/part0002.xhtml ...
Parsing OEBPS/part0010.xhtml ...
Parsing OEBPS/part0049.xhtml ...
Parsing OEBPS/part0011.xhtml ...
Parsing OEBPS/part0006.xhtml ...
Parsing OEBPS/part0012.xhtml ...
Parsing OEBPS/part0051.xhtml ...
Parsing OEBPS/part0013.xhtml ...
Parsing OEBPS/part0052.xhtml ...
Parsing OEBPS/part0014.xhtml ...
Parsing OEBPS/part0033.xhtml ...
Parsing OEBPS/part0053.xhtml ...
Parsing OEBPS/part0036.xhtml ...
Parsing OEBPS/part0054.xhtml ...
Parsing OEBPS/part0016.xhtml ...
Parsing OEBPS/part0041.xhtml ...
Parsing OEBPS/part0055.xhtml ...
Parsing OEBPS/part0017.xhtml ...
Parsing OEBPS/part0056.xhtml ...
Parsing OEBPS/part0018.xhtml ...
Parsing OEBPS/part0019.xhtml ...
Parsing OEBPS/part0034.xhtml ...
Parsing OEBPS/part0020.xhtml ...
Parsing OEBPS/part0057.xhtml ...
Parsing OEBPS/part0021.xhtml ...
Parsing OEBPS/part0022.xhtml ...
Parsing OEBPS/part0060.xhtml ...
Parsing page_styles.css ...
Parsing OEBPS/part0023.xhtml ...
Parsing OEBPS/part0030.xhtml ...
Parsing OEBPS/part0024.xhtml ...
Parsing OEBPS/part0031.xhtml ...
Parsing stylesheet.css ...
Parsing OEBPS/part0025.xhtml ...
Parsing OEBPS/part0026.xhtml ...
Parsing OEBPS/part0009.xhtml ...
Parsing OEBPS/part0027.xhtml ...
Parsing OEBPS/part0050.xhtml ...
Parsing OEBPS/part0028.xhtml ...
Parsing OEBPS/part0059.xhtml ...
Parsing OEBPS/part0037.xhtml ...
Parsing OEBPS/part0048.xhtml ...
Parsing OEBPS/part0038.xhtml ...
Parsing OEBPS/part0039.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 1699 items of level: div_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'titlepage.xhtml' from manifest
Creating KePub Output...
Python function terminated unexpectedly
'utf8' codec can't decode byte 0xe4 in position 31: invalid continuation byte (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 209, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 43, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 28, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1275, in run
File "calibre_plugins.kepubout.conversion.kepub_output" , line 106, in convert
File "calibre_plugins.kepubout.common", line 95, in print_formatted_log
File "calibre_plugins.kepubout.common", line 84, in _tag_args
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 31: invalid continuation byte

Last edited by theducks; 05-14-2020 at 10:10 AM. Reason: spoilered
carpegodi is offline   Reply With Quote
Old 05-14-2020, 07:18 AM   #333
carpegodi
Member
carpegodi began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2020
Device: Kobo H2O
Details No. 2 / Open a single kepub-file fails

Spoiler:
calibre, version 4.15.0
FEHLER: Buch konnte nicht geladen werden: Buch konnte nicht geöffnet werden: C:\Users\Mondträumer\Calibre-Bibliothek\T. S. Orgel\Das Haus der tausend Welten (23340)\Das Haus der tausend Welten - T. S. Orgel.kepub. "Details anzeigen" anklicken für weitere Informationen.

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 444, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 234, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 191, in do_convert
ConversionFailure: Failed to convert book: C:\Users\Mondträumer\Calibre-Bibliothek\T. S. Orgel\Das Haus der tausend Welten (23340)\Das Haus der tausend Welten - T. S. Orgel.kepub with error:
C:\Program Files\Calibre2\\app\pylib.zip\dateutil\parser\_par ser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
InputFormatPlugin: KePub Input running
on C:\Users\Mondträumer\Calibre-Bibliothek\T. S. Orgel\Das Haus der tausend Welten (23340)\Das Haus der tausend Welten - T. S. Orgel.kepub
KEPUBInput::convert - start
KEPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Python function terminated unexpectedly
'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 862, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 855, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 830, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "calibre_plugins.kepubin.conversion.kepub_inpu t", line 108, in convert
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte

Last edited by theducks; 05-14-2020 at 10:11 AM. Reason: spoilered
carpegodi is offline   Reply With Quote
Old 05-14-2020, 09:02 AM   #334
keymark9
Junior Member
keymark9 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2020
Device: kobo glo hd
same problem. language turkish.

Spoiler:
calibre, version 4.15.0 (win32, embedded-python: True)
Dönüştürme hatası: Başarısız Oldu: 1 (Fırın) içinden 1 kitabı dönüştür

1 (Fırın) içinden 1 kitabı dönüştür
C:\Program Files (x86)\Calibre2\\app\pylib.zip\dateutil\parser\_par ser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
cover: u'C:\\Users\\keyma\\AppData\\Local\\Temp\\calibre_ supwi6\\hkd9d9.jpeg'
verbose: 2
output_profile: u'tablet'
read_metadata_from_opf: u'C:\\Users\\keyma\\AppData\\Local\\Temp\\calibre_ supwi6\\l7uqmh.opf'
Resolved conversion options
calibre version: 4.15.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\keyma\\AppData\\Local\\Temp\\calibre_ supwi6\\hkd9d9.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'epub_version': u'2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x056B2AB0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': True,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x056C20D0>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\keyma\\AppData\\Local\\Temp\\calibre_ supwi6\\l7uqmh.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\keyma\AppData\Local\Temp\calibre_supwi6\v 2_yzn.epub
Found HTML cover OEBPS/Text/cover.xhtml
Parsing all content...
Parsing OEBPS/Text/gunisigi.xhtml ...
Parsing OEBPS/Text/inkar.xhtml ...
Parsing OEBPS/Text/canlicanli.xhtml ...
Parsing OEBPS/Text/dusus.xhtml ...
Parsing OEBPS/Text/yerlesme.xhtml ...
Parsing OEBPS/Text/firar.xhtml ...
Parsing OEBPS/Text/karanligin.xhtml ...
Parsing OEBPS/Text/agiris.xhtml ...
Parsing OEBPS/Text/kafatasiyemi.xhtml ...
Parsing OEBPS/Text/cehennemkopek.xhtml ...
Parsing OEBPS/Text/basgardiyanuyari.xhtml ...
Parsing OEBPS/Text/ara.xhtml ...
Parsing OEBPS/Text/kacirilma.xhtml ...
Parsing OEBPS/Text/kannobeti.xhtml ...
Parsing OEBPS/Text/birsonraligun.xhtml ...
Parsing OEBPS/Text/comez.xhtml ...
Parsing OEBPS/Text/ikincioda.xhtml ...
Parsing OEBPS/Text/aydinlanma.xhtml ...
Parsing OEBPS/Text/geridonus.xhtml ...
Parsing OEBPS/Text/oyalama.xhtml ...
Parsing OEBPS/Text/enkaranlik.xhtml ...
Parsing OEBPS/Text/atlayicilar.xhtml ...
Parsing OEBPS/Text/savas.xhtml ...
Parsing OEBPS/Text/kizilel.xhtml ...
Parsing OEBPS/Text/hazirlik.xhtml ...
Parsing OEBPS/Styles/ey2.css ...
Parsing OEBPS/Text/arena.xhtml ...
Parsing OEBPS/Text/revir.xhtml ...
Parsing OEBPS/Text/isedevam.xhtml ...
Parsing OEBPS/Text/denekler.xhtml ...
Parsing OEBPS/Text/songece.xhtml ...
Parsing OEBPS/Text/terkedilmis.xhtml ...
Parsing OEBPS/Text/goturulmek.xhtml ...
Parsing OEBPS/Text/kayipcocuklar.xhtml ...
Parsing OEBPS/Text/kacis.xhtml ...
Parsing OEBPS/Text/kule.xhtml ...
Parsing OEBPS/Text/ikincikitap.xhtml ...
Parsing OEBPS/Text/haneyetecavuz.xhtml ...
Parsing OEBPS/Text/Section0002.xhtml ...
Parsing OEBPS/Text/mezarlik.xhtml ...
Parsing OEBPS/Text/itiraf.xhtml ...
Parsing OEBPS/Text/saklanma.xhtml ...
Parsing OEBPS/Text/nehir.xhtml ...
Parsing OEBPS/Text/suphe.xhtml ...
Parsing OEBPS/Text/lapacilik.xhtml ...
Parsing OEBPS/Text/catisma.xhtml ...
Parsing OEBPS/Text/canligomulmek.xhtml ...
Parsing OEBPS/Text/tekyolyukari.xhtml ...
Parsing OEBPS/Text/bogaz.xhtml ...
Parsing OEBPS/Text/geri.xhtml ...
Parsing OEBPS/Text/avlanmak.xhtml ...
Parsing OEBPS/Text/karsilama.xhtml ...
Parsing OEBPS/Text/yem.xhtml ...
Parsing OEBPS/Text/vedalar.xhtml ...
Parsing OEBPS/Text/delik.xhtml ...
Parsing OEBPS/Text/copfirini.xhtml ...
Parsing OEBPS/Text/bosluktan.xhtml ...
Parsing OEBPS/Text/kunye.xhtml ...
Parsing OEBPS/Text/cigliklar.xhtml ...
Parsing OEBPS/Text/iletisim.xhtml ...
Parsing OEBPS/Text/ickapak.xhtml ...
Parsing OEBPS/Text/Section0001.xhtml ...
Parsing OEBPS/Text/cover.xhtml ...
Parsing OEBPS/Styles/ey1.css ...
Parsing OEBPS/Text/iyilesme.xhtml ...
Parsing OEBPS/Text/secimler.xhtml ...
Parsing OEBPS/Text/cehenneme.xhtml ...
Parsing OEBPS/Text/ziyaretciler.xhtml ...
Parsing OEBPS/Text/sonis.xhtml ...
Parsing OEBPS/Text/kumpas.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 67 items of level: div_1
Found 65 items of level: div_3
Found 67 items of level: div_2
Found 29 items of level: p_4
Found 3058 items of level: p_3
div_1 left margin stats: Counter({u'': 65})
div_1 right margin stats: Counter({u'': 65})
div_3 left margin stats: Counter({u'': 64, u'0': 1})
div_3 right margin stats: Counter({u'': 65})
div_2 left margin stats: Counter({u'': 65})
div_2 right margin stats: Counter({u'': 65})
p_4 left margin stats: Counter({u'0': 29})
p_4 right margin stats: Counter({u'0': 29})
p_3 left margin stats: Counter({u'0': 3045, u'1em': 13})
p_3 right margin stats: Counter({u'0': 3058})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/Text/cover.xhtml' from manifest
Creating KePub Output...
Python function terminated unexpectedly
'utf8' codec can't decode byte 0xfc in position 21: invalid start byte (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 209, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 43, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 28, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1275, in run
File "calibre_plugins.kepubout.conversion.kepub_output" , line 106, in convert
File "calibre_plugins.kepubout.common", line 95, in print_formatted_log
File "calibre_plugins.kepubout.common", line 84, in _tag_args
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 21: invalid start byte

Last edited by theducks; 05-14-2020 at 10:12 AM. Reason: spoilered
keymark9 is offline   Reply With Quote
Old 05-14-2020, 10:08 AM   #335
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Both of those are the same issue that has been reported for this and the other kepub related plugins. It is an issue with how Windows handles unicode and preparations for the Python 3 version of calibre. It is being worked on, but, there is a workaround mentioned in the extended driver thread.
davidfor is offline   Reply With Quote
Old 05-16-2020, 09:32 AM   #336
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,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Can someone running Windows give this plugin package a try? It has to be Windows, and you can't have the workaround described in the extended driver thread applied.
Attached Files
File Type: zip KePub Output.zip (27.7 KB, 186 views)
jgoguen is offline   Reply With Quote
Old 05-17-2020, 12:42 AM   #337
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,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
A new version has been posted to deal with Unicode issues on Windows.
jgoguen is offline   Reply With Quote
Old 05-17-2020, 05:06 AM   #338
bansheeat
Member
bansheeat began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Aug 2015
Location: Vienna
Device: Kobo Aura HD Mark 4
Yes, thank you it is working

Thank you for your hard work and not giving up
bansheeat is offline   Reply With Quote
Old 05-17-2020, 07:33 AM   #339
carpegodi
Member
carpegodi began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2020
Device: Kobo H2O
After Version 3.2.7. still cannot open single kepub

Hi,

after the latest Version 3.2.7. I still cannot open a single kepub file in the Calibre Viewer:

calibre, version 4.16.0
FEHLER: Buch konnte nicht geladen werden: Buch konnte nicht geöffnet werden: C:\Users\Mondträumer\Calibre-Bibliothek\Kathy Reichs\Tempe Brennan - 00 - Erster Fall - (20958)\Tempe Brennan - 00 - Erster Fal - Kathy Reichs.kepub. "Details anzeigen" anklicken für weitere Informationen.

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 448, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 234, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 191, in do_convert
ConversionFailure: Failed to convert book: C:\Users\Mondträumer\Calibre-Bibliothek\Kathy Reichs\Tempe Brennan - 00 - Erster Fall - (20958)\Tempe Brennan - 00 - Erster Fal - Kathy Reichs.kepub with error:
C:\Program Files\Calibre2\\app\pylib.zip\dateutil\parser\_par ser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
InputFormatPlugin: KePub Input running
on C:\Users\Mondträumer\Calibre-Bibliothek\Kathy Reichs\Tempe Brennan - 00 - Erster Fall - (20958)\Tempe Brennan - 00 - Erster Fal - Kathy Reichs.kepub
KEPUBInput::convert - start
KEPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Python function terminated unexpectedly
'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 862, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 855, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 830, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "calibre_plugins.kepubin.conversion.kepub_inpu t", line 108, in convert
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte
carpegodi is offline   Reply With Quote
Old 05-17-2020, 08:22 AM   #340
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by carpegodi View Post
Hi,

after the latest Version 3.2.7. I still cannot open a single kepub file in the Calibre Viewer:

calibre, version 4.16.0
FEHLER: Buch konnte nicht geladen werden: Buch konnte nicht geöffnet werden: C:\Users\Mondträumer\Calibre-Bibliothek\Kathy Reichs\Tempe Brennan - 00 - Erster Fall - (20958)\Tempe Brennan - 00 - Erster Fal - Kathy Reichs.kepub. "Details anzeigen" anklicken für weitere Informationen.

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 448, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 234, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 191, in do_convert
ConversionFailure: Failed to convert book: C:\Users\Mondträumer\Calibre-Bibliothek\Kathy Reichs\Tempe Brennan - 00 - Erster Fall - (20958)\Tempe Brennan - 00 - Erster Fal - Kathy Reichs.kepub with error:
C:\Program Files\Calibre2\\app\pylib.zip\dateutil\parser\_par ser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
InputFormatPlugin: KePub Input running
on C:\Users\Mondträumer\Calibre-Bibliothek\Kathy Reichs\Tempe Brennan - 00 - Erster Fall - (20958)\Tempe Brennan - 00 - Erster Fal - Kathy Reichs.kepub
KEPUBInput::convert - start
KEPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Python function terminated unexpectedly
'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 862, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 855, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 830, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "calibre_plugins.kepubin.conversion.kepub_inpu t", line 108, in convert
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte
That is actually the Kepub Input plugin. Make sure that you have updated that.
davidfor is offline   Reply With Quote
Old 05-17-2020, 09:00 AM   #341
carpegodi
Member
carpegodi began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2020
Device: Kobo H2O
Still not working with kepub input 3.2.7

Quote:
Originally Posted by davidfor View Post
That is actually the Kepub Input plugin. Make sure that you have updated that.
I´d installed the latest kepub input plugin 3.2.7. (see attachment-picture) but it´s still not working. I have only kepub files in my library. No epubs, mobis whatever,... only kepubs. And non of them is going to work with the calibre-viewer. Please help!

calibre, version 4.16.0

FEHLER: Buch konnte nicht geladen werden: Buch konnte nicht geöffnet werden: C:\Users\Mondträumer\Calibre-Bibliothek\Hao Jingfang\Peking falten (23346)\Peking falten - Hao Jingfang.kepub. "Details anzeigen" anklicken für weitere Informationen.

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 448, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 234, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 191, in do_convert
ConversionFailure: Failed to convert book: C:\Users\Mondträumer\Calibre-Bibliothek\Hao Jingfang\Peking falten (23346)\Peking falten - Hao Jingfang.kepub with error:
C:\Program Files\Calibre2\\app\pylib.zip\dateutil\parser\_par ser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
InputFormatPlugin: KePub Input running
on C:\Users\Mondträumer\Calibre-Bibliothek\Hao Jingfang\Peking falten (23346)\Peking falten - Hao Jingfang.kepub
KEPUBInput::convert - start
KEPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Python function terminated unexpectedly
'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 862, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 855, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 830, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "calibre_plugins.kepubin.conversion.kepub_inpu t", line 108, in convert
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte
carpegodi is offline   Reply With Quote
Old 05-17-2020, 09:05 AM   #342
carpegodi
Member
carpegodi began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2020
Device: Kobo H2O
The picture of the version!

Quote:
Originally Posted by carpegodi View Post
I´d installed the latest kepub input plugin 3.2.7. (see attachment-picture)

Here comes the picture of the version!
Attached Thumbnails
Click image for larger version

Name:	kepub.jpg
Views:	256
Size:	89.1 KB
ID:	179291  
carpegodi is offline   Reply With Quote
Old 05-17-2020, 09:33 AM   #343
bansheeat
Member
bansheeat began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Aug 2015
Location: Vienna
Device: Kobo Aura HD Mark 4
I have no Problem opening Kepubs.
I have the same plug-ins like you. My Kepubs are converted epubs. I have both in my library, but I can open them separately.
Attached Thumbnails
Click image for larger version

Name:	Kepub.PNG
Views:	188
Size:	337.7 KB
ID:	179292  

Last edited by bansheeat; 05-17-2020 at 09:36 AM.
bansheeat is offline   Reply With Quote
Old 05-17-2020, 09:46 AM   #344
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by carpegodi View Post
I´d installed the latest kepub input plugin 3.2.7. (see attachment-picture) but it´s still not working. I have only kepub files in my library. No epubs, mobis whatever,... only kepubs. And non of them is going to work with the calibre-viewer. Please help!

calibre, version 4.16.0

FEHLER: Buch konnte nicht geladen werden: Buch konnte nicht geöffnet werden: C:\Users\Mondträumer\Calibre-Bibliothek\Hao Jingfang\Peking falten (23346)\Peking falten - Hao Jingfang.kepub. "Details anzeigen" anklicken für weitere Informationen.

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 448, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 234, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 191, in do_convert
ConversionFailure: Failed to convert book: C:\Users\Mondträumer\Calibre-Bibliothek\Hao Jingfang\Peking falten (23346)\Peking falten - Hao Jingfang.kepub with error:
C:\Program Files\Calibre2\\app\pylib.zip\dateutil\parser\_par ser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
InputFormatPlugin: KePub Input running
on C:\Users\Mondträumer\Calibre-Bibliothek\Hao Jingfang\Peking falten (23346)\Peking falten - Hao Jingfang.kepub
KEPUBInput::convert - start
KEPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Python function terminated unexpectedly
'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 862, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 855, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 830, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "calibre_plugins.kepubin.conversion.kepub_inpu t", line 108, in convert
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 15: invalid continuation byte
As I said, you are posting in the wrong place. The plugin at fault is the INPUT plugin. Though I had forgotten that it showed me as the author.

But, that isn't the same error as we have been seeing. It is probably caused by the "ä" in your username. Using a temporary directory that was outside of you user directory, and didn't have any characters from the extended character set would probably work. But, I'll discuss it with @jgoguen as I did notice something else.
davidfor is offline   Reply With Quote
Old 05-17-2020, 11:20 AM   #345
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,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
I've posted a package for you to try in th KePub Input thread.
jgoguen 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 02:46 AM.


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