01-03-2021, 01:34 AM | #46 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2021
Device: OASIS2+VOYAGE
|
I just updated the new version. After that, your plugin doesn't work anymore. It always shows this error calibre, version 5.6.0 (win32, embedded-python: True) Conversion error: Failed: Generating Word Wise Starting job: Generating Word Wise Job: "Generating Word Wise" failed with error: Traceback (most recent call last): File "calibre\gui2\threaded_jobs.py", line 83, in start_work File "calibre_plugins.worddumb.parse_job", line 26, in do_job File "calibre_plugins.worddumb.database", line 76, in start_redis_server File "subprocess.py", line 854, in __init__ File "subprocess.py", line 1307, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified Called with args: (<calibre.db.cache.Cache object at 0x000000E956B02340>, [28], 'C:\\Users\\MyPC\\AppData\\Roaming\\calibre\\plugi ns\\WordDumb.zip') {'notifications': <queue.Queue object at 0x000000E956D55B80>, 'abort': <threading.Event object at 0x000000E956D55B50>, 'log': <calibre.utils.logging.GUILog object at 0x000000E959207400>} |
01-03-2021, 05:41 AM | #47 | |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
You also can stick with the old version if you don't care much about the performance. But I still encourage you try the new version, it's really fast. Update: get redis running on Windows doesn't worth the effort, it just waste time. v1.8.1 uses multiple threads so it's not too slow but uses lots CPU resources. Last edited by xxyzz; 01-03-2021 at 10:11 AM. |
|
Advert | |
|
01-03-2021, 09:21 AM | #48 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2021
Device: OASIS2+VOYAGE
|
Quote:
I'm so confused, because I couldn't manage to install redis on the computer (I'm no expert when it comes to Linux and terminal things). I really really like your plugin, and I think the final solution is to downgrade to its older version, but it is also a lost cause. After googling the net for an hour, I couldn't find any tutorial or instruction to help me. Last edited by booklover2111; 01-03-2021 at 09:25 AM. |
|
01-03-2021, 10:16 AM | #49 | |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
Last edited by xxyzz; 01-03-2021 at 10:21 AM. |
|
01-03-2021, 11:27 AM | #50 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2021
Device: OASIS2+VOYAGE
|
Using the commands from your HOW-TO page, I have installed redis successfully, but when I ran the plugin, it still didn't work. Anyway, I figured out how to install older version of your plugin by using a zip file. Now it works well (it takes a while but at least it works- that is a huge achievement for me). Thank for your support. Keep up the good work.
|
Advert | |
|
01-03-2021, 08:14 PM | #51 | |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
Maybe you installed an old version of redis? Please try the following command and see if it will install redis 5 or 6, The last command will print the redis version. Code:
$ sudo apt update $ sudo apt upgrade redis $ redis-server -v |
|
01-05-2021, 03:42 AM | #52 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2021
Device: OASIS2+VOYAGE
|
Quote:
|
|
01-09-2021, 10:10 AM | #53 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v2.1.0 Download wordnet in job thread.
Plugin zip file is smaller. |
01-11-2021, 07:20 PM | #54 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v2.1.1 use python packages from zip file directly
You may want to delete some useless folders generated by worddumb previously by clicking "Preferences" -> "Miscellaneous" -> "Open calibre configuration directory" -> go to "plugins" folder. Only "worddumb-db1" and "worddumb-wordnet3.0" folders are needed, other folders that has name start with "worddumb-" can be deleted. Last edited by xxyzz; 01-11-2021 at 09:06 PM. |
02-22-2021, 11:32 PM | #55 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v3.0.0: create X-Ray file on Linux and Windows. Requires python3(using pip3 to download numpy).
X-Ray entities are created by nltk's ne_chunk(). This feature doesn't support macOS because numpy(required by nltk) has some .so files can't pass library validation unless they are signed by the same key of calibre. |
02-23-2021, 09:47 AM | #56 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Wow, I am impressed by the quality of the generated X-Ray. Thank you.
|
02-24-2021, 02:12 AM | #57 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Machine learning is really amazing(that's how NLTK find named entities but I don't know how it works). Thanks to projects like NLTK, Wikipedia and many others this feature can be achieved more easily. I think there is a lots of room for improvement in speed and accuracy.
|
02-26-2021, 01:52 AM | #58 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v3.2.0
- enable unix domain socket for redis - count people in x-ray correctly |
02-26-2021, 09:55 AM | #59 |
Evangelist
Posts: 428
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v3.3.0 load data from json, doesn't require redis anymore.
This version is even faster, I tested it on the book 1984 and it only took one or two seconds to create word wise file! v3.4.0 fix text position for kfx Last edited by xxyzz; 02-26-2021 at 10:29 PM. |
02-27-2021, 01:51 AM | #60 |
Enthusiast
Posts: 31
Karma: 81732
Join Date: Feb 2014
Device: KPW3
|
I am getting error while running plugin :
calibre, version 5.12.0 (win32, embedded-python: True) Conversion error: Failed: Generating Word Wise Starting job: Generating Word Wise Job: "Generating Word Wise" failed with error: Traceback (most recent call last): File "D:\calibre\src\calibre\gui2\threaded_jobs.py" , line 83, in start_work File "calibre_plugins.worddumb.parse_job", line 43, in do_job File "calibre_plugins.worddumb.parse_job", line 110, in find_named_entity File "C:\Users\sam\AppData\Roaming\calibre\plugins\Word Dumb.zip\.venv\lib\python3.8\site-packages\nltk\chunk\__init__.py", line 185, in ne_chunk File "C:\Users\sam\AppData\Roaming\calibre\plugins\Word Dumb.zip\.venv\lib\python3.8\site-packages\nltk\data.py", line 757, in load File "C:\Users\sam\AppData\Roaming\calibre\plugins\word dumb-numpy1.20.1\numpy\__init__.py", line 143, in <module> File "C:\Users\sam\AppData\Roaming\calibre\plugins\word dumb-numpy1.20.1\numpy\_distributor_init.py", line 26, in <module> File "ctypes\__init__.py", line 373, in __init__ OSError: [WinError 193] %1 is not a valid Win32 application Called with args: (<calibre.db.cache.Cache object at 0x000001FFAAB86C40>, [12444]) {'notifications': <queue.Queue object at 0x000001FFBA77ECA0>, 'abort': <threading.Event object at 0x000001FFBA77E610>, 'log': <calibre.utils.logging.GUILog object at 0x000001FFBA77E790>} |
Tags |
worddumb, x-ray |
|
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 |