View Single Post
Old 10-29-2017, 11:21 PM   #182
arooni
Addict
arooni began at the beginning.
 
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
Found this nifty plugin today but couldn't get it working. I got the following error below. Calibre downloaded all the metadata for this file but it seems I'm getting the out of index error. I just downloaded the plugin today and tried running the auto update without effect. Would love suggestions.

Thanks!

PS: Do I need to manually run the 'get metadata' form the edit metadata contextual menu before creating the xray files? thanks!

Code:
10-29-2017 22:19:29    Parsing Goodreads data... 
10-29-2017 22:19:34    Creating x-ray... 
10-29-2017 22:19:34        Parsing book data... 
Job: "Creating Files" failed with error: 
Traceback (most recent call last):
  File "site-packages/calibre/gui2/threaded_jobs.py", line 84, in start_work
  File "calibre_plugins.xray_creator.lib.xray_creator", line 284, in create_files_event
  File "calibre_plugins.xray_creator.lib.book", line 231, in create_files_event
  File "calibre_plugins.xray_creator.lib.book", line 269, in _create_files
  File "calibre_plugins.xray_creator.lib.book", line 495, in _parse_book
  File "calibre_plugins.xray_creator.lib.book_parser", line 56, in parse
  File "calibre_plugins.xray_creator.lib.book_parser", line 86, in _parse_paragraph_data
  File "calibre_plugins.xray_creator.lib.book_parser", line 105, in _get_paragraph_data
  File "calibre_plugins.xray_creator.lib.book_parser", line 196, in extract_text
  File "site-packages/calibre/ebooks/mobi/reader/mobi6.py", line 775, in text_section
  File "site-packages/calibre/ebooks/mobi/reader/mobi6.py", line 765, in sizeof_trailing_entries
IndexError: string index out of range
 
Called with args: (,) {u'log': , u'abort': , u'notifications': }
PS: It appears to work if I delete the mobi version and make sure that I have a AZW3 format FIRST. Is this required? Is there a way to not have to delete the mobi version first and have it select the correct AZW3 format or create it if necessary?

Next question: Does this plugin work if I'm using a KFX format?

Thanks!

Last edited by arooni; 10-29-2017 at 11:44 PM.
arooni is offline   Reply With Quote