01-28-2023, 04:22 PM | #526 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite 2021 sig.
|
Hello everybody! I apologize if this question has been already asked, I searched inside the thread and did not find any correspondence.
I have portable caliber updated to last version, python 3.10.9 and obviously worddumb plugin! Recently often I got errors during x-raying ebooks (azw3 file type) This is all the error message: "Starting job: Generating X-Ray for ************* Job: "Generating X-Ray for ************" failed with error: Traceback (most recent call last): File "calibre\gui2\threaded_jobs.py", line 82, in start_work File "calibre_plugins.worddumb.parse_job", line 119, in do_job File "calibre_plugins.worddumb.deps", line 58, in install_deps File "calibre_plugins.worddumb.deps", line 167, in pip_install File "calibre_plugins.worddumb.utils", line 50, in run_subprocess File "subprocess.py", line 524, in run subprocess.CalledProcessError: Command '['py', '-m', 'pip', '--disable-pip-version-check', 'install', '-U', '-t', 'D:\\PORTATILE\\Calibre Portable\\Calibre Settings\\plugins\\worddumb-libs-py3.10', '--no-user', 'cupy-wheel==11.4.0']' returned non-zero exit status 1. Called with args: ((3121, 'AZW3', 'D:\\PORTATILE\\Calibre Portable\\Calibre Library\\*********\\********* (3121)\\************.azw3', <calibre.ebooks.metadata.book.base.Metadata object at 0x000001BFDA70E770>, {'spacy': 'en_core_web_', 'wiki': 'en', 'kaikki': 'English', 'gloss': True, 'has_trf': True}), False, True) {'notifications': <queue.Queue object at 0x000001BFDA70E680>, 'abort': <threading.Event object at 0x000001BFCD75D510>, 'log': <calibre.utils.logging.GUILog object at 0x000001BFCD75D1E0>} error: subprocess-exited-with-error python setup.py egg_info did not run successfully. exit code: 1 [26 lines of output] [cupy-wheel] CUDA_PATH is not set.cupy-wheel may not be able to discover NVRTC to probe version [cupy-wheel] Trying to detect CUDA version from libraries: ['nvrtc64_112_0.dll', 'nvrtc64_111_0.dll', 'nvrtc64_110_0.dll', 'nvrtc64_102_0.dll'] [cupy-wheel] Looking for library: nvrtc64_112_0.dll [cupy-wheel] Failed to open nvrtc64_112_0.dll: Could not find module 'nvrtc64_112_0.dll' (or one of its dependencies). Try using the full path with constructor syntax. [cupy-wheel] Looking for library: nvrtc64_111_0.dll [cupy-wheel] Failed to open nvrtc64_111_0.dll: Could not find module 'nvrtc64_111_0.dll' (or one of its dependencies). Try using the full path with constructor syntax. [cupy-wheel] Looking for library: nvrtc64_110_0.dll [cupy-wheel] Failed to open nvrtc64_110_0.dll: Could not find module 'nvrtc64_110_0.dll' (or one of its dependencies). Try using the full path with constructor syntax. [cupy-wheel] Looking for library: nvrtc64_102_0.dll [cupy-wheel] Failed to open nvrtc64_102_0.dll: Could not find module 'nvrtc64_102_0.dll' (or one of its dependencies). Try using the full path with constructor syntax. [cupy-wheel] No more candidate library to find [cupy-wheel] ROCm detection unsupported on platform: win32 Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "C:\Users\lucam\AppData\Local\Temp\pip-install-puw4pqb6\cupy-wheel_8f72cdd3352d4fe080d332a6b280b3f5\setup.py", line 295, in <module> main() File "C:\Users\lucam\AppData\Local\Temp\pip-install-puw4pqb6\cupy-wheel_8f72cdd3352d4fe080d332a6b280b3f5\setup.py", line 276, in main package = infer_best_package() File "C:\Users\lucam\AppData\Local\Temp\pip-install-puw4pqb6\cupy-wheel_8f72cdd3352d4fe080d332a6b280b3f5\setup.py", line 252, in infer_best_package raise AutoDetectionFailed( __main__.AutoDetectionFailed: ================================================== ========== Unable to detect NVIDIA CUDA or AMD ROCm installation. ================================================== ========== [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed Encountered error while generating package metadata. See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. I have installed latest nvidia drivers. Could some good soul help me ? Thank you.. |
01-28-2023, 11:12 PM | #527 | |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
Last edited by xxyzz; 01-28-2023 at 11:21 PM. |
|
Advert | |
|
01-29-2023, 12:36 AM | #528 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Word Wise for non-English Kindle books feature is added to the master branch, please download from GitHub Actions Artifacts(https://github.com/xxyzz/WordDumb/ac...lows/tests.yml) to test this new feature.
The loading speed of customize Word Wise table is improved, and the table can be filtered by lemma, difficulty and enabled columns. The translations of lemmas are not perfect but you can double click the text to edit the lemma column for non-English tables. |
02-01-2023, 03:38 PM | #529 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
Thank you for that push! its exactly what I was looking for (well the next level would be having the gloss in another language too )
I did get this error when I tried to run it a second time Quote:
|
|
02-01-2023, 09:01 PM | #530 | |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
This error is fixed on the master branch, last selected lemma language is also remembered. Please download the latest zip file from GitHub Actions. |
|
Advert | |
|
02-03-2023, 01:22 AM | #531 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2023
Device: Paperwhite 11th
|
Is there a way to make X-Ray check the Fandom for tv pages instead of landing on the disambiguation page with the tv show?
The Wikipedia results are so random with most names not found and the few it does have no relation with the book or are mis recognized by spaCy (CUDA is not an option for me since my pc is Intel). Any advice? |
02-03-2023, 01:33 AM | #532 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2023
Device: Paperwhite 11th
|
Quote:
https://imgur.com/V62N6qD |
|
02-03-2023, 07:32 AM | #533 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
I pushed a commit https://github.com/xxyzz/WordDumb/co...11826f6ae82c6e to the master branch which will choose the most similar title in a Fandom disambiguation page. In this case , the "Amos Burton (Books)" page is used. And you also have to delete the old Fandom cache file in the "plugins/worddumb-fandom" folder(it's in the calibre configuration folder).
You can also use the "Customize X-Ray" feature to add character descriptions manually. The test plugin zip file can be downloaded at GitHub: https://github.com/xxyzz/WordDumb/ac...uns/4084130619 The master branch also has a new feature: finding Word Wise definition using the POS type. Last edited by xxyzz; 02-03-2023 at 07:46 AM. |
02-04-2023, 09:29 AM | #534 | ||||
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,007
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
Quote:
Quote:
Quote:
Wikitionary is so much richer ...and unfortunately complex. |
||||
02-07-2023, 02:06 AM | #535 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2023
Device: Paperwhite 11th
|
Quote:
|
|
02-07-2023, 05:49 AM | #536 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
Quote:
|
|
02-07-2023, 08:27 AM | #537 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,007
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
I didn't ask xxyzz for permission but attached is a copy of his (now defunct) directory with instructions and code. I presume 1) the results were not to his satisfaction 2) this method was too limited 3) he didn't want to maintain that code 4) he is contemplating the Wiktionary non-trivial approach in the future. Asking for forgiveness, @xxyzz please advise if you want me to remove the attachment. Last edited by PoP; 02-07-2023 at 08:36 AM. Reason: forgiveness asked |
|
02-07-2023, 05:58 PM | #538 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
You can download the test zip file at the "Artifacts" card, a GitHub account is required though. If you don't have one, here is the latest build.
|
02-07-2023, 06:05 PM | #539 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
It's fine. In fact, the code still can be found in the git log. As you mentioned, the quality of the created dictionary file is not very good. And the code in that directory hasn't changed in a long time, it's already unmaintained.
|
02-18-2023, 04:12 AM | #540 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
I finally figure out how to create Word Wise klld database, turns out those unknown columns doesn't matter. I have updated the Proficiency and WordDumb code to use newly created klld files from Wiktionary data for Kindle books.
Add support of other gloss languages now seems more feasible. I found this cool project: dbnary, they parses Wiktionary dump files in several languages and provides Turtle files which can be queried in RDF. |
Tags |
worddumb, x-ray |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] CalibreSpy | DaltonST | Plugins | 245 | 08-18-2024 09:33 PM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 494 | 05-18-2024 02:34 AM |
[GUI Plugin] Manga plugin | mastertea | Plugins | 6 | 01-06-2022 02:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |