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 01-22-2021, 08:34 AM   #1
msel
Connoisseur
msel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the husk
 
msel's Avatar
 
Posts: 61
Karma: 141502
Join Date: Sep 2010
Device: Kindle Keyboard 3G
Unhappy Calibre 5.10 Conversion error epub -> mobi

I have created some books with the firefox / palemoon extension "GrabMyBooks" in epub-format. After this I imported the epub to calibre and convert the book to the mobi-format.
With Calibre Version 5.10 I get this error (version 5.09 is fine):
Spoiler:

calibre, version 5.10.0 (linux, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (Between The Pain And The Fury)

Convert book 1 of 1 (Between The Pain And The Fury)
Failed to initialize plugin: '/home/msel/.config/calibre/plugins/Barnes & Noble.zip'
Failed to initialize plugin: '/home/msel/.config/calibre/plugins/GetFileName.zip'
Failed to initialize plugin: '/home/msel/.config/calibre/plugins/Goodreads.zip'
Failed to initialize plugin: '/home/msel/.config/calibre/plugins/Kindle covers (G).zip'
Failed to initialize plugin: '/home/msel/.config/calibre/plugins/Kindle hi-res covers.zip'
Failed to initialize plugin: '/home/msel/.config/calibre/plugins/Read MP3 AudioBook metadata.zip'
Initialized urlfixer
Failed to initialize plugin: '/home/msel/.config/calibre/plugins/djvumaker.zip'
Conversion options changed from defaults:
insert_metadata: True
output_profile: 'kindle'
read_metadata_from_opf: '/tmp/calibre_5.10.0_tmp__7ybo7s4/5xe4ai20.opf'
page_breaks_before: "//*[name()='h1' or name()='h2']"
verbose: 2
mobi_toc_at_start: True
cover: '/tmp/calibre_5.10.0_tmp__7ybo7s4/ckh9vae1.jpeg'
Resolved conversion options
calibre version: 5.10.0
{'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': '/tmp/calibre_5.10.0_tmp__7ybo7s4/ckh9vae1.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': '',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x7fa5aac5f910>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': True,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'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,
'mobi_file_type': 'old',
'mobi_ignore_margins': False,
'mobi_keep_original_images': False,
'mobi_toc_at_start': True,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x7fa5aac63520>,
'page_breaks_before': "//*[name()='h1' or name()='h2']",
'personal_doc': '[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/tmp/calibre_5.10.0_tmp__7ybo7s4/5xe4ai20.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': '',
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'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 /tmp/calibre_5.10.0_tmp__7ybo7s4/94p_528j.epub
Parsing all content...
Parsing OEBPS/css/book.css ...
Parsing OEBPS/article0.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Inserting metadata into book...
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 45, in <module>
File "site.py", line 41, in main
File "calibre/utils/ipc/worker.py", line 216, in main
File "calibre/gui2/convert/gui_conversion.py", line 41, in gui_convert_override
File "calibre/gui2/convert/gui_conversion.py", line 28, in gui_convert
File "calibre/ebooks/conversion/plumber.py", line 1184, in run
File "calibre/ebooks/oeb/transforms/jacket.py", line 161, in __call__
File "calibre/ebooks/oeb/transforms/jacket.py", line 128, in insert_metadata
File "calibre/ebooks/oeb/transforms/jacket.py", line 388, in render_jacket
File "calibre/ebooks/oeb/transforms/jacket.py", line 377, in generate_html
AttributeError: 'dict' object has no attribute 'series'


I use Trisquel, which is basically Ubuntu 18.04.

Last edited by theducks; 01-22-2021 at 12:24 PM. Reason: spoilered
msel is offline   Reply With Quote
Old 01-22-2021, 09:34 AM   #2
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...eb64af95f7ad02
kovidgoyal is offline   Reply With Quote
Advert
Old 01-22-2021, 10:16 AM   #3
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: 73,976
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
MY suggestion is to convert to KF8 since you have a Kindle that supports KF8.
JSWolf is offline   Reply With Quote
Old 01-22-2021, 12:25 PM   #4
msel
Connoisseur
msel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the huskmsel can grip it by the husk
 
msel's Avatar
 
Posts: 61
Karma: 141502
Join Date: Sep 2010
Device: Kindle Keyboard 3G
Everything o.k. now with the repaired version 5.10.1. Thank you.
msel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Epub to mobi conversion Kindleflame Conversion 1 02-17-2016 11:19 AM
epub to mobi conversion error perkin5 Conversion 9 11-12-2014 06:15 PM
EPUB to MOBI conversion error in 0.8.28 eholzwarth Conversion 5 01-01-2012 12:27 PM
Calibre MOBI to EPUB conversion error spanishgirl94 Conversion 3 03-19-2011 05:22 PM
Conversion Error lrf -> mobi/epub (Calibre 0.6.33) Joerg_Mosthaf Calibre 2 01-13-2010 07:40 AM


All times are GMT -4. The time now is 12:31 PM.


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