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 06-07-2011, 02:04 PM   #1
jwalk
Junior Member
jwalk began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2011
Device: none
html to epub - input issue

I'm currently trying to convert an html file to epub, but the input field of the conversation screen reads "zip" instead of the actual file type. This may be a silly question, but I'm a little lost nonetheless.
Thanks for your help.
jwalk is offline   Reply With Quote
Old 06-07-2011, 02:25 PM   #2
theducks
Grand Sorcerer
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: 14,622
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by jwalk View Post
I'm currently trying to convert an html file to epub, but the input field of the conversation screen reads "zip" instead of the actual file type. This may be a silly question, but I'm a little lost nonetheless.
Thanks for your help.
HTML are always put into Zip. to keep the pieces together (Images, stylesheets other stuff) even if there is one file.

Convert and see what you get
theducks is online now   Reply With Quote
Old 06-07-2011, 02:51 PM   #3
jwalk
Junior Member
jwalk began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2011
Device: none
When I do that, it just pops up with an error message saying it has failed to convert. So I just assumed it was an issue with the input. Thanks though! Any more ideas?
jwalk is offline   Reply With Quote
Old 06-07-2011, 02:55 PM   #4
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,051
Karma: 777825
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
You need to look at the underlying details of the error report. It is highly likely that will tell you what the problem is.
itimpi is offline   Reply With Quote
Old 06-07-2011, 03:10 PM   #5
jwalk
Junior Member
jwalk began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2011
Device: none
Well, here's the error report:

Convert book 1 of 1 (Becker TXT)
Processing archive...
Resolved conversion options
calibre version: 0.8.4
{'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 0x04011310>,
'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 0x04011510>,
'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:\\docume~1\\mintern\\locals~1\\temp\\calibre_0 .8.4_tmp_x4frbi\\calibre_0.8.4_wvpktg.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:\docume~1\mintern\locals~1\temp\calibre_0.8.4_tm p_x4frbi\calibre_0.8.4_rbwpkl_plumber_archive\cont ent.opf
Parsing all content...
Manifest item 'toc.ncx' not found
Parsing Becker_TXT.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
jwalk 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
Input formats for ePub conversion? llamedos Conversion 5 02-24-2011 01:55 PM
HTML input -<b> and <i> being converted to block elements? fluxcore Conversion 2 02-18-2011 09:36 PM
convert PDF input issue Cid Calibre 2 01-08-2011 09:30 AM
PDF to ePub in Calibre - input somewhat scrambled Seanette ePub 2 11-04-2010 07:34 AM
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) David Derrico Calibre 5 08-04-2010 12:13 AM


All times are GMT -4. The time now is 08:20 PM.


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