View Single Post
Old 11-24-2024, 08:38 AM   #698
revenant
Junior Member
revenant began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2009
Location: Europe
Device: Kindle Oasis
Hi @xxyzz,
Mac silicon M1 with latest Sonoma os version, latest Calibre and Plugin as well, of course.

When trying to create X-Ray, conversion breaks at the "Installing Spacy" step.

I'd be saving you from the 700+ error lines, hoping this would help you diagnose:

Code:
Starting job: Generating X-Ray for [book title here] 
Job: "Generating X-Ray for [book title here]" failed with error: 
Traceback (most recent call last):
  File "calibre/gui2/threaded_jobs.py", line 85, in start_work
  File "calibre_plugins.worddumb.parse_job", line 177, in do_job
    install_deps(data.spacy_model, notifications)
  File "calibre_plugins.worddumb.deps", line 42, in install_deps
    pip_install("spacy", dep_versions["spacy"], notif=notif)
  File "calibre_plugins.worddumb.deps", line 134, in pip_install
    run_subprocess(args)
  File "calibre_plugins.worddumb.utils", line 47, in run_subprocess
    return subprocess.run(
           ^^^^^^^^^^^^^^^
  File "subprocess.py", line 571, in run
subprocess.CalledProcessError: Command '['/opt/homebrew/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'install', '-U', '-t', '/Users/[user name]/Library/Preferences/calibre/plugins/worddumb-libs-py3.13', '--no-user', '--no-cache-dir', 'spacy==3.8.2']' returned non-zero exit status 1.
Python 3.13.0, pip 24.2 duly installed.

Any help you could offer would be most, most welcome - thank you in advance, and for this fab Plugin of yours!!

Last edited by revenant; 11-24-2024 at 08:40 AM.
revenant is offline   Reply With Quote