Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 10-26-2017, 11:17 AM   #181
shamanNS
Evangelist
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 409
Karma: 849502
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW3[300dpi] , Kindle PW1
@ChipAHoy: You don't have to either download it from this forum thread or unzip it once download.

You can install directly from Calibre by doing:

1) Right-click on "Preferences" icon
2) Choose "Get plugins to enhance Calibre"
3) Find "X-Ray Creator", click on "Install" button
4) Restart Calibre when offered to do so.
shamanNS is offline   Reply With Quote
Advert
Old 10-30-2017, 12:21 AM   #182
arooni
Connoisseur
arooni began at the beginning.
 
Posts: 71
Karma: 26
Join Date: Jul 2012
Device: kindle keyboard (wifi + 3g)
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-30-2017 at 12:44 AM.
arooni is offline   Reply With Quote
Old 10-30-2017, 04:25 PM   #183
gocho8
Junior Member
gocho8 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2017
Device: Kindle PaperWhite 3 (5.8.5 JB)
Hi. First, nice work. Second, I have one doubt that could be written in the first post. I read in spanish, so when taking XRay creator goodreads url, should I give it the spanish or english page of the book? Both ways I only get random highlighted phrases on the kindle
gocho8 is offline   Reply With Quote
Old 11-06-2017, 12:53 PM   #184
szarroug3
Connoisseur
szarroug3 began at the beginning.
 
Posts: 87
Karma: 24
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
Old 11-06-2017, 12:55 PM   #185
szarroug3
Connoisseur
szarroug3 began at the beginning.
 
Posts: 87
Karma: 24
Join Date: Apr 2016
Device: Kindle PW2
Quote:
Originally Posted by gocho8 View Post
Hi. First, nice work. Second, I have one doubt that could be written in the first post. I read in spanish, so when taking XRay creator goodreads url, should I give it the spanish or english page of the book? Both ways I only get random highlighted phrases on the kindle
You should give it the spanish page of the book. It's kind of difficult to fix the problem here without the book and the Goodreads page you're using as I can't test it.
szarroug3 is offline   Reply With Quote
Old 01-01-2018, 12:24 PM   #186
truongsinh
Junior Member
truongsinh began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2017
Device: Kindle Paperwhite
> https://github.com/szarroug3/X-Ray_C...gin/issues/102
KFX is superior to AZW3, such as typesetting and pageflip. Can we have support for this format? (KFX output plugin here https://www.mobileread.com/forums/sh...d.php?t=272407)
truongsinh is offline   Reply With Quote
Old 01-09-2018, 06:13 PM   #187
arooni
Connoisseur
arooni began at the beginning.
 
Posts: 71
Karma: 26
Join Date: Jul 2012
Device: kindle keyboard (wifi + 3g)
Quote:
Originally Posted by truongsinh View Post
> https://github.com/szarroug3/X-Ray_C...gin/issues/102
KFX is superior to AZW3, such as typesetting and pageflip. Can we have support for this format? (KFX output plugin here https://www.mobileread.com/forums/sh...d.php?t=272407)
I second this! I've moved to the KFX format on my kindle but I'm definitely missing the xray generator for the books I read.
arooni is offline   Reply With Quote
Old 01-12-2018, 11:36 AM   #188
szarroug3
Connoisseur
szarroug3 began at the beginning.
 
Posts: 87
Karma: 24
Join Date: Apr 2016
Device: Kindle PW2
Yeah, I'll do it when I have time. I've been busy with personal stuff lately. If anyone here wants to do the work for it and then do a pull request, I'll be happy to review it.
szarroug3 is offline   Reply With Quote
Old 01-12-2018, 10:32 PM   #189
szarroug3
Connoisseur
szarroug3 began at the beginning.
 
Posts: 87
Karma: 24
Join Date: Apr 2016
Device: Kindle PW2
Turns out that this is actually harder than it seems. Looks like we can't use any built-in functions to extract the text from the book. After looking into a bit further, I've noticed Kindle Previewer 3 doesn't support KFX (so the library likely doesn't have a way to read the format) and KFX Output can't convert from KFX to other formats (so they likely also don't have a way to do that). This just got a lot harder. I'm not sure I can extract the text from the book. Will keep trying but I can't make any promises. Not going to lie -- it's looking pretty unlikely right now.
szarroug3 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] EpubMerge JimmXinu Plugins 302 10-01-2017 11:21 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 403 07-29-2017 02:19 PM
[GUI Plugin] Unplugged Jellby Plugins 10 01-02-2017 09:23 AM
[GUI Plugin] Astro-ph iatheia Plugins 14 07-26-2015 12:41 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 12:24 PM.


MobileRead.com is a privately owned, operated and funded community.