View Single Post
Old 11-06-2017, 11:53 AM   #184
szarroug3
Zealot
szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'szarroug3 knows the difference between 'who' and 'whom'
 
Posts: 104
Karma: 10000
Join Date: Apr 2016
Device: Kindle PW2
Quote:
Originally Posted by arooni View Post
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!
Hey! You don't have to convert from mobi to azw3 as it supports both. Just make sure to look at the settings and tell it you want it to consider mobi. That's a bit of a hard error to debug without the actual book to look at. Is the book DRM free?
szarroug3 is offline   Reply With Quote