Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-31-2010, 12:30 PM   #1
WallOfSound
Member
WallOfSound began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jan 2010
Device: none
I can't covert to epub without a cover

I have a load of .odt files I wrote that I would like to convert to .epub to read on my phone. They convert fine using the default settings but I get a large two page cover of the calibre logo and it's version number which I don't want. If I tick the 'no default cover' option then the conversion fails with the following error:

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Books)

Convert book 1 of 1 (Books)
Resolved conversion options
calibre version: 0.6.55
{'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(., '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_split_on_page_breaks': False,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'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 0x05041250>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'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,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_default_epub_cover': True,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x05041430>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'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\\XXXX\\appdata\\local\\temp\\calibre_0. 6.55_xd4ehs.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'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,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: ODT Input running
on C:\Users\XXXX\Calibre Library\XXXX\Books (7)\Books - XXXX.odt
Extracting ODT file...
Parsing all content...
Parsing index.xhtml ...
File 'index.xhtml' missing <title/> element
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Transformed CSS selector .P-Standard to .p-standard
Transformed CSS selector .P-Heading to .p-heading
Transformed CSS selector .P-Text_20_body to .p-text_20_body
Transformed CSS selector .P-List to .p-list
Transformed CSS selector .P-Caption to .p-caption
Transformed CSS selector .P-Index to .p-index
Transformed CSS selector .P-Normal to .p-normal
Transformed CSS selector .MP-Standard to .mp-standard
Transformed CSS selector .P-P5 to .p-p5
Source base font size is 10.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Creating EPUB Output...
Looking for large trees in index.xhtml...
No large trees found
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'

Any suggestions?
WallOfSound is offline   Reply With Quote
Old 05-31-2010, 12:44 PM   #2
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
I have had a similar problem in v6.55 when trying to convert to EPUB after checking the [EPUB output] - "No default cover" box
jackie_w is offline   Reply With Quote
Advert
Old 05-31-2010, 01:03 PM   #3
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,306
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's a regression, will be fixed in next release.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My first epub: Cover is on page 2 (?) omk3 ePub 35 11-02-2010 05:44 PM
saving cover to epub obijohn Calibre 2 07-21-2010 02:04 PM
ePub Cover Page Timoleon ePub 10 11-06-2009 11:22 AM
trouble with ePub cover images bossmanx9 Calibre 10 04-28-2009 06:16 PM
Covert Unicode TXT to EPUB, failed lovemov Calibre 5 04-06-2009 07:41 PM


All times are GMT -4. The time now is 03:44 AM.


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