Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2017, 01:17 PM   #1
Dzib
Enthusiast
Dzib began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
EPUB to AZW3 error

Hi,

I have the following error when trying to convert this epub to azw3...
My OS is Windows 7 64bits and I use Calibre 2.79.1

Spoiler:
Conversion du livre 1 sur 1 (Le Cauchemar De L'Epouvanteur)
C:\Program Files (x86)\Calibre2\pylib.zip\dateutil\parser.py:339: 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\\Dzib\\AppData\\Local\\Temp\\calibre_e bqppy\\5kuatg.jpeg'
sr3_search: None
sr3_replace: None
output_profile: 'kindle_pw'
transform_css_rules: '[]'
read_metadata_from_opf: u'C:\\Users\\Dzib\\AppData\\Local\\Temp\\calibre_e bqppy\\cialen.opf'
search_replace: '[]'
sr1_replace: None
verbose: 2
sr1_search: None
sr2_search: None
filter_css: u''
sr2_replace: None
Resolved conversion options
calibre version: 2.79.1
{'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\\Dzib\\AppData\\Local\\Temp\\calibre_e bqppy\\5kuatg.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': u'',
'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 0x04833C10>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'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_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindlePaperWhiteOutp ut object at 0x04833FD0>,
'page_breaks_before': u'/',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\Dzib\\AppData\\Local\\Temp\\calibre_e bqppy\\cialen.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,
'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 C:\Users\Dzib\AppData\Local\Temp\calibre_ebqppy\qc q0et.epub
Found HTML cover OEBPS/Text/titlepage_u1.xhtml
Parsing all content...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_001.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_004.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_005.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_006.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_007.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_029.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_008.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_003.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_009.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_010.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_002.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_011.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_012.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_025.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/titlepage.xhtml ...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_013.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_030.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_014.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_024.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/filelist.xml ...
Parsing OEBPS/Styles/stylesheet.css ...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_016.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_023.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/colorschememapping.xml ...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_017.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_022.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_036.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_019.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_031.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_035.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_021.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_026.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_020.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_034.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_015.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/titlepage_u1.xhtml ...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_018.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_027.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_032.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_033.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_000.htm ...
Found microsoft markup, cleaning...
Parsing OEBPS/Text/cauchemar_epouvanteur_split_028.htm ...
Found microsoft markup, cleaning...
Referenced file u'OEBPS/Text/cauchemar_\xe9pouvanteur_fichiers/editdata.mso' not found
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 2 items of level: div_1
Found 2418 items of level: p_1
Found 28 items of level: p_2
div_1 left margin stats: Counter({u'': 1})
div_1 right margin stats: Counter({u'': 1})
p_1 left margin stats: Counter({u'': 2418})
p_1 right margin stats: Counter({u'': 2418})
p_2 left margin stats: Counter({u'': 28})
p_2 right margin stats: Counter({u'': 28})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/Text/titlepage_u1.xhtml' from manifest
Creating AZW3 Output...
Serializing resources...
Splitting markup on page breaks and flow limits, if any...
OEBPS/Misc/themedata.thmx contains data in TXT format converting to HTML
Converting OEBPS/Misc/themedata.thmx ...
Python function terminated unexpectedly
'utf8' codec can't decode byte 0x82 in position 14: invalid start byte. -- Note: Markdown only accepts unicode input! (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1238, in run
File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 324, in convert
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 66, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 160, in fix_links
File "site-packages\calibre\ebooks\oeb\base.py", line 1036, in fget
File "site-packages\calibre\ebooks\oeb\base.py", line 965, in _parse_txt
File "site-packages\calibre\ebooks\txt\processor.py", line 110, in convert_markdown
File "site-packages\calibre\ebooks\markdown\__init__.py", line 363, in convert
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 14: invalid start byte. -- Note: Markdown only accepts unicode input!
Thanks
Attached Files
File Type: epub Le Cauchemar De L'Epouvanteur - Joseph Delaney.epub (1.21 MB, 145 views)

Last edited by theducks; 03-15-2017 at 02:47 PM. Reason: change quote to Spoiler
Dzib is offline   Reply With Quote
Old 03-15-2017, 02:17 PM   #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: 45,365
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the file themedata.thmx in the epub is incorrectly marked as containing plain text. Delete it using the calibre editor and you will be fine.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-15-2017, 04:06 PM   #3
Dzib
Enthusiast
Dzib began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
Works! Thanks a lot!
Dzib is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Math domain error converting from Epub to Azw3 Uklana Conversion 4 11-03-2014 12:13 AM
epub to azw3 (or mobi) conversion error Hamlet53 Conversion 2 01-25-2014 12:42 PM
Error converting AZW3 to EPUB ksbpcitrus Calibre 2 05-25-2013 12:52 PM
Convertion from azw3 to epub (or fb2) error -- probably due to Chinese characters gena0411 Calibre 3 05-16-2013 01:24 PM
Help with Apple error - ERROR ITMS-9000: ".epub: wrong namespace in filename.epub fil muzammil ePub 1 11-30-2012 05:25 AM


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


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