View Single Post
Old 02-06-2009, 01:47 PM   #1
Flub
Groupie
Flub really knows where his or her towel isFlub really knows where his or her towel isFlub really knows where his or her towel isFlub really knows where his or her towel isFlub really knows where his or her towel isFlub really knows where his or her towel isFlub really knows where his or her towel isFlub really knows where his or her towel isFlub really knows where his or her towel isFlub really knows where his or her towel isFlub really knows where his or her towel is
 
Posts: 164
Karma: 70995
Join Date: Mar 2008
Location: United Kingdom
Device: iPhone, PRS-505, K2i, iPad 64GB+3G, K3, Nexus S
Problem converting mobipocket books

I just bought a couple of drm'd mobipocket books from Fictonwise (As I've done a lot in the past). I removed the drm in ways we aren't supposed to talk about and fed the resultant files into Calibre for conversion to lrf. Instead of getting lrf files as I usually do I got this error log instead.

Quote:
Job: **Convert book: Star Trek: Destiny: Lost Souls**
**tuple**: ('IndexError', u'list index out of range')
**Traceback**:
Traceback (most recent call last):
File "parallel.py", line 957, in worker
File "parallel.py", line 915, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\any\c onvert_from.py", line 196, in main
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\any\c onvert_from.py", line 165, in process_file
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\mobi\ convert_from.py", line 28, in process_file
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\mobi\ convert_from.py", line 17, in generate_html
File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 186, in extract_content
File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 390, in extract_text
File "calibre\ebooks\mobi\palmdoc.pyo", line 28, in decompress_doc
IndexError: list index out of range

**Log**:
('IndexError', u'list index out of range')
Traceback (most recent call last):
File "parallel.py", line 957, in worker
File "parallel.py", line 915, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\any\c onvert_from.py", line 196, in main
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\any\c onvert_from.py", line 165, in process_file
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\mobi\ convert_from.py", line 28, in process_file
File "C:\Program Files\calibre\library.zip\calibre\ebooks\lrf\mobi\ convert_from.py", line 17, in generate_html
File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 186, in extract_content
File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 390, in extract_text
File "calibre\ebooks\mobi\palmdoc.pyo", line 28, in decompress_doc
IndexError: list index out of range
I then tried epub and got this result

Quote:
Job: **Convert book: Star Trek: Destiny: Lost Souls**
**tuple**: ('IndexError', u'list index out of range')
**Traceback**:
Traceback (most recent call last):
File "parallel.py", line 957, in worker
File "parallel.py", line 915, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 175, in any2epub
File "contextlib.pyo", line 34, in __exit__
File "contextlib.pyo", line 113, in nested
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 165, in any2epub
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 63, in mobi2opf
File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 186, in extract_content
File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 390, in extract_text
File "calibre\ebooks\mobi\palmdoc.pyo", line 28, in decompress_doc
IndexError: list index out of range

**Log**:
Exploding MOBI file: c:\users\stephen\appdata\local\temp\calibre_0.4.13 3_szb0ef.mobi
('IndexError', u'list index out of range')
Traceback (most recent call last):
File "parallel.py", line 957, in worker
File "parallel.py", line 915, in work
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 175, in any2epub
File "contextlib.pyo", line 34, in __exit__
File "contextlib.pyo", line 113, in nested
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 165, in any2epub
File "C:\Program Files\calibre\library.zip\calibre\ebooks\epub\from _any.py", line 63, in mobi2opf
File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 186, in extract_content
File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\read er.py", line 390, in extract_text
File "calibre\ebooks\mobi\palmdoc.pyo", line 28, in decompress_doc
IndexError: list index out of range
This is with version 0.4.133 of Calibre although initially I was getting the same problem with an earlier version. Is there anything I can do to get this converted?
Flub is offline   Reply With Quote