View Single Post
Old 06-04-2010, 03:13 AM   #1
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
html 2 epub will not convert

I'm not sure why Calibre won't convert my html files to epub. I did copy the error message. I tried single convert, bulk convert, turning off the program and restarting it. I'm currently using version 6.55.

I haven't changed any settings on my computer since I last converted to epub a few days ago. The only thing I changed was upgrading to the newest version of Calibre. Please let me know if I need to leave a ticket. Or if you see something that I'm missing. I'd appreciate any and all help.

-----
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Everything Changes (And You Gotta Be Ready))

Convert book 1 of 1 (Everything Changes (And You Gotta Be Ready))
Processing archive...
Resolved conversion options
calibre version: 0.6.55
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 14.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\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_package': False,
'dont_split_on_page_breaks': False,
'extra_css': u'body { margin: 0; }\np {margin-top: 0pt; margin-bottom: 0pt; padding: 0pt; text-indent: 15pt; text-align: justify;}\nh1 { text-align: center; }\nh2 {text-align: center; font-weight: 600; font-size: x-large; padding-bottom: 20pt; page-break-before: always;}\nh3 { text-align: center; padding-bottom: 20pt; font-weight: 600; font-size: xx-large }\nh4 { text-align: center; }\nh5 { text-align: center; }\nh6 { text-align: center; }',
'extract_to': None,
'flow_size': 260,
'font_size_mapping': u'7.5, 9, 10, 12, 15.5, 20, 22, 24',
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x04EFE990>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'keep_ligatures': False,
'language': None,
'level1_toc': u'//h:h2',
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 0.0,
'margin_left': 1.0,
'margin_right': 1.0,
'margin_top': 0.0,
'max_levels': 5,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_default_epub_cover': True,
'no_inline_navbars': False,
'no_svg_cover': True,
'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x04EFED30>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preprocess_html': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\users\\amalthia\\appdata\\local\\temp\\calibr e_0.6.55_nluzeu.opf',
'remove_first_image': False,
'remove_footer': True,
'remove_header': True,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'unwrap_factor': 0.0,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: HTML Input running
on c:\users\amalthia\appdata\local\temp\calibre_0.6.5 5_hsr30t_plumber\content.opf
Parsing all content...
Manifest item 'toc.ncx' not found
Parsing Temaris%20Everything%20Changes%20%28And%20You%20Go tta%20Be%20Ready%29.htm ...
Failed to parse remove_footer regexp
Traceback (most recent call last):
File "site-packages\calibre\ebooks\conversion\preprocess.py", line 266, in __call__
TypeError: 'int' object is not callable
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 1 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Creating EPUB Output...
Splitting on page-break
Looking for large trees in Temaris%20Everything%20Changes%20%28And%20You%20Go tta%20Be%20Ready%29.htm...
No large trees found
Split into 2 parts
Python function terminated unexpectedly
'NoneType' object has no attribute 'find' (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 99, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 919, in run
File "site-packages\calibre\ebooks\epub\output.py", line 161, in convert
File "site-packages\calibre\ebooks\oeb\transforms\cover.py", line 86, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\cover.py", line 171, in insert_cover
File "site-packages\calibre\ebooks\oeb\transforms\cover.py", line 152, in inspect_cover
File "site-packages\calibre\ebooks\oeb\base.py", line 322, in urlnormalize
File "urlparse.py", line 108, in urlparse
File "urlparse.py", line 147, in urlsplit
AttributeError: 'NoneType' object has no attribute 'find'
Amalthia is offline   Reply With Quote