Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2010, 12:54 AM   #1
EliteMuppet
Junior Member
EliteMuppet began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2010
Device: Kindle 2
Calibre LIT to MOBI Fail?

I have a series of books that are in lit format. Calibre is able to convert about half of them.. the other half gets an error while converting. Anyone know how I can get past this? is there possibly another converting program that I can use?

I thought I might as well post the whole details to the error... Hope it helps somewhat to solve my issue.

Quote:
Convert book 1 of 1 (Wizard's First Rule)
Resolved conversion options
calibre version: 0.7.4
{'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': 'c:\\docume~1\\muppet\\locals~1\\temp\\calibre_0.7 .4_oyy1vp.jpeg',
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_compress': False,
'extra_css': None,
'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 0x03B2A530>,
'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_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x03B2A810>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\docume~1\\muppet\\locals~1\\temp\\calibre_0.7 .4_14robo.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'rescale_images': False,
'series': None,
'series_index': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: LIT Input running
on C:\Documents and Settings\Muppet\Calibre Library\Terry Goodkind\Wizard's First Rule (71)\Wizard's First Rule - Terry Goodkind.lit
Parsing all content...
LZX decompression error; skipping chunk
Failed to parse content in 1%20-%20Wizard%27s%20First%20Rule.htm
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\reader.py", line 159, in _manifest_prune_invalid
File "site-packages\calibre\ebooks\oeb\base.py", line 1028, in fget
File "site-packages\calibre\ebooks\lit\reader.py", line 867, in read
File "site-packages\calibre\ebooks\lit\reader.py", line 133, in __init__
File "site-packages\calibre\ebooks\lit\reader.py", line 238, in binary_to_text
File "site-packages\calibre\ebooks\lit\reader.py", line 238, in binary_to_text
File "site-packages\calibre\ebooks\lit\reader.py", line 238, in binary_to_text
File "site-packages\calibre\ebooks\lit\reader.py", line 238, in binary_to_text
File "site-packages\calibre\ebooks\lit\reader.py", line 238, in binary_to_text
File "site-packages\calibre\ebooks\lit\reader.py", line 238, in binary_to_text
File "site-packages\calibre\ebooks\lit\reader.py", line 238, in binary_to_text
File "site-packages\calibre\ebooks\lit\reader.py", line 257, in binary_to_text
LitError: Unknown attribute 101 in tag None

Spine item "RW_1_-_Wizard's_First_Rule" not found
Python function terminated unexpectedly
Spine is empty (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 815, in run
File "site-packages\calibre\customize\conversion.py", line 211, in __call__
File "site-packages\calibre\ebooks\lit\input.py", line 22, in convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 951, in create_oebbook
File "site-packages\calibre\ebooks\oeb\reader.py", line 72, in __call__
File "site-packages\calibre\ebooks\oeb\reader.py", line 594, in _all_from_opf
File "site-packages\calibre\ebooks\oeb\reader.py", line 289, in _spine_from_opf
calibre.ebooks.oeb.base.OEBError: Spine is empty
EliteMuppet is offline   Reply With Quote
Old 06-25-2010, 09:39 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 62,694
Karma: 40373079
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Try using "ConvertLIT" to expand the LIT to its OEB source, and then "Mobipocket Creator" to convert that to Mobipocket. Both free tools.
HarryT is online now   Reply With Quote
Old 06-25-2010, 09:40 AM   #3
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 62,694
Karma: 40373079
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Moved to the Workshop forum. This has nothing to do with Kindle.
HarryT is online now   Reply With Quote
Old 06-25-2010, 11:35 AM   #4
EliteMuppet
Junior Member
EliteMuppet began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2010
Device: Kindle 2
Sorry about putting it in the Kindle section, thought maybe it had some relevance since I was talking about the format I need for my kindle :P


Anyway, I did what you said. I used ConverLIT to expand it.

I got:
5 blank images that are labeled ~Cover01 to ~cover05
1 HTML document(that when opened is blank o.O)
and an OPF File.

I tried using that Mobipocket Creator but I get this error when trying to create the file.

Quote:
error(htmlparser): No BODY tag found in content file.
EliteMuppet is offline   Reply With Quote
Old 06-25-2010, 11:58 AM   #5
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: 25,416
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That typically means your LIT file is damaged/corrupted/invalid beyond the ability of calibre to recover.
kovidgoyal is offline   Reply With Quote
Old 06-26-2010, 03:37 AM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 62,694
Karma: 40373079
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Quote:
Originally Posted by EliteMuppet View Post
Sorry about putting it in the Kindle section, thought maybe it had some relevance since I was talking about the format I need for my kindle :P


Anyway, I did what you said. I used ConverLIT to expand it.

I got:
5 blank images that are labeled ~Cover01 to ~cover05
1 HTML document(that when opened is blank o.O)
and an OPF File.

I tried using that Mobipocket Creator but I get this error when trying to create the file.
As Kovid says, it sounds as if the LIT file is damaged. Does it display in Microsoft Reader as a LIT file?
HarryT is online now   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
a simple epub/lit to mobi converter that isn't calibre? grechzoo General Discussions 18 08-18-2010 05:20 PM
ePub to Mobi fail eBookNoir Calibre 2 05-23-2010 04:44 PM
Stanza and Calibre interaction fail whitepawn Calibre 1 05-09-2010 01:53 AM
lit to mobi rcuadro Calibre 1 05-12-2009 02:55 PM
Convert Mobi to Lit danwdoo Calibre 2 05-07-2009 10:10 AM


All times are GMT -4. The time now is 10:29 AM.


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