View Single Post
Old 05-22-2021, 12:04 PM   #129
mallomar
Enthusiast
mallomar began at the beginning.
 
Posts: 28
Karma: 10
Join Date: May 2018
Device: Onyx Boox Note Air 2, Kindle Oasis 2
Error on Latest

I'm still getting an error on the latest build BUT it actually seems like it's doing something for once, so that's improvements. Do I still need to be disabling gatekeeper?

Code:
calibre, version 5.18.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 0x128556c10>), True) {'notifications': <queue.Queue object at 0x11120e100>, 'abort': <threading.Event object at 0x127321130>, 'log': <calibre.utils.logging.GUILog object at 0x127321250>}
mallomar is offline   Reply With Quote