![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: May 2016
Device: FBreader, Aldiko, Calibre
|
Command Line conversion errors
I have been using the command line ebook-convert that comes with Calibre to convert a lot of old .LIT files to .epub to read on my tablet. On a couple of ebooks I am getting an error in LZX decompression, and the conversion fails. However, on the original Microsoft eReader (which I still have, fortunately) the files open fine. Here is the conversion:
G:\mediafiles\eBooks\Sci-Fi and Fantasy Library\E-L\Eddings, David>"c:\users\ewe ssel\Desktop\Calibre Portable\Calibre\ebook-convert.exe" "Eddings, David - The R edemption Of Althalus.lit" .epub 1% Converting input to HTML... InputFormatPlugin: LIT Input running on G:\mediafiles\eBooks\Sci-Fi and Fantasy Library\E-L\Eddings, David\Eddings, D avid - The Redemption Of Althalus.lit Parsing all content... LZX decompression error; skipping chunk Failed to parse content in David%20Eddings%20-%20The%20Redemption%20of%20Althalu s.htm Spine item 'David_Eddings_-_The_Redemption_of_Althalus' not found Python function terminated unexpectedly Spine is empty (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\ebooks\conversion\cli.py", line 380, in main File "site-packages\calibre\ebooks\conversion\plumber.py", line 1057, in run File "site-packages\calibre\customize\conversion.py", line 241, in __call__ File "site-packages\calibre\ebooks\conversion\plugins\lit_inp ut.py", line 23, in convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1255, in creat e_oebbook File "site-packages\calibre\ebooks\oeb\reader.py", line 71, in __call__ File "site-packages\calibre\ebooks\oeb\reader.py", line 696, in _all_from_opf File "site-packages\calibre\ebooks\lit\reader.py", line 925, in _spine_from_op f File "site-packages\calibre\ebooks\oeb\reader.py", line 343, in _spine_from_op f calibre.ebooks.oeb.base.OEBError: Spine is empty and the file I am trying to convert is attached. I don't think it's a DRM issue, just a decompression issue, but I don't know why calibre has problems, but Microsoft's own reader doesn't.. Moderator Notice
Posting of copyrighted material is prohibited. -removed-. This is you only warning. Don't do it again. Last edited by theducks; 05-13-2016 at 11:15 AM. Reason: copyright violation removed |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,305
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm afraid trying to make the LZX decompressor robust against whatever corruption there is in that file is not worth the effort for me -- given that such files are pretty rare and I am not the author of the decompressor code in question -- but patches are welcome.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Command Line Conversion | loo23 | Conversion | 3 | 04-07-2012 03:33 PM |
Bulk Command Line Conversion? | blobbo | Conversion | 1 | 05-24-2011 05:32 AM |
Command line conversion not working | rockeh | Calibre | 1 | 08-24-2010 06:23 PM |
command-line conversion tools in 0.6.0? | WayneD | Calibre | 3 | 06-03-2009 01:30 PM |
Errors on Command Line | drnkusv | Calibre | 11 | 11-07-2008 02:59 PM |