Member
Posts: 21
Karma: 552
Join Date: Jul 2007
Location: Raleigh, NC
Device: Kindle 2 / Kindle on iPhone / Sony Reader PRS-505 / eReader on iPhone
|
Issue converting .MOBI to .LRF
Hello there... love Calibre and for the most part have been using it without any issues. Tonight, I'm trying to convert a ".mobi" file to ".lrf" and I get the following error message:
Job: **Convert book: Wicked Prey**
**tuple**: ('IndexError', u'list index out of range')
**Traceback**:
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/parallel.py", line 960, in worker
result = work(client_socket, func, args, kwdargs)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/parallel.py", line 918, in work
res = func(*args, **kargs)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/lrf/any/convert_from.py", line 196, in main
return process_file(src, options, logger)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/lrf/any/convert_from.py", line 165, in process_file
convertor(path, options, logger)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/lrf/mobi/convert_from.py", line 28, in process_file
htmlfile = generate_html(mobi, tdir)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/lrf/mobi/convert_from.py", line 17, in generate_html
mr.extract_content(tdir)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/mobi/reader.py", line 266, in extract_content
processed_records = self.extract_text()
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/mobi/reader.py", line 583, in extract_text
self.mobi_html += decompress_doc(section)
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 "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/parallel.py", line 960, in worker
result = work(client_socket, func, args, kwdargs)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/parallel.py", line 918, in work
res = func(*args, **kargs)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/lrf/any/convert_from.py", line 196, in main
return process_file(src, options, logger)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/lrf/any/convert_from.py", line 165, in process_file
convertor(path, options, logger)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/lrf/mobi/convert_from.py", line 28, in process_file
htmlfile = generate_html(mobi, tdir)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/lrf/mobi/convert_from.py", line 17, in generate_html
mr.extract_content(tdir)
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/mobi/reader.py", line 266, in extract_content
processed_records = self.extract_text()
File "/Applications/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/ebooks/mobi/reader.py", line 583, in extract_text
self.mobi_html += decompress_doc(section)
File "calibre/ebooks/mobi/palmdoc.pyo", line 28, in decompress_doc
IndexError: list index out of range
I'm on a Mac in case you're wondering.
Cheers,
Carlos
|