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 08-14-2012, 07:37 PM   #1
bizzybody
Addict
bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.
 
Posts: 294
Karma: 7742186
Join Date: Apr 2007
Location: Idaho, USA
Device: Various PalmOS PDAs, Android Phones, Sharper Image Literati
Fixing referenced file not in manifest converting from html.zip?

Trying to convert a zipped HTML to Mobi and Calibre is saying none of the files are in the manifest. All the files are in the zip.

calibre, version 0.8.64 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (book title)
Spoiler:

Convert book 1 of 1 (book title)
Processing archive...
Resolved conversion options
calibre version: 0.8.64
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'breadth_first': False,
'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:\\DOCUME~2\\User\\LOCALS~1\\Temp\\calibre_0.8. 64_tmp_j5ohzz\\diltty.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'dont_package': False,
'duplicate_links_in_toc': False,
'enable_heuristics': 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 0x03404270>,
'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_levels': 5,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'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.GenericEink object at 0x03404470>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'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:\\DOCUME~2\\User\\LOCALS~1\\Temp\\calibre_0.8. 64_tmp_j5ohzz\\6c8jt4.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,
'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: HTML Input running
on C:\DOCUME~2\User\LOCALS~1\Temp\calibre_0.8.64_tmp_ j5ohzz\avfk3m_plumber_archive\A9781451637762.opf
Parsing all content...
Manifest item 'A9781451637762__p_.htm' not found
Manifest item 'A9781451637762_Cover.jpg' not found
Manifest item 'A9781451637762_Library.jpg' not found
Manifest item 'A9781451637762_Title.jpg' not found
Manifest item 'A9781451637762_PCCover.jpg' not found
Manifest item 'A9781451637762_PCLibrary.jpg' not found
Parsing A9781451637762_toc.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762_toc.htm as HTML
Referenced file 'A9781451637762__75.htm' not in manifest
Referenced file 'A9781451637762__42.htm' not in manifest
Referenced file 'A9781451637762__66.htm' not in manifest
Referenced file 'A9781451637762__47.htm' not in manifest
Referenced file 'A9781451637762__48.htm' not in manifest
Referenced file 'A9781451637762___3.htm' not in manifest
Referenced file 'A9781451637762__11.htm' not in manifest
Referenced file 'A9781451637762__61.htm' not in manifest
Referenced file 'A9781451637762___5.htm' not in manifest
Referenced file 'A9781451637762__16.htm' not in manifest
Referenced file 'A9781451637762__69.htm' not in manifest
Referenced file 'A9781451637762__52.htm' not in manifest
Referenced file 'A9781451637762__51.htm' not in manifest
Referenced file 'A9781451637762__71.htm' not in manifest
Referenced file 'A9781451637762__15.htm' not in manifest
Referenced file 'A9781451637762__54.htm' not in manifest
Referenced file 'A9781451637762__46.htm' not in manifest
Referenced file 'A9781451637762__76.htm' not in manifest
Referenced file 'A9781451637762__70.htm' not in manifest
Referenced file 'A9781451637762__68.htm' not in manifest
Referenced file 'A9781451637762__27.htm' not in manifest
Referenced file 'A9781451637762__82.htm' not in manifest
Referenced file 'A9781451637762___6.htm' not in manifest
Referenced file 'A9781451637762__64.htm' not in manifest
Referenced file 'A9781451637762__88.htm' not in manifest
Referenced file 'A9781451637762__55.htm' not in manifest
Referenced file 'A9781451637762__63.htm' not in manifest
Referenced file 'A9781451637762__29.htm' not in manifest
Referenced file 'A9781451637762__37.htm' not in manifest
Referenced file 'A9781451637762__30.htm' not in manifest
Referenced file 'A9781451637762__78.htm' not in manifest
Referenced file 'A9781451637762__14.htm' not in manifest
Referenced file 'A9781451637762__87.htm' not in manifest
Referenced file 'A9781451637762__60.htm' not in manifest
Referenced file 'A9781451637762__91.htm' not in manifest
Referenced file 'A9781451637762__65.htm' not in manifest
Referenced file 'A9781451637762__73.htm' not in manifest
Referenced file 'A9781451637762__33.htm' not in manifest
Referenced file 'A9781451637762__22.htm' not in manifest
Referenced file 'A9781451637762__13.htm' not in manifest
Referenced file 'A9781451637762__38.htm' not in manifest
Referenced file 'A9781451637762__49.htm' not in manifest
Referenced file 'A9781451637762__81.htm' not in manifest
Referenced file 'A9781451637762__86.htm' not in manifest
Referenced file 'A9781451637762__56.htm' not in manifest
Referenced file 'A9781451637762__41.htm' not in manifest
Referenced file 'A9781451637762__77.htm' not in manifest
Referenced file 'A9781451637762__12.htm' not in manifest
Referenced file 'A9781451637762__50.htm' not in manifest
Referenced file 'A9781451637762__72.htm' not in manifest
Referenced file 'A9781451637762__26.htm' not in manifest
Referenced file 'A9781451637762___1.htm' not in manifest
Referenced file 'A9781451637762__c_.htm' not in manifest
Referenced file 'A9781451637762__32.htm' not in manifest
Referenced file 'A9781451637762__85.htm' not in manifest
Referenced file 'A9781451637762__67.htm' not in manifest
Referenced file 'A9781451637762__23.htm' not in manifest
Referenced file 'A9781451637762__25.htm' not in manifest
Referenced file 'A9781451637762__79.htm' not in manifest
Referenced file 'A9781451637762__39.htm' not in manifest
Referenced file 'A9781451637762__59.htm' not in manifest
Referenced file 'A9781451637762__18.htm' not in manifest
Referenced file 'A9781451637762__17.htm' not in manifest
Referenced file 'A9781451637762__44.htm' not in manifest
Referenced file 'A9781451637762__10.htm' not in manifest
Referenced file 'A9781451637762__28.htm' not in manifest
Referenced file 'A9781451637762___9.htm' not in manifest
Referenced file 'A9781451637762___8.htm' not in manifest
Referenced file 'A9781451637762__83.htm' not in manifest
Referenced file 'A9781451637762__34.htm' not in manifest
Referenced file 'A9781451637762__80.htm' not in manifest
Referenced file 'A9781451637762__24.htm' not in manifest
Referenced file 'A9781451637762__40.htm' not in manifest
Referenced file 'A9781451637762__21.htm' not in manifest
Referenced file 'A9781451637762__19.htm' not in manifest
Referenced file 'A9781451637762__57.htm' not in manifest
Referenced file 'A9781451637762__58.htm' not in manifest
Referenced file 'A9781451637762__89.htm' not in manifest
Referenced file 'A9781451637762__35.htm' not in manifest
Referenced file 'A9781451637762__84.htm' not in manifest
Referenced file 'A9781451637762__45.htm' not in manifest
Referenced file 'A9781451637762___4.htm' not in manifest
Referenced file 'A9781451637762__90.htm' not in manifest
Referenced file 'A9781451637762__62.htm' not in manifest
Referenced file 'A9781451637762__43.htm' not in manifest
Referenced file 'A9781451637762___7.htm' not in manifest
Referenced file 'A9781451637762__53.htm' not in manifest
Referenced file 'A9781451637762___2.htm' not in manifest
Referenced file 'A9781451637762__31.htm' not in manifest
Referenced file 'A9781451637762__20.htm' not in manifest
Referenced file 'A9781451637762__74.htm' not in manifest
Referenced file 'A9781451637762__36.htm' not in manifest
Parsing A9781451637762__71.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__71.htm as HTML
Parsing A9781451637762__15.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__15.htm as HTML
Parsing A9781451637762__54.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__54.htm as HTML
Parsing A9781451637762__46.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__46.htm as HTML
Parsing A9781451637762__76.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__76.htm as HTML
Parsing A9781451637762__70.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__70.htm as HTML
Parsing A9781451637762__68.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__68.htm as HTML
Parsing A9781451637762__27.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__27.htm as HTML
Parsing A9781451637762__82.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__82.htm as HTML
Parsing A9781451637762___6.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762___6.htm as HTML
Parsing A9781451637762__64.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__64.htm as HTML
Parsing A9781451637762__88.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__88.htm as HTML
Parsing A9781451637762__55.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__55.htm as HTML
Parsing A9781451637762__63.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__63.htm as HTML
Parsing A9781451637762__29.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__29.htm as HTML
Parsing A9781451637762__37.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__37.htm as HTML
Parsing A9781451637762__30.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__30.htm as HTML
Parsing A9781451637762__78.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__78.htm as HTML
Parsing A9781451637762__14.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__14.htm as HTML
Parsing A9781451637762__87.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__87.htm as HTML
Parsing A9781451637762__60.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__60.htm as HTML
Parsing A9781451637762__91.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__91.htm as HTML
Parsing A9781451637762__65.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__65.htm as HTML
Parsing A9781451637762__42.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__42.htm as HTML
Parsing A9781451637762__75.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__75.htm as HTML
Parsing A9781451637762__33.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__33.htm as HTML
Parsing A9781451637762__22.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__22.htm as HTML
Parsing A9781451637762__13.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__13.htm as HTML
Parsing A9781451637762__38.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__38.htm as HTML
Parsing A9781451637762__49.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__49.htm as HTML
Parsing A9781451637762__81.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__81.htm as HTML
Parsing A9781451637762__86.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__86.htm as HTML
Parsing A9781451637762__56.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__56.htm as HTML
Parsing A9781451637762__41.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__41.htm as HTML
Parsing A9781451637762__77.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__77.htm as HTML
Parsing A9781451637762__12.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__12.htm as HTML
Parsing A9781451637762__50.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__50.htm as HTML
Parsing A9781451637762__72.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__72.htm as HTML
Parsing A9781451637762__26.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__26.htm as HTML
Parsing A9781451637762___1.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762___1.htm as HTML
Parsing A9781451637762__c_.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__c_.htm as HTML
Parsing A9781451637762__32.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__32.htm as HTML
Parsing A9781451637762__85.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__85.htm as HTML
Parsing A9781451637762__67.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__67.htm as HTML
Parsing A9781451637762__23.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__23.htm as HTML
Parsing A9781451637762__25.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__25.htm as HTML
Parsing A9781451637762__79.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__79.htm as HTML
Parsing A9781451637762__39.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__39.htm as HTML
Parsing A9781451637762__59.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__59.htm as HTML
Parsing A9781451637762__18.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__18.htm as HTML
Parsing A9781451637762__17.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__17.htm as HTML
Parsing A9781451637762__44.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__44.htm as HTML
Parsing A9781451637762__10.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__10.htm as HTML
Parsing A9781451637762__28.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__28.htm as HTML
Parsing A9781451637762__66.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__66.htm as HTML
Parsing A9781451637762___8.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762___8.htm as HTML
Parsing A9781451637762__83.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__83.htm as HTML
Parsing A9781451637762__34.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__34.htm as HTML
Parsing A9781451637762__80.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__80.htm as HTML
Parsing A9781451637762__24.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__24.htm as HTML
Parsing A9781451637762__40.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__40.htm as HTML
Parsing A9781451637762__21.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__21.htm as HTML
Parsing A9781451637762__19.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__19.htm as HTML
Parsing A9781451637762__57.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__57.htm as HTML
Parsing A9781451637762__58.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__58.htm as HTML
Parsing A9781451637762__89.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__89.htm as HTML
Parsing A9781451637762__35.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__35.htm as HTML
Parsing A9781451637762__84.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__84.htm as HTML
Parsing A9781451637762__45.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__45.htm as HTML
Parsing A9781451637762___9.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762___9.htm as HTML
Parsing A9781451637762___4.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762___4.htm as HTML
Parsing A9781451637762__90.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__90.htm as HTML
Parsing A9781451637762__62.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__62.htm as HTML
Parsing A9781451637762__43.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__43.htm as HTML
Parsing A9781451637762___7.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762___7.htm as HTML
Parsing A9781451637762__53.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__53.htm as HTML
Parsing A9781451637762___2.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762___2.htm as HTML
Parsing A9781451637762__31.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__31.htm as HTML
Parsing A9781451637762__20.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__20.htm as HTML
Parsing A9781451637762__74.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__74.htm as HTML
Parsing A9781451637762__36.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__36.htm as HTML
Parsing A9781451637762__73.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__73.htm as HTML
Parsing A9781451637762__47.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__47.htm as HTML
Parsing A9781451637762__48.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__48.htm as HTML
Parsing A9781451637762___3.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762___3.htm as HTML
Parsing A9781451637762__11.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__11.htm as HTML
Parsing A9781451637762__61.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__61.htm as HTML
Parsing A9781451637762___5.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762___5.htm as HTML
Parsing A9781451637762__16.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__16.htm as HTML
Parsing A9781451637762__69.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__69.htm as HTML
Parsing A9781451637762__52.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__52.htm as HTML
Parsing A9781451637762__51.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762__51.htm as HTML
Referenced file 'images/map2.jpg' not in manifest
Referenced file 'images/castofcharacters2.jpg' not in manifest
Referenced file 'buttonorder.png' not in manifest
Referenced file 'images/map1.jpg' not in manifest
Referenced file 'A9781451637762.jpg' not in manifest
Referenced file 'A9781451637762.htm' not in manifest
Referenced file 'images/castofcharacters1.jpg' not in manifest
Parsing A9781451637762.htm ...
Initial parse failed, using more forgiving parsers
Parsing A9781451637762.htm as HTML
File A9781451637762.htm missing <body/> element
Referenced file 'banner.htm' not in manifest
Referenced file 'bncontrol.htm' not in manifest
Parsing bncontrol.htm ...
Parsing banner.htm ...
Referenced file 'background.jpg' not in manifest
Spine item 'content' not found
Python function terminated unexpectedly
Spine is empty (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 192, 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 979, in run
File "site-packages\calibre\customize\conversion.py", line 239, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\html_in put.py", line 83, in convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1143, in create_oebbook
File "site-packages\calibre\ebooks\oeb\reader.py", line 70, in __call__
File "site-packages\calibre\ebooks\oeb\reader.py", line 678, in _all_from_opf
File "site-packages\calibre\ebooks\oeb\reader.py", line 331, in _spine_from_opf
calibre.ebooks.oeb.base.OEBError: Spine is empty

Last edited by theducks; 08-14-2012 at 09:21 PM. Reason: Wrapped long paste in Spoiler
bizzybody is offline   Reply With Quote
Old 08-14-2012, 11:52 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,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
delete the opf from the zip file then convert it.
kovidgoyal is online now   Reply With Quote
Advert
Old 08-15-2012, 03:05 AM   #3
bizzybody
Addict
bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.
 
Posts: 294
Karma: 7742186
Join Date: Apr 2007
Location: Idaho, USA
Device: Various PalmOS PDAs, Android Phones, Sharper Image Literati
Removing the OPF from the ZIP allowed it to convert BUT Calibre assembled all the html files in the wrong order. There's 83 chapters, each one a separate file plus a table of contents file and some others that serve other purposes when viewing in a browser.

The file names are all the same, ending in 1 through 91. 'Course not having files 1 through 9 as 01 through 09 causes problems but WTH did Calibre decide to put Chapter 30 at the start of the book then count them down in reverse order to Chapter 1, then the TOC, the front matter, then Chapter 31 up through 83 in correct order?

I've finally got it all in correct order. I put it together in Mobipocket Creator, using its ability to ensure the files will be assembled in the desired order, then dragged that mobi file into Calibre to use it to update the metadata and reconvert to mobi format.

Would be much easier to be able to drag a folder of HTML files and images into Calibre and have a window where the user could drag them into the desired order to ensure it'll be right.
bizzybody is offline   Reply With Quote
Old 08-15-2012, 03:08 AM   #4
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,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre has a FAQ for a reason: http://manual.calibre-ebook.com/faq....specific-order
kovidgoyal is online now   Reply With Quote
Old 08-15-2012, 05:00 AM   #5
bizzybody
Addict
bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.
 
Posts: 294
Karma: 7742186
Join Date: Apr 2007
Location: Idaho, USA
Device: Various PalmOS PDAs, Android Phones, Sharper Image Literati
I had a toc.htm in the zip. Apparently there was something about it Calibre didn't like so it ignored it.

I didn't create that file, came with the rest of them.

As a 'fail safe' when there's no toc file or it can't parse the toc, why not have Calibre go by the file names, if they're like these, all identical except for an incremented number at the end, and able to order them correctly with or without leading zeroes? One more thing to make Calibre better and easier to use.
bizzybody is offline   Reply With Quote
Advert
Old 08-15-2012, 08:08 AM   #6
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,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Maybe you had trouble understanding the FAQ. You need to add the toc.html file to calibre, not a zip file containing a broken OPF and random html files anyone of which may or may not be a toc.
kovidgoyal is online now   Reply With Quote
Old 08-15-2012, 05:36 PM   #7
bizzybody
Addict
bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.
 
Posts: 294
Karma: 7742186
Join Date: Apr 2007
Location: Idaho, USA
Device: Various PalmOS PDAs, Android Phones, Sharper Image Literati
Quote:
Originally Posted by kovidgoyal View Post
Maybe you had trouble understanding the FAQ. You need to add the toc.html file to calibre, not a zip file containing a broken OPF and random html files anyone of which may or may not be a toc.
I removed the OPF from the zip file and renamed the A9781451637762_toc.htm file to toc.html in the ZIP.

They are NOT "random" html files. They are numbered in ascending order.

A9781451637762___1.htm
A9781451637762___2.htm
A9781451637762___3.htm
through
A9781451637762__91.htm

A program designed to assemble multiple files into a specially formatted container like Mobi or Epub should be able to follow a numerical sequence. That's one of the most basic elements of programming, sorting numerically or alphabetically.

Here's the contents of the toc.html, which displays fine in a browser. Must be something about it that Calibre doesn't like.

Spoiler:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE html PUBLIC "+//ISBN 0-9673008-1-9//DTD OEB 1.2 Document//EN" "http://openebook.org/dtds/oeb-1.2/oebdoc12.dtd">
<html xml:lang="en-us" xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html;" />
<title>1636: The Kremlin Games-ARC</title>
<meta name="Publisher" content="Baen Books" />
<meta name="Copyright" content="2012 by Eric Flint" />
<meta name="Author" content="Eric Flint, Gorg Huff and Paula Goodlett" />
<style type="text/css">
p {text-indent:2em;margin-top:0;margin-bottom:2px}
h1 {page-break-before:left}
</style>
<script type="text/javascript" language="javascript"><!--
function setStyle()
{
if (parent.control) if (parent.control.mainLoad) parent.control.mainLoad(document);
if (window.focus) window.focus();
}
function PNo(PgNo)
{
if (parent.control) if (parent.control.SetPage) parent.control.document.forms[0].PageNo.value = PgNo;
}
setStyle();
//--></script>
</head>
<body onload="setStyle()" >
<p align="right"><a href="A9781451637762__c_.htm">Back</a> | <a href="A9781451637762___1.htm">Next</a><br /><a href="">Contents</a></p>
<h1 align="center">1636: The Kremlin Games-ARC</h1>
<h2 align="center">Table of Contents</h2>
<a href="A9781451637762___1.htm"><b>Maps</b></a><br />
<br>
<a href="A9781451637762___2.htm"><b>Part One</b></a>
<blockquote>
<a href="A9781451637762___3.htm"><b>Chapter 1</b></a><br />
<a href="A9781451637762___4.htm"><b>Chapter 2</b></a><br />
<a href="A9781451637762___5.htm"><b>Chapter 3</b></a><br />
<a href="A9781451637762___6.htm"><b>Chapter 4</b></a><br />
<a href="A9781451637762___7.htm"><b>Chapter 5</b></a>
</blockquote>
<a href="A9781451637762___8.htm"><b>Part Two</b></a>
<blockquote>
<a href="A9781451637762___9.htm"><b>Chapter 6</b></a><br />
<a href="A9781451637762__10.htm"><b>Chapter 7</b></a><br />
<a href="A9781451637762__11.htm"><b>Chapter 8</b></a><br />
<a href="A9781451637762__12.htm"><b>Chapter 9</b></a><br />
<a href="A9781451637762__13.htm"><b>Chapter 10</b></a><br />
<a href="A9781451637762__14.htm"><b>Chapter 11</b></a><br />
<a href="A9781451637762__15.htm"><b>Chapter 12</b></a><br />
<a href="A9781451637762__16.htm"><b>Chapter 13</b></a><br />
<a href="A9781451637762__17.htm"><b>Chapter 14</b></a><br />
<a href="A9781451637762__18.htm"><b>Chapter 15</b></a><br />
<a href="A9781451637762__19.htm"><b>Chapter 16</b></a><br />
<a href="A9781451637762__20.htm"><b>Chapter 17</b></a><br />
<a href="A9781451637762__21.htm"><b>Chapter 18</b></a><br />
<a href="A9781451637762__22.htm"><b>Chapter 19</b></a><br />
<a href="A9781451637762__23.htm"><b>Chapter 20</b></a><br />
<a href="A9781451637762__24.htm"><b>Chapter 21</b></a><br />
<a href="A9781451637762__25.htm"><b>Chapter 22</b></a><br />
<a href="A9781451637762__26.htm"><b>Chapter 23</b></a><br />
<a href="A9781451637762__27.htm"><b>Chapter 24</b></a><br />
<a href="A9781451637762__28.htm"><b>Chapter 25</b></a><br />
<a href="A9781451637762__29.htm"><b>Chapter 26</b></a><br />
<a href="A9781451637762__30.htm"><b>Chapter 27</b></a><br />
<a href="A9781451637762__31.htm"><b>Chapter 28</b></a>
</blockquote>
<a href="A9781451637762__32.htm"><b>Part Three</b></a>
<blockquote>
<a href="A9781451637762__33.htm"><b>Chapter 29</b></a><br />
<a href="A9781451637762__34.htm"><b>Chapter 30</b></a><br />
<a href="A9781451637762__35.htm"><b>Chapter 31</b></a><br />
<a href="A9781451637762__36.htm"><b>Chapter 32</b></a><br />
<a href="A9781451637762__37.htm"><b>Chapter 33</b></a><br />
<a href="A9781451637762__38.htm"><b>Chapter 34</b></a><br />
<a href="A9781451637762__39.htm"><b>Chapter 35</b></a><br />
<a href="A9781451637762__40.htm"><b>Chapter 36</b></a><br />
<a href="A9781451637762__41.htm"><b>Chapter 37</b></a><br />
<a href="A9781451637762__42.htm"><b>Chapter 38</b></a><br />
<a href="A9781451637762__43.htm"><b>Chapter 39</b></a><br />
<a href="A9781451637762__44.htm"><b>Chapter 40</b></a><br />
<a href="A9781451637762__45.htm"><b>Chapter 41</b></a><br />
<a href="A9781451637762__46.htm"><b>Chapter 42</b></a><br />
<a href="A9781451637762__47.htm"><b>Chapter 43</b></a><br />
<a href="A9781451637762__48.htm"><b>Chapter 44</b></a>
</blockquote>
<a href="A9781451637762__49.htm"><b>Part Four</b></a>
<blockquote>
<a href="A9781451637762__50.htm"><b>Chapter 45</b></a><br />
<a href="A9781451637762__51.htm"><b>Chapter 46</b></a><br />
<a href="A9781451637762__52.htm"><b>Chapter 47</b></a><br />
<a href="A9781451637762__53.htm"><b>Chapter 48</b></a><br />
<a href="A9781451637762__54.htm"><b>Chapter 49</b></a><br />
<a href="A9781451637762__55.htm"><b>Chapter 50</b></a><br />
<a href="A9781451637762__56.htm"><b>Chapter 51</b></a><br />
<a href="A9781451637762__57.htm"><b>Chapter 52</b></a><br />
<a href="A9781451637762__58.htm"><b>Chapter 53</b></a><br />
<a href="A9781451637762__59.htm"><b>Chapter 54</b></a><br />
<a href="A9781451637762__60.htm"><b>Chapter 55</b></a><br />
<a href="A9781451637762__61.htm"><b>Chapter 56</b></a><br />
<a href="A9781451637762__62.htm"><b>Chapter 57</b></a><br />
<a href="A9781451637762__63.htm"><b>Chapter 58</b></a><br />
<a href="A9781451637762__64.htm"><b>Chapter 59</b></a><br />
<a href="A9781451637762__65.htm"><b>Chapter 60</b></a><br />
<a href="A9781451637762__66.htm"><b>Chapter 61</b></a><br />
<a href="A9781451637762__67.htm"><b>Chapter 62</b></a>
</blockquote>
<a href="A9781451637762__68.htm"><b>Part Five</b></a>
<blockquote>
<a href="A9781451637762__69.htm"><b>Chapter 63</b></a><br />
<a href="A9781451637762__70.htm"><b>Chapter 64</b></a><br />
<a href="A9781451637762__71.htm"><b>Chapter 65</b></a><br />
<a href="A9781451637762__72.htm"><b>Chapter 66</b></a><br />
<a href="A9781451637762__73.htm"><b>Chapter 67</b></a><br />
<a href="A9781451637762__74.htm"><b>Chapter 68</b></a><br />
<a href="A9781451637762__75.htm"><b>Chapter 69</b></a>
</blockquote>
<a href="A9781451637762__76.htm"><b>Part Six</b></a>
<blockquote>
<a href="A9781451637762__77.htm"><b>Chapter 70</b></a><br />
<a href="A9781451637762__78.htm"><b>Chapter 71</b></a><br />
<a href="A9781451637762__79.htm"><b>Chapter 72</b></a><br />
<a href="A9781451637762__80.htm"><b>Chapter 73</b></a><br />
<a href="A9781451637762__81.htm"><b>Chapter 74</b></a><br />
<a href="A9781451637762__82.htm"><b>Chapter 75</b></a><br />
<a href="A9781451637762__83.htm"><b>Chapter 76</b></a><br />
<a href="A9781451637762__84.htm"><b>Chapter 77</b></a><br />
<a href="A9781451637762__85.htm"><b>Chapter 78</b></a><br />
<a href="A9781451637762__86.htm"><b>Chapter 79</b></a><br />
<a href="A9781451637762__87.htm"><b>Chapter 80</b></a><br />
<a href="A9781451637762__88.htm"><b>Chapter 81</b></a><br />
<a href="A9781451637762__89.htm"><b>Chapter 82</b></a><br />
<a href="A9781451637762__90.htm"><b>Chapter 83</b></a>
</blockquote>
<a href="A9781451637762__91.htm"><b>Cast of Characters</b></a><br />
<p align="right"><a href="A9781451637762__c_.htm">Back</a> | <a href="A9781451637762___1.htm">Next</a></p>
</body>
</html>
bizzybody is offline   Reply With Quote
Old 08-15-2012, 09:02 PM   #8
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: 31,023
Karma: 60358908
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 bizzybody View Post
I removed the OPF from the zip file and renamed the A9781451637762_toc.htm file to toc.html in the ZIP.

They are NOT "random" html files. They are numbered in ascending order.

A9781451637762___1.htm
A9781451637762___2.htm
A9781451637762___3.htm
through
A9781451637762__91.htm

A program designed to assemble multiple files into a specially formatted container like Mobi or Epub should be able to follow a numerical sequence. That's one of the most basic elements of programming, sorting numerically or alphabetically.

Here's the contents of the toc.html, which displays fine in a browser. Must be something about it that Calibre doesn't like.
The are pseudo-random as the ASCII sort will sort 20 after 2, 80 after 8


Note padding all digits eg 08 will sort properly for 2 digits
theducks is offline   Reply With Quote
Old 08-15-2012, 09:15 PM   #9
bizzybody
Addict
bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.
 
Posts: 294
Karma: 7742186
Join Date: Apr 2007
Location: Idaho, USA
Device: Various PalmOS PDAs, Android Phones, Sharper Image Literati
Yup, that's an issue Windows has long had when displaying file names that're all the same except for a number at the end, or that begin with a number.

Microsoft finally fixed that in Vista with the Aero Glass theme. (Switch to the Classic theme and Vista's Explorer mis-sorts numerical files like all Windows Explorer and File Manager versions before it.)

It's not *difficult* to write code to correctly order numbers that don't have leading zeros, one just has to decide you're going to write your sorting code to handle either case.

'Course that doesn't explain how Calibre "sorted" the files starting at 30, descended to 1 then back up.
bizzybody is offline   Reply With Quote
Old 08-16-2012, 01:35 AM   #10
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by bizzybody View Post
It's not *difficult* to write code to correctly order numbers that don't have leading zeros, one just has to decide you're going to write your sorting code to handle either case.

'Course that doesn't explain how Calibre "sorted" the files starting at 30, descended to 1 then back up.
It is not up to calibre to figure out the proper order for a html book, it is up to the TOC, Index or whatever you choose to call the main html page. When you have a zip with a bunch of html files any file can be the index, toc or main page there is no standard for naming. So any htmls already zipped up ARE "random" html files, since calibre has no idea which file controls the rest.

Quote:
Originally Posted by bizzybody View Post
Here's the contents of the toc.html, which displays fine in a browser. Must be something about it that Calibre doesn't like.
If you dumped all of the files from your zip file into a folder. Checked out the toc in a browser to ensure it all works fine. Once verified that it is working from a completely local setup, simply add the toc.html to calibre. Calibre will gather up all associated files as described in the TOC and zip them up as the book is added to calibre and everything would work perfect.

As Kovid suggested you might want to reread this section of the FAQ. Specifically the last line where it says "Then just add this HTML file to the GUI." The FAQ does not say to add the revised html to your zip file and then add that zip file to calibre.

Last edited by DoctorOhh; 08-16-2012 at 01:40 AM.
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML file doesn't import to ZIP webdad Conversion 6 11-13-2011 12:03 PM
Converting Mobi or HTML file to Epub Patuba ePub 7 07-19-2011 12:11 PM
Convert HTML to MOBI (HTML recognized as ZIP file) pdubois Conversion 1 01-25-2011 12:55 PM
html file read as zip Newmarket2 Calibre 12 01-05-2011 03:17 PM
Need help converting file which is too long to be HTML ficbot Workshop 8 04-06-2010 11:45 PM


All times are GMT -4. The time now is 02:38 AM.


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