Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2024, 08:10 PM   #691
Apocalipso
Junior Member
Apocalipso began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2024
Device: Kindle paperwhite
Hi, first of all thanks for the great work on this plugin. Unfortunately I have a problem with the X-ray file, when I select a character it shows fragments of the book where that character is mentioned, but it doesn't show any info about the character like a quick description or who he is. Does anyone know how to fix this? Thanks in advance.
Apocalipso is offline   Reply With Quote
Old 09-04-2024, 04:29 PM   #692
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,595
Karma: 102020751
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by Apocalipso View Post
Hi, first of all thanks for the great work on this plugin. Unfortunately I have a problem with the X-ray file, when I select a character it shows fragments of the book where that character is mentioned, but it doesn't show any info about the character like a quick description or who he is. Does anyone know how to fix this? Thanks in advance.
That is what happens when wikipedia or fandom (whichever is configured to be used) does not have an entry or it wasn't found. You can supply your own description for individual characters in a config file. It has been so long since I learned how, that I have forgotten the details, but you can read about it in this thread and probably in the documentation. You can even list aliases for the character and make one of them something likely to be found in wikipedia or fandom.
j.p.s is offline   Reply With Quote
Old 09-15-2024, 03:02 AM   #693
unkn0wn
Fanatic
unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.
 
Posts: 570
Karma: 82944
Join Date: May 2021
Device: kindle
why does it need to install en_core_web_lg each time i try to generate x-ray file?
Installing it the first time is okay but... Is there a work around or am i doing it wrong.

generating x-ray for a 40mb file itself takes a lot less time than it takes to install en_core.

Also why cant i stop the job/process half way? Only ending process or disconnecting internet makes it stop.

EDIT:
I think although it says installing en_core_web_lg, is it actually generating x-ray?

Last edited by unkn0wn; 09-15-2024 at 03:26 AM.
unkn0wn is offline   Reply With Quote
Old 09-16-2024, 09:32 AM   #694
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 436
Karma: 2666666
Join Date: Nov 2020
Device: none
Maybe you're using strange user name and also on Windows or something that makes code at here https://github.com/xxyzz/WordDumb/bl...eps.py#L30-L34

always delete previous installed packages?

The code run some new Python processes and can't be killed properly, kill the main calibre process will kill these processes.

Last edited by xxyzz; 09-16-2024 at 09:38 AM.
xxyzz is offline   Reply With Quote
Old 10-31-2024, 08:53 AM   #695
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
I generated word wise for an italian book. Definition language was set to italian but the word wise result on kindle was in english. Any idea why?
steakhutzeee is offline   Reply With Quote
Old 11-04-2024, 08:52 AM   #696
perisiana
Connoisseur
perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.perisiana shapes the world with his or her thoughts.
 
Posts: 88
Karma: 105086
Join Date: Sep 2016
Device: Kobo Aura H2O
Is it possible to make WordWise and X-ray work on the Kindle android app like it works on the Kindle e-readers?

Edit, found it

Last edited by perisiana; 11-06-2024 at 09:31 PM.
perisiana is offline   Reply With Quote
Old 11-14-2024, 11:20 AM   #697
carterartist
Junior Member
carterartist began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: iPad
I saw you can do mediawiki sites, but I want to do a fandom site (forgotten realms). Anyone know of a way?
carterartist is offline   Reply With Quote
Old 11-24-2024, 09:38 AM   #698
revenant
Junior Member
revenant began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2009
Location: Europe
Device: Kindle Oasis
Hi @xxyzz,
Mac silicon M1 with latest Sonoma os version, latest Calibre and Plugin as well, of course.

When trying to create X-Ray, conversion breaks at the "Installing Spacy" step.

I'd be saving you from the 700+ error lines, hoping this would help you diagnose:

Code:
Starting job: Generating X-Ray for [book title here] 
Job: "Generating X-Ray for [book title here]" failed with error: 
Traceback (most recent call last):
  File "calibre/gui2/threaded_jobs.py", line 85, in start_work
  File "calibre_plugins.worddumb.parse_job", line 177, in do_job
    install_deps(data.spacy_model, notifications)
  File "calibre_plugins.worddumb.deps", line 42, in install_deps
    pip_install("spacy", dep_versions["spacy"], notif=notif)
  File "calibre_plugins.worddumb.deps", line 134, in pip_install
    run_subprocess(args)
  File "calibre_plugins.worddumb.utils", line 47, in run_subprocess
    return subprocess.run(
           ^^^^^^^^^^^^^^^
  File "subprocess.py", line 571, in run
subprocess.CalledProcessError: Command '['/opt/homebrew/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'install', '-U', '-t', '/Users/[user name]/Library/Preferences/calibre/plugins/worddumb-libs-py3.13', '--no-user', '--no-cache-dir', 'spacy==3.8.2']' returned non-zero exit status 1.
Python 3.13.0, pip 24.2 duly installed.

Any help you could offer would be most, most welcome - thank you in advance, and for this fab Plugin of yours!!

Last edited by revenant; 11-24-2024 at 09:40 AM.
revenant is offline   Reply With Quote
Old 11-25-2024, 09:46 PM   #699
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 436
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by revenant View Post
Python 3.13.0, pip 24.2 duly installed.
spacy doesn't support Python 3.13, please downgrade to 3.12.

I also added this to the document website.
xxyzz is offline   Reply With Quote
Old 11-25-2024, 09:48 PM   #700
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 436
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by carterartist View Post
I saw you can do mediawiki sites, but I want to do a fandom site (forgotten realms). Anyone know of a way?
Fandom.com also uses mediawiki, but you need to find their API endpoint, please see the doc: https://xxyzz.github.io/WordDumb/usage.html
xxyzz is offline   Reply With Quote
Old 11-26-2024, 07:34 AM   #701
revenant
Junior Member
revenant began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2009
Location: Europe
Device: Kindle Oasis
Quote:
Originally Posted by xxyzz View Post
spacy doesn't support Python 3.13, please downgrade to 3.12.

I also added this to the document website.

Thank you, it worked back fine!

For anyone else who'd have my same setup, what I did:

1. since I've got python through home-brew, I downgraded versions as follows:
Code:
brew unlink python@3.13
brew unlink python@3.12
brew link --force python@3.12
2. once done I still got an error (outdated python version), but by adding the python path as follows in the WordDumb Preferences panel, I've got it all sorted:
Code:
/Users/steve/.pyenv/versions/3.12.7/bin/python
Very pleased to have it back up, and working: Thank You again, @xxyzz!
revenant is offline   Reply With Quote
Old 11-28-2024, 06:12 AM   #702
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 436
Karma: 2666666
Join Date: Nov 2020
Device: none
No need to downgrade the default Python version in your system, the code can't detect the default binary on macos anyway. Users only need to install python@3.12 formula then copy its file path to the plugin settings.
xxyzz is offline   Reply With Quote
Old 12-03-2024, 02:04 AM   #703
carterartist
Junior Member
carterartist began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: iPad
Quote:
Originally Posted by xxyzz View Post
Fandom.com also uses mediawiki, but you need to find their API endpoint, please see the doc: https://xxyzz.github.io/WordDumb/usage.html
I had seen that page before. I can't seem to find the API page, but I signed into the wiki and was able to find "Special:ApiSandbox"... not sure if there is a way to use that?
carterartist is offline   Reply With Quote
Old 12-07-2024, 09:05 PM   #704
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 436
Karma: 2666666
Join Date: Nov 2020
Device: none
It could be "https://x.fandom.com/api.php", you can check this url in browser. You could also just ask the wiki admin.
xxyzz is offline   Reply With Quote
Old 12-07-2024, 09:47 PM   #705
carterartist
Junior Member
carterartist began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: iPad
Yes, I tried that.

I was just hoping I wasn't the only Forgotten Realms nerd and maybe someone had a solution.
carterartist is offline   Reply With Quote
Reply

Tags
worddumb, x-ray


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 495 10-19-2024 07:06 AM
[GUI Plugin] CalibreSpy DaltonST Plugins 245 08-18-2024 10:33 PM
[GUI Plugin] Manga plugin mastertea Plugins 6 01-06-2022 03:43 AM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 06:25 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 03:31 PM.


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