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 03-08-2012, 03:09 PM   #1
ThomasMcKean
Disabilities Advocate
ThomasMcKean doesn't litterThomasMcKean doesn't litter
 
ThomasMcKean's Avatar
 
Posts: 255
Karma: 162
Join Date: Dec 2008
Location: Blue Ridge Mountains
Device: Kindle PW3
Calibre Woes?

Can someone tell me how to fix this?

-----------------------------

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Teenagers from the Future: Essays on the Legion of Super-Heroes)

Convert book 1 of 1 (Teenagers from the Future: Essays on the Legion of Super-Heroes)
Resolved conversion options
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'both',
'comments': None,
'cover': '/tmp/calibre_0.6.42_mQmUa1.jpeg',
'debug_pipeline': None,
'disable_font_rescaling': True,
'dont_justify': 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.NookInput object at 0xb42914c>,
'insert_blank_line': True,
'insert_metadata': False,
'isbn': None,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 0.0,
'margin_left': 0.0,
'margin_right': 0.0,
'margin_top': 0.0,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'output_profile': <calibre.customize.profiles.HanlinV3Output object at 0xb42942c>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/tmp/calibre_0.6.42_YqVpeD.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': True,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on /home/thomas/Library/Perez_ Martin A_/Teenagers from the Future_ Essays on the Legion of Super-Heroes (996)/Teenagers from the Future_ Essays on the Legion of Super-Heroes - Perez_ Martin A_.prc
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Malformed markup, parsing using BeautifulSoup
MOBI markup appears to contain random bytes. Stripping.
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Malformed markup, parsing using BeautifulSoup
MOBI markup appears to contain random bytes. Stripping.
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 19, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 99, in main
result = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 778, in run
accelerators, tdir)
File "/usr/lib/calibre/calibre/customize/conversion.py", line 211, in __call__
log, accelerators)
File "/usr/lib/calibre/calibre/ebooks/mobi/input.py", line 27, in convert
mr.extract_content('.', parse_cache)
File "/usr/lib/calibre/calibre/ebooks/mobi/reader.py", line 332, in extract_content
root = soupparser.fromstring(self.processed_html)
File "/usr/lib/python2.6/dist-packages/lxml/html/soupparser.py", line 23, in fromstring
return _parse(data, beautifulsoup, makeelement, **bsargs)
File "/usr/lib/python2.6/dist-packages/lxml/html/soupparser.py", line 66, in _parse
tree = beautifulsoup(source, **bsargs)
File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1499, in __init__
BeautifulStoneSoup.__init__(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1230, in __init__
self._feed(isHTML=isHTML)
File "/usr/lib/pymodules/python2.6/BeautifulSoup.py", line 1263, in _feed
self.builder.feed(markup)
File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib/python2.6/HTMLParser.py", line 148, in goahead
k = self.parse_starttag(i)
File "/usr/lib/python2.6/HTMLParser.py", line 226, in parse_starttag
endpos = self.check_for_whole_start_tag(i)
File "/usr/lib/python2.6/HTMLParser.py", line 301, in check_for_whole_start_tag
self.error("malformed start tag")
File "/usr/lib/python2.6/HTMLParser.py", line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: malformed start tag, at line 229, column 20

-------------------------------

All greek to me!
ThomasMcKean is offline   Reply With Quote
Old 03-08-2012, 03:35 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It looks as if the original MOBI ebook is malformed enough that calibre is choking on it. Do you have the very latest version of calibre?
DiapDealer is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Author: Last Name First Woes Stewart Grove Library Management 8 01-07-2012 12:07 PM
PRS-505 Battery Woes MickeyC Sony Reader 11 07-31-2011 05:58 PM
keyboard woes richard_iii Nook Developer's Corner 3 06-14-2011 08:45 AM
Is there a way to merge all the files Calibre outputs into one epub? Library woes. Patass Library Management 5 02-22-2011 07:54 PM
PRS-300 New Computer Woes Aeiouna Sony Reader 1 02-08-2010 05:56 AM


All times are GMT -4. The time now is 11:58 AM.


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