View Single Post
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,622
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