View Single Post
Old 05-28-2021, 12:03 PM   #131
mallomar
Connoisseur
mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.
 
mallomar's Avatar
 
Posts: 71
Karma: 8682
Join Date: May 2018
Device: Onyx Boox Note Air 2, Kindle Oasis 2
Quote:
Originally Posted by xxyzz View Post
X-ray is disabled by default on mac, did you forget to disable it?
It's enabled. I'm still getting the same error, though oddly on other books when I try it nothing seems to happen at all.

Code:
calibre, version 5.19.0 (darwin, embedded-python: True)
Dumb error: Failed: Generating Word Wise for The Largesse of the Sea Maiden

Starting job: Generating Word Wise for The Largesse of the Sea Maiden 
Job: "Generating Word Wise for The Largesse of the Sea Maiden" failed with error: 
Traceback (most recent call last):
  File "/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/__init__.py", line 22, in <module>
    from . import multiarray
  File "/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/multiarray.py", line 12, in <module>
    from . import overrides
  File "/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/overrides.py", line 7, in <module>
    from numpy.core._multiarray_umath import (
ImportError: dlopen(/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/_multiarray_umath.cpython-38-darwin.so, 2): no suitable image found.  Did find:
	/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/_multiarray_umath.cpython-38-darwin.so: code signature in (/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/_multiarray_umath.cpython-38-darwin.so) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/gui2/threaded_jobs.py", line 83, in start_work
  File "calibre_plugins.worddumb.parse_job", line 32, in do_job
    find_named_entity(start, text, x_ray)
  File "calibre_plugins.worddumb.parse_job", line 98, in find_named_entity
    nodes = ne_chunk(pos_tag(word_tokenize(text)))
  File "/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/nltk/nltk/chunk/__init__.py", line 185, in ne_chunk
    chunker = load(chunker_pickle)
  File "/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/nltk/nltk/data.py", line 755, in load
    resource_val = pickle.load(opened_resource)
  File "/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/__init__.py", line 145, in <module>
    from . import core
  File "/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/__init__.py", line 48, in <module>
    raise ImportError(msg)
ImportError: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.8 from "/Applications/calibre.app/Contents/MacOS/calibre"
  * The NumPy version is: "1.20.3"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: dlopen(/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/_multiarray_umath.cpython-38-darwin.so, 2): no suitable image found.  Did find:
	/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/_multiarray_umath.cpython-38-darwin.so: code signature in (/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/numpy_38/numpy/core/_multiarray_umath.cpython-38-darwin.so) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

 
Called with args: ((461, 'KFX', 'B0722TJSG7', '/Users/rapaz/Calibre Library/Denis Johnson/The Largesse of the Sea Maiden (461)/The Largesse of the Sea Maiden - Denis Johnson.kfx', <calibre.ebooks.metadata.book.base.Metadata object at 0x129057790>), True) {'notifications': <queue.Queue object at 0x129068880>, 'abort': <threading.Event object at 0x129068430>, 'log': <calibre.utils.logging.GUILog object at 0x129068490>}
mallomar is offline   Reply With Quote