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 10-20-2013, 08:42 PM   #1
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: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Conversion to Mobi fails with 1.7

I tried converting ePub and AZW3 to Mobi and both times failed. Here is one of the logs from one of the failures.

Spoiler:
calibre, version 1.7.0 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (The Charlie Parker Collection 5-8: The Black Angel, The Unquiet, The Reapers, The Lovers)

Convert book 1 of 1 (The Charlie Parker Collection 5-8: The Black Angel, The Unquiet, The Reapers, The Lovers)
Resolved conversion options
calibre version: 1.7.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\\Jon\\AppData\\Local\\Temp\\calibre_t1 wmzo\\0csrky.jpeg',
'debug_pipeline': None,
'dehyphenate': False,
'delete_blank_paragraphs': False,
'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': False,
'font_size_mapping': None,
'format_scene_breaks': False,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.SonyReaderInput object at 0x03735F30>,
'insert_blank_line': False,
'insert_blank_line_size': 0.0,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': False,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': -0.1,
'margin_left': -0.1,
'margin_right': -0.1,
'margin_top': -0.1,
'markup_chapter_headings': False,
'max_toc_links': 50,
'minimum_line_height': 100.0,
'mobi_file_type': u'old',
'mobi_ignore_margins': False,
'mobi_keep_original_images': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x0373F390>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\Jon\\AppData\\Local\\Temp\\calibre_t1 wmzo\\xtfcs0.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': True,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\Jon\AppData\Local\Temp\calibre_t1wmzo\war fj6.azw3
Found KF8 MOBI of type 'standalone'
Extracting text...
Parsing all content...
Parsing text/part0046.html ...
Parsing text/part0180.html ...
Parsing text/part0018.html ...
Parsing text/part0143.html ...
Parsing text/part0019.html ...
Parsing text/part0085.html ...
Parsing text/part0118.html ...
Parsing text/part0003.html ...
Initial parse failed, using more forgiving parsers
Parsing text/part0003.html as HTML
Parsing text/part0020.html ...
Parsing text/part0129.html ...
Parsing text/part0139.html ...
Parsing text/part0155.html ...
Parsing text/part0136.html ...
Parsing text/part0021.html ...
Parsing text/part0162.html ...
Parsing text/part0022.html ...
Parsing text/part0125.html ...
Parsing text/part0023.html ...
Parsing text/part0190.html ...
Parsing text/part0156.html ...
Parsing text/part0083.html ...
Parsing text/part0024.html ...
Parsing text/part0174.html ...
Parsing text/part0025.html ...
Parsing text/part0142.html ...
Parsing text/part0086.html ...
Parsing text/part0004.html ...
Initial parse failed, using more forgiving parsers
Parsing text/part0004.html as HTML
Parsing text/part0026.html ...
Parsing text/part0130.html ...
Parsing text/part0137.html ...
Parsing text/part0027.html ...
Parsing text/part0169.html ...
Parsing text/part0189.html ...
Parsing text/part0163.html ...
Parsing text/part0028.html ...
Parsing text/part0186.html ...
Parsing text/part0062.html ...
Parsing text/part0029.html ...
Parsing text/part0030.html ...
Parsing text/part0164.html ...
Parsing text/part0148.html ...
Parsing text/part0031.html ...
Parsing text/part0087.html ...
Parsing text/part0119.html ...
Parsing text/part0080.html ...
Parsing text/part0032.html ...
Parsing text/part0166.html ...
Parsing text/part0131.html ...
Parsing text/part0073.html ...
Parsing text/part0160.html ...
Parsing text/part0158.html ...
Parsing text/part0138.html ...
Parsing text/part0033.html ...
Parsing text/part0089.html ...
Parsing text/part0175.html ...
Parsing text/part0034.html ...
Parsing text/part0168.html ...
Parsing text/part0178.html ...
Parsing text/part0035.html ...
Parsing text/part0165.html ...
Parsing text/part0116.html ...
Parsing text/part0122.html ...
Parsing text/part0182.html ...
Parsing text/part0036.html ...
Parsing text/part0082.html ...
Parsing text/part0170.html ...
Parsing text/part0037.html ...
Parsing text/part0179.html ...
Parsing text/part0088.html ...
Parsing text/part0144.html ...
Parsing text/part0141.html ...
Parsing text/part0081.html ...
Parsing text/part0038.html ...
Parsing text/part0132.html ...
Parsing text/part0171.html ...
Parsing text/part0092.html ...
Parsing text/part0071.html ...
Parsing text/part0146.html ...
Parsing text/part0061.html ...
Parsing text/part0114.html ...
Parsing text/part0127.html ...
Parsing text/part0093.html ...
Parsing text/part0072.html ...
Parsing text/part0128.html ...
Parsing text/part0185.html ...
Parsing text/part0064.html ...
Parsing text/part0094.html ...
Parsing text/part0172.html ...
Parsing text/part0063.html ...
Parsing text/part0149.html ...
Parsing text/part0095.html ...
Parsing text/part0074.html ...
Parsing text/part0150.html ...
Parsing styles/0001.css ...
Parsing text/part0115.html ...
Parsing text/part0176.html ...
Parsing text/part0096.html ...
Parsing text/part0075.html ...
Parsing text/part0183.html ...
Parsing text/part0173.html ...
Parsing text/part0065.html ...
Parsing text/part0184.html ...
Parsing text/part0152.html ...
Parsing text/part0097.html ...
Parsing text/part0076.html ...
Parsing text/part0001.html ...
Parsing text/part0153.html ...
Parsing text/part0117.html ...
Parsing text/part0098.html ...
Parsing text/part0077.html ...
Parsing text/part0154.html ...
Parsing text/part0067.html ...
Parsing text/part0145.html ...
Parsing text/part0159.html ...
Parsing text/part0099.html ...
Parsing text/part0078.html ...
Parsing text/part0068.html ...
Parsing text/part0188.html ...
Parsing text/part0000.html ...
Parsing text/part0100.html ...
Parsing text/part0084.html ...
Parsing text/part0079.html ...
Parsing text/part0123.html ...
Parsing text/part0069.html ...
Parsing text/part0157.html ...
Parsing text/part0101.html ...
Parsing text/part0005.html ...
Parsing text/part0124.html ...
Parsing text/part0070.html ...
Parsing text/part0102.html ...
Parsing text/part0006.html ...
Parsing text/part0039.html ...
Parsing text/part0133.html ...
Parsing text/part0040.html ...
Parsing text/part0103.html ...
Parsing text/part0007.html ...
Parsing text/part0041.html ...
Parsing text/part0134.html ...
Parsing text/part0140.html ...
Parsing text/part0002.html ...
Initial parse failed, using more forgiving parsers
Parsing text/part0002.html as HTML
Parsing text/part0042.html ...
Parsing text/part0104.html ...
Parsing text/part0008.html ...
Parsing text/part0043.html ...
Parsing text/part0044.html ...
Initial parse failed, using more forgiving parsers
Parsing text/part0044.html as HTML
Parsing text/part0105.html ...
Parsing text/part0009.html ...
Parsing text/part0045.html ...
Parsing text/part0015.html ...
Parsing text/part0126.html ...
Parsing text/part0161.html ...
Parsing text/part0066.html ...
Parsing text/part0106.html ...
Parsing text/part0187.html ...
Parsing text/part0010.html ...
Parsing text/part0047.html ...
Parsing text/part0058.html ...
Parsing text/part0177.html ...
Parsing text/part0048.html ...
Parsing text/part0147.html ...
Parsing text/part0107.html ...
Parsing text/part0011.html ...
Parsing text/part0049.html ...
Parsing text/part0050.html ...
Parsing text/part0108.html ...
Parsing text/part0012.html ...
Parsing text/part0051.html ...
Parsing text/part0113.html ...
Parsing text/part0121.html ...
Parsing text/part0052.html ...
Parsing text/part0109.html ...
Parsing text/part0013.html ...
Parsing text/part0053.html ...
Parsing text/part0135.html ...
Parsing text/part0120.html ...
Parsing text/part0054.html ...
Parsing text/part0110.html ...
Parsing text/part0014.html ...
Parsing text/part0055.html ...
Parsing text/part0167.html ...
Parsing text/part0056.html ...
Parsing text/part0111.html ...
Parsing text/part0090.html ...
Parsing text/part0057.html ...
Parsing text/part0151.html ...
Parsing text/part0016.html ...
Parsing text/part0112.html ...
Parsing text/part0091.html ...
Parsing text/part0059.html ...
Parsing text/part0017.html ...
Parsing text/part0181.html ...
Parsing text/part0060.html ...
Referenced file u'text/page-template.xpgt' 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 7334 items of level: div_1
Found 1 items of level: div_2
Found 6735 items of level: p_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
div_2 left margin stats: Counter()
div_2 right margin stats: Counter()
p_1 left margin stats: Counter({u'0': 6733, u'6.8em': 1, u'2.8em': 1})
p_1 right margin stats: Counter({u'0': 6735})
No embedded fonts found
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00004.jpeg' from manifest
Creating MOBI Output...
Serializing resources...
Creating MOBI 6 output
Applying case-transforming CSS...
Parsing manglecase.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Python function terminated unexpectedly
'float' object has no attribute 'lower' (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 189, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1189, in run
File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 202, in convert
File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 234, in write_mobi
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 113, in __call__
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 124, in mobimlize_spine
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 545, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 545, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 545, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 385, in mobimlize_elem
AttributeError: 'float' object has no attribute 'lower'
JSWolf is offline   Reply With Quote
Old 10-20-2013, 08:53 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
is there a float: lower in the CSS? this is not valid
theducks is offline   Reply With Quote
Old 10-20-2013, 09:09 PM   #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: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
There is no float: lower in this eBook.
JSWolf is offline   Reply With Quote
Old 10-20-2013, 09:42 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JSWolf View Post
There is no float: lower in this eBook.
Must be a parsing error then. You can see what the last line says
theducks is offline   Reply With Quote
Old 10-20-2013, 10:30 PM   #5
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,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error indicates your book has a font-family: with a number in it somewhere.
kovidgoyal is offline   Reply With Quote
Old 10-20-2013, 10:54 PM   #6
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: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I'll have a look at the CSS tomorrow and see what I can find. Thanks for the help.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion FAILS BionicDance Conversion 3 05-19-2013 07:10 PM
Conversion from epub to mobi or azw3 fails Jimbo724 Conversion 3 11-30-2012 02:32 AM
LRF conversion fails (to mobi) styt Conversion 4 04-02-2011 07:18 PM
HTML to Mobi conversion fails gilbert1111 Calibre 5 01-14-2011 10:23 AM
Can't convert MOBI to EPUB.. conversion FAILS wallace.webmail Calibre 5 07-16-2010 12:45 AM


All times are GMT -4. The time now is 05:15 AM.


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