View Single Post
Old 08-13-2010, 09:57 AM   #1
ivanm
e^bored
ivanm began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Jun 2010
Device: Kobo Aura HD, BeBook Neo
Cannot convert .lit to .epub

I tried to download the .lit file for Wizardry Compiled from http://www.baen.com/library/ (since there's no .epub and the FAQ says Calibre prefers .lit over .prc for conversion), but whenever Calibre tries to convert it to put it on my reader it comes up with this error:

Code:
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/customize/ui.py", line 320, in get_file_type_metadata
    mi = plugin.get_metadata(stream, ftype.lower().strip())
  File "/usr/lib/calibre/calibre/customize/builtins.py", line 136, in get_metadata
    return get_quick_metadata(stream)
  File "/usr/lib/calibre/calibre/ebooks/metadata/epub.py", line 182, in get_quick_metadata
    return get_metadata(stream, False)
  File "/usr/lib/calibre/calibre/ebooks/metadata/epub.py", line 169, in get_metadata
    reader = OCFZipReader(stream)
  File "/usr/lib/calibre/calibre/ebooks/metadata/epub.py", line 109, in __init__
    raise EPubException("not a ZIP .epub OCF container")
EPubException: not a ZIP .epub OCF container
Segmentation fault
Note also that Calibre couldn't read metada from this file (complained about not being a valid .opf file or something; forgot to save that error).

Also, the ebook viewer within Calibre can read the .lit file perfectly fine, it just doesn't seem to want to convert it.

When I try to convert it to a MOBI, it just spits out a segmentation fault error.
ivanm is offline   Reply With Quote