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 02-27-2022, 12:31 AM   #271
nikosan
Connoisseur
nikosan doesn't litternikosan doesn't litter
 
Posts: 61
Karma: 198
Join Date: Feb 2022
Device: Kobo Sage (prev. Kindle PW5)
Quote:
Originally Posted by xxyzz View Post
v3.18.3 allows hyphens in URL. Update should be available in calibre soon. You can also install the new version manually.
Thanks so much! I was able to enter the hyphenated fandom URL after updating.

Unfortunately now I'm running into an issue where the plugin isn't pulling any descriptions for characters from the fandom wiki; I just get quotes. Tried with three different books/fandoms, none came out with descriptions (Throne of Glass, Six of Crows, Heaven Official's Blessing). Do those wikis just not support whatever the description should pull from?
nikosan is offline   Reply With Quote
Old 02-27-2022, 01:40 AM   #272
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: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Some Fandom Wiki puts a quote(it has empty <p> tags) at the beginning of a page, I guess this causes the MediaWiKi API returns an empty string. The API I'm using is this: https://www.mediawiki.org/wiki/Exten...xtExtracts#API . If you see the first section of a page is not a normal paragraph like Wikipedia, it's very likely the API will return nothing.

You could ask the admins of these fandom wikis for help, a normal user may not have the permission to solve the problem.

Last edited by xxyzz; 02-27-2022 at 06:58 AM.
xxyzz is offline   Reply With Quote
Old 02-28-2022, 07:54 PM   #273
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: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
v3.18.4

- Upgrade Apple's outdated pip
- Allow localized Fandom URL

I asked Fandom's support about the API, they suggested me to wait for their MediaWiki upgrade: https://community.fandom.com/wiki/Us...orm_up_to_date
xxyzz is offline   Reply With Quote
Old 03-07-2022, 08:59 PM   #274
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: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Here is a test version that adds X-Ray footnotes to EPUB books. It creates a new EPUB file that has '_x_ray' in it's filename at the same folder of the original file. It also sends the book to connected device.
Attached Files
File Type: zip worddumb-d0f37ebf19d941d07d4f4b4cc94f01e0e24a1286.zip (404.3 KB, 92 views)

Last edited by xxyzz; 03-07-2022 at 10:25 PM.
xxyzz is offline   Reply With Quote
Old 03-07-2022, 11:09 PM   #275
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Hi @xxyzz

I installed the plugin and ran it on a single novel, but received the following error.

I am not sure what I have done wrong? I watched your videos on your github page and I am sure I followed them correctly.


Spoiler:
Code:
calibre, version 5.36.0 (win32, embedded-python: True)
Tonnerre de Brest!: An error occurred, please copy error message then report bug at GitHub. 

Starting job: Generating X-Ray for The Brethren 
Job: "Generating X-Ray for The Brethren" 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 73, in do_job
  File "calibre_plugins.worddumb.parse_job", line 125, in create_files
  File "calibre_plugins.worddumb.x_ray_epub", line 100, in modify_epub
  File "calibre_plugins.worddumb.x_ray_epub", line 161, in create_x_ray_page
  File "pathlib.py", line 1218, in open
  File "pathlib.py", line 1074, in _opener
FileNotFoundError: [Errno 2] No such file or directory: 'E:\\Files\\eBooks\\John Grisham\\The Brethren (429)\\extract\\OEBPS\\x_ray.xhtml'
 
Called with args: ((429, 'EPUB', 'E:\\Files\\eBooks\\John Grisham\\The Brethren (429)\\The Brethren - John Grisham.epub', <calibre.ebooks.metadata.book.base.Metadata object at 0x000002522E6B45E0>, {'spacy': 'en_core_web_', 'wiki': 'en'}), False, True) {'notifications': <queue.Queue object at 0x000002522E6B4520>, 'abort': <threading.Event object at 0x0000025233EEBBB0>, 'log': <calibre.utils.logging.GUILog object at 0x0000025233EEBD60>}
Karellen is offline   Reply With Quote
Old 03-08-2022, 12:13 AM   #276
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: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by Karellen View Post
received the following error.
Please upload your ebook. Maybe that book doesn't have the "OEBPS" folder?

Update: https://github.com/xxyzz/WordDumb/co...3054ecb905e6ad should fix this error.
Attached Files
File Type: zip worddumb-9a1590dfcc42a1ece8a8141a1b1da9be5679df4a.zip (404.0 KB, 89 views)

Last edited by xxyzz; 03-10-2022 at 01:23 AM. Reason: Upload new plugin
xxyzz is offline   Reply With Quote
Old 03-09-2022, 11:46 PM   #277
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
@xxyzz
Did you receive the book I pm'd you?
Karellen is offline   Reply With Quote
Old 03-10-2022, 12:11 AM   #278
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: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by Karellen View Post
@xxyzz
Did you receive the book I pm'd you?
Please install the plugin I uploaded in the above post. Extract EPUB is trickier than I though...
xxyzz is offline   Reply With Quote
Old 03-10-2022, 01:13 AM   #279
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
ah, right. Sorry I did not notice you edited your post to add the new download.
Karellen is offline   Reply With Quote
Old 03-10-2022, 09:08 AM   #280
AkiraKarikaze
Junior Member
AkiraKarikaze began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2022
Device: Kindle Paperwhite
It is kind of a mixed bag on my device. Some Xray files are getting copied over, and some won't. But I get an error on every Task while moving files to the Kindle (the error does not happen, while the kindle is unplugged)

Quote:
calibre, version 5.38.0
FEHLER: Unbehandelter Ausnahmefehler: <b>OSError</b>:[Errno 22] Invalid argument: '/Volumes/Kindle/documents/Takami, Koushun/Battle Royale - Koushun Takami.sdr/XRAY.entities.BB3FL28UQB.asc'

calibre 5.38 embedded-python: True is64bit: True
macOS-10.16-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.3.0', 'Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T6000')
Python 3.8.5
OSX: ('10.16', ('', '', ''), 'x86_64')
Interface language: de
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 47, 0) && Package KFX (from KFX Input) (1, 47, 0) && Barnes & Noble (1, 2, 16) && DNB_DE (3, 1, 6) && Goodreads (1, 5, 3) && Goodreads Sync (1, 15, 1) && ISFDB3 (1, 0, 2) && KFX metadata reader (from KFX Input) (1, 47, 0) && KFX Input (1, 47, 0) && Set KFX metadata (from KFX Output) (1, 60, 0) && KFX Output (1, 60, 0) && Kindle hi-res covers (0, 5, 0) && WordDumb (3, 18, 4)
Traceback (most recent call last):
File "shutil.py", line 788, in move
OSError: [Errno 18] Cross-device link: '/Users/Shared/Library/_Books/calibre/Koushun Takami/Battle Royale (18)/XRAY.entities.BB3FL28UQB.asc' -> '/Volumes/Kindle/documents/Takami, Koushun/Battle Royale - Koushun Takami.sdr/XRAY.entities.BB3FL28UQB.asc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre/gui2/__init__.py", line 533, in dispatch
File "calibre_plugins.worddumb.main", line 70, in done
SendFile(self.gui, job.result, notif).send_files(None)
File "calibre_plugins.worddumb.send_file", line 36, in send_files
self.move_file_to_device(self.x_ray_path, device_book_path)
File "calibre_plugins.worddumb.send_file", line 60, in move_file_to_device
shutil.move(str(file_path), str(dst_path))
File "shutil.py", line 802, in move
File "shutil.py", line 433, in copy2
File "shutil.py", line 393, in copystat
OSError: [Errno 22] Invalid argument: '/Volumes/Kindle/documents/Takami, Koushun/Battle Royale - Koushun Takami.sdr/XRAY.entities.BB3FL28UQB.asc'
AkiraKarikaze is offline   Reply With Quote
Old 03-10-2022, 08:08 PM   #281
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: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by AkiraKarikaze View Post
But I get an error on every Task while moving files to the Kindle
I see calibre uses shutil.copyfile() then calls os.fsync() when send file to kindle, but maybe this change(https://github.com/xxyzz/WordDumb/co...0f3f7be68e6781) is enough to fix the error.
Attached Files
File Type: zip worddumb-757b0a5ca6e628e8db5ace06890f3f7be68e6781.zip (404.0 KB, 83 views)
xxyzz is offline   Reply With Quote
Old 03-11-2022, 01:32 AM   #282
AkiraKarikaze
Junior Member
AkiraKarikaze began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2022
Device: Kindle Paperwhite
Quote:
Originally Posted by xxyzz View Post
I see calibre uses shutil.copyfile() then calls os.fsync() when send file to kindle, but maybe this change(https://github.com/xxyzz/WordDumb/co...0f3f7be68e6781) is enough to fix the error.
This has solved the issue I was having, thank you very much!
AkiraKarikaze is offline   Reply With Quote
Old 03-15-2022, 07:37 AM   #283
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: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
New test feature: SVG map in EPUB X-Ray footnotes. There is a screenshot of Apple Books in the attachment. I only add the map of seven continents so far.

Document of how to add more maps: https://github.com/xxyzz/WordDumb/bl...#add-more-maps

I fix the GitHub Action so the artifact is not double zipped anymore.

I also remove the Spanish articles, perhaps this can add more Wikipedia summaries.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2022-03-15 at 18.19.38.png
Views:	130
Size:	626.9 KB
ID:	192777  
Attached Files
File Type: zip worddumb-61dff8578f63f60912009c9ce3a330cb8a758266.zip (403.7 KB, 91 views)
xxyzz is offline   Reply With Quote
Old 03-16-2022, 07:01 PM   #284
achimeda
Junior Member
achimeda began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2022
Device: none
Hi, does the Wordwise feature from this plugin work with Kindle app on Android phone? I get this error

Spoiler:
achimeda is offline   Reply With Quote
Old 03-16-2022, 08:00 PM   #285
achimeda
Junior Member
achimeda began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2022
Device: none
I borrowed an old Kindle Touch and linked it to Calibre but after generating Wordwise using this plugin, I cannot find that book in my device : (
achimeda 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 523 07-15-2025 06:45 PM
[GUI Plugin] CalibreSpy DaltonST Plugins 245 08-18-2024 09:33 PM
[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


All times are GMT -4. The time now is 09:45 AM.


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