![]() |
#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>} |
![]() |
![]() |
![]() |
#47 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
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 09:11 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#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 08:25 AM. |
|
![]() |
![]() |
![]() |
#49 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
Last edited by xxyzz; 01-03-2021 at 09:21 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 | |
|
![]() |
#51 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
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 |
|
![]() |
![]() |
![]() |
#52 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2021
Device: OASIS2+VOYAGE
|
Quote:
|
|
![]() |
![]() |
![]() |
#53 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v2.1.0 Download wordnet in job thread.
Plugin zip file is smaller. |
![]() |
![]() |
![]() |
#54 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
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 08:06 PM. |
![]() |
![]() |
![]() |
#55 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
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. |
![]() |
![]() |
![]() |
#56 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,006
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.
|
![]() |
![]() |
![]() |
#57 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
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.
|
![]() |
![]() |
![]() |
#58 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v3.2.0
- enable unix domain socket for redis - count people in x-ray correctly |
![]() |
![]() |
![]() |
#59 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
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 09:29 PM. |
![]() |
![]() |
![]() |
#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 |
|
![]() |
||||
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 |