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 05-24-2011, 12:39 PM   #1
luthar28
Enthusiast
luthar28 began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jul 2010
Device: Kindle
Error message when converting from ZIP to ePub

I am using Calibre 0.8.2 -- on Windows 7. I've just upgraded from Windows XP where I haven't had any problems.

My first book was great. Second...it won't convert it...I get an error message. I've tried running it without any metadata, or any TOC...as base as possible but no luck.

This is the error -- most of it means nothing to me! Any ideas?

calibre, version 0.8.2
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Picking Up the Ghost)

Convert book 1 of 1 (Picking Up the Ghost)
Processing archive...
Resolved conversion options
calibre version: 0.8.2
{'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(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_package': False,
'dont_split_on_page_breaks': False,
'enable_heuristics': False,
'epub_flatten': False,
'extra_css': None,
'extract_to': None,
'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 0x0569AA30>,
'insert_blank_line': False,
'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,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x0569AC30>,
'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\\ryanmc~1\\appdata\\local\\temp\\calib re_0.8.2_tmp_2p9dmu\\calibre_0.8.2_lt40qs.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'',
'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,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: HTML Input running
on c:\users\ryanmc~1\appdata\local\temp\calibre_0.8.2 _tmp_2p9dmu\calibre_0.8.2_pqb0kk_plumber_archive\c ontent.opf
Parsing all content...
Manifest item 'toc.ncx' not found
Parsing Picking%20Up%20the%20Ghost.html ...
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Python function terminated unexpectedly
cannot concatenate 'str' and 'NoneType' objects (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 181, 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 1006, in run
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 123, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 150, in stylize_spine
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 173, in __init__
TypeError: cannot concatenate 'str' and 'NoneType' objects
luthar28 is offline   Reply With Quote
Old 05-24-2011, 12:45 PM   #2
luthar28
Enthusiast
luthar28 began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jul 2010
Device: Kindle
I JUST found the problem.

I had an undeclared DIV (no corresponding class in the stylesheet). I erased that...and no probs!
luthar28 is offline   Reply With Quote
Old 05-24-2011, 01:04 PM   #3
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80446
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Moderator Notice
Moved to correct forum.
Manichean 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
ibook epub error message dlanzarotta ePub 3 05-27-2011 08:46 AM
Conversion error when converting zip to epub siebert Conversion 2 02-27-2011 11:40 AM
Epub Fixer Error: "zip error: 15" Gordo29 Kobo Reader 0 06-26-2010 01:57 PM
Error Converting Zip Files w/ Multiple Formats TheHeartlessHero Calibre 2 04-10-2010 10:54 AM
Error message converting PRC to LRF Amalthia Calibre 5 06-27-2009 04:01 PM


All times are GMT -4. The time now is 12:55 AM.


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