xxyzz / WordDumb

A calibre plugin that generates Kindle Word Wise and X-Ray files for KFX, AZW3, MOBI and EPUB eBook.
https://xxyzz.github.io/WordDumb/
GNU General Public License v3.0
376 stars 19 forks source link

Unable to generate Wordwise and X-Ray File for KFX #152

Closed derrickkhuynh closed 11 months ago

derrickkhuynh commented 11 months ago

Checkboxes

Describe the bug

Getting error when trying to generate wordwise and xray file for KFX files

System Information

OS: Windows 22621.2283 calibre version: 6.28 python version: 3.12.0 plug-in version: 3.29.6

Error message

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

Starting job: Generating Word Wise and X-Ray for Divergent 
Job: "Generating Word Wise and X-Ray for Divergent" 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 170, in do_job
  File "calibre_plugins.worddumb.deps", line 53, in install_deps
  File "calibre_plugins.worddumb.deps", line 146, in pip_install
  File "calibre_plugins.worddumb.utils", line 55, in run_subprocess
  File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['py', '-m', 'pip', '--disable-pip-version-check', 'install', '-U', '-t', 'C:\\Users\\teres\\AppData\\Roaming\\calibre\\plugins\\worddumb-libs-py3.12', '--no-user', 'https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.6.0/en_core_web_md-3.6.0-py3-none-any.whl']' returned non-zero exit status 1.

Called with args: (ParseJobData(book_id=6, book_path='T:\\Books\\Veronica Roth\\Divergent (6)\\Divergent - Veronica Roth.kfx', mi=<calibre.ebooks.metadata.book.base.Metadata object at 0x000001AFB20B5480>, book_fmt='KFX', book_lang='en', useragent='WordDumb/3.29.6 (https://github.com/xxyzz/WordDumb)', plugin_path=WindowsPath('C:/Users/teres/AppData/Roaming/calibre/plugins/WordDumb.zip'), spacy_model='en_core_web_md', create_ww=True, create_x=True, asin='B004CFA9RS', acr='CR!JIVGNXMKQL5Z7PVQVPHK9VO04DUQ', revision='', update_asin=False, kfx_json=[{'content': 'e6', 'position': 1, 'type': 2}, {'content': 'Divergent', 'position': 3, 'type': 1}, {'content': 'Veronica Roth', 'position': 12, 'type': 1}, {'content': 'eK', 'position': 25, 'type': 2}, {'content': 'To my mother,\nwho gave me the moment when Beatrice realizes how strong\nher mother is and wonders how she missed it for so long', 'position': 27, 'type': 1}, {'content': 'Contents', 'position': 154, 'type': 1}.
.....

  pip subprocess to install build dependencies did not run successfully.
  exit code: 1
 .....
    reading manifest file 'thinc.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: manifest_maker: MANIFEST.in, line 4: path 'tmp/' cannot end with '/'

    warning: no previously-included files matching '*.cpp' found under directory 'thinc'
    adding license file 'LICENSE'
    writing manifest file 'thinc.egg-info\SOURCES.txt'
    C:\Users\teres\AppData\Local\Temp\pip-build-env-19n5c8z2\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.backends' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.backends' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.backends' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.backends' to be distributed and are
            already explicitly excluding 'thinc.backends' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    C:\Users\teres\AppData\Local\Temp\pip-build-env-19n5c8z2\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.extra' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.extra' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.extra' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.extra' to be distributed and are
            already explicitly excluding 'thinc.extra' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    C:\Users\teres\AppData\Local\Temp\pip-build-env-19n5c8z2\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.layers' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.layers' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.layers' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.layers' to be distributed and are
            already explicitly excluding 'thinc.layers' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    C:\Users\teres\AppData\Local\Temp\pip-build-env-19n5c8z2\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.tests.mypy.configs' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.tests.mypy.configs' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.tests.mypy.configs' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.tests.mypy.configs' to be distributed and are
            already explicitly excluding 'thinc.tests.mypy.configs' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    C:\Users\teres\AppData\Local\Temp\pip-build-env-19n5c8z2\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.tests.mypy.outputs' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.tests.mypy.outputs' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.tests.mypy.outputs' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.tests.mypy.outputs' to be distributed and are
            already explicitly excluding 'thinc.tests.mypy.outputs' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    copying thinc\__init__.pxd -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\py.typed -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\backends\cblas.cpp -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\cpu_kernels.hh -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\linalg.cpp -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\numpy_ops.cpp -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\extra\search.cpp -> build\lib.win-amd64-cpython-312\thinc\extra
    copying thinc\layers\premap_ids.cpp -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\sparselinear.cpp -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\backends\__init__.pxd -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\_custom_kernels.cu -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\_murmur3.cu -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\cblas.pxd -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\cblas.pyx -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\linalg.pxd -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\linalg.pyx -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\numpy_ops.pxd -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\numpy_ops.pyx -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\extra\__init__.pxd -> build\lib.win-amd64-cpython-312\thinc\extra
    copying thinc\extra\search.pxd -> build\lib.win-amd64-cpython-312\thinc\extra
    copying thinc\extra\search.pyx -> build\lib.win-amd64-cpython-312\thinc\extra
    copying thinc\layers\premap_ids.pyx -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\sparselinear.pyx -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\extra\tests\c_test_search.pyx -> build\lib.win-amd64-cpython-312\thinc\extra\tests
    creating build\lib.win-amd64-cpython-312\thinc\tests\mypy\configs
    copying thinc\tests\mypy\configs\mypy-default.ini -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\configs
    copying thinc\tests\mypy\configs\mypy-plugin.ini -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\configs
    creating build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    copying thinc\tests\mypy\outputs\fail-no-plugin.txt -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    copying thinc\tests\mypy\outputs\fail-plugin.txt -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    copying thinc\tests\mypy\outputs\success-no-plugin.txt -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    copying thinc\tests\mypy\outputs\success-plugin.txt -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    running build_ext
    building 'thinc.backends.cblas' extension
    creating build\temp.win-amd64-cpython-312
    creating build\temp.win-amd64-cpython-312\Release
    creating build\temp.win-amd64-cpython-312\Release\thinc
    creating build\temp.win-amd64-cpython-312\Release\thinc\backends
    "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\teres\AppData\Local\Temp\pip-build-env-19n5c8z2\overlay\Lib\site-packages\numpy\core\include -IC:\Users\teres\AppData\Local\Programs\Python\Python312\Include -IC:\Users\teres\AppData\Local\Programs\Python\Python312\include -IC:\Users\teres\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /EHsc /Tpthinc/backends/cblas.cpp /Fobuild\temp.win-amd64-cpython-312\Release\thinc/backends/cblas.obj /Ox /EHsc
    cblas.cpp
    "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\teres\AppData\Local\Programs\Python\Python312\libs /LIBPATH:C:\Users\teres\AppData\Local\Programs\Python\Python312 /LIBPATH:C:\Users\teres\AppData\Local\Programs\Python\Python312\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22621.0\\um\x64" /EXPORT:PyInit_cblas build\temp.win-amd64-cpython-312\Release\thinc/backends/cblas.obj /OUT:build\lib.win-amd64-cpython-312\thinc\backends\cblas.cp312-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-312\Release\thinc/backends\cblas.cp312-win_amd64.lib
       Creating library build\temp.win-amd64-cpython-312\Release\thinc/backends\cblas.cp312-win_amd64.lib and object build\temp.win-amd64-cpython-312\Release\thinc/backends\cblas.cp312-win_amd64.exp
    Generating code
    Finished generating code
    building 'thinc.backends.linalg' extension
    "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\teres\AppData\Local\Temp\pip-build-env-19n5c8z2\overlay\Lib\site-packages\numpy\core\include -IC:\Users\teres\AppData\Local\Programs\Python\Python312\Include -IC:\Users\teres\AppData\Local\Programs\Python\Python312\include -IC:\Users\teres\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /EHsc /Tpthinc/backends/linalg.cpp /Fobuild\temp.win-amd64-cpython-312\Release\thinc/backends/linalg.obj /Ox /EHsc
    linalg.cpp
    thinc/backends/linalg.cpp(2034): warning C4244: '=': conversion from 'double' to '__pyx_t_5thinc_8backends_6linalg_weight_t', possible loss of data
    thinc/backends/linalg.cpp(2474): warning C4244: '=': conversion from 'double' to '__pyx_t_5thinc_8backends_6linalg_weight_t', possible loss of data
    thinc/backends/linalg.cpp(2521): warning C4244: '=': conversion from 'double' to '__pyx_t_5thinc_8backends_6linalg_weight_t', possible loss of data
    thinc/backends/linalg.cpp(2688): warning C4244: '=': conversion from 'double' to '__pyx_t_5thinc_8backends_6linalg_weight_t', possible loss of data
    thinc/backends/linalg.cpp(3356): warning C4244: 'argument': conversion from 'double' to '__pyx_t_5thinc_8backends_6linalg_weight_t', possible loss of data
    "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\teres\AppData\Local\Programs\Python\Python312\libs /LIBPATH:C:\Users\teres\AppData\Local\Programs\Python\Python312 /LIBPATH:C:\Users\teres\AppData\Local\Programs\Python\Python312\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22621.0\\um\x64" /EXPORT:PyInit_linalg build\temp.win-amd64-cpython-312\Release\thinc/backends/linalg.obj /OUT:build\lib.win-amd64-cpython-312\thinc\backends\linalg.cp312-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-312\Release\thinc/backends\linalg.cp312-win_amd64.lib
       Creating library build\temp.win-amd64-cpython-312\Release\thinc/backends\linalg.cp312-win_amd64.lib and object build\temp.win-amd64-cpython-312\Release\thinc/backends\linalg.cp312-win_amd64.exp
    Generating code
    Finished generating code
    building 'thinc.backends.numpy_ops' extension
    "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ithinc/backends -IC:\Users\teres\AppData\Local\Temp\pip-build-env-19n5c8z2\overlay\Lib\site-packages\numpy\core\include -IC:\Users\teres\AppData\Local\Programs\Python\Python312\Include -IC:\Users\teres\AppData\Local\Programs\Python\Python312\include -IC:\Users\teres\AppData\Local\Programs\Python\Python312\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /EHsc /Tpthinc/backends/numpy_ops.cpp /Fobuild\temp.win-amd64-cpython-312\Release\thinc/backends/numpy_ops.obj /Ox /EHsc
    numpy_ops.cpp
    C:\Users\teres\AppData\Local\Temp\pip-build-env-19n5c8z2\overlay\Lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
    thinc/backends/numpy_ops.cpp(4949): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(5042): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(5152): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(5389): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(5495): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(5596): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(5634): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(5665): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(5795): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(6142): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(6257): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(6440): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(6575): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(6860): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(7009): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(7197): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(7346): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(7494): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(7630): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(7783): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(7925): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(8081): warning C4244: '=': conversion from 'long' to 'char', possible loss of data
    thinc/backends/numpy_ops.cpp(8328): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(8422): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(8431): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(8440): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(8449): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(8620): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(8714): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(8723): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(8732): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(8741): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(8912): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(9054): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(9210): warning C4244: '=': conversion from 'long' to 'char', possible loss of data
    thinc/backends/numpy_ops.cpp(9457): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(9570): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(9579): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(9588): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(9714): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(9827): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(9836): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(9845): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(9971): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(10101): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(10286): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(10429): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(10730): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(10753): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(10781): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(10906): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(11011): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(11020): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(11101): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(11445): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(11468): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(11496): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(11622): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(11727): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(11745): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(11826): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(12170): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(12283): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(12408): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(12550): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(12706): warning C4244: '=': conversion from 'long' to 'char', possible loss of data
    thinc/backends/numpy_ops.cpp(12953): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(13057): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(13066): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(13075): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(13084): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
    thinc/backends/numpy_ops.cpp(13261): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(13365): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\Users\teres\AppData\Local\Programs\Python\Python312\Include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    thinc/backends/numpy_ops.cpp(13365): fatal error C1003: error count exceeds 100; stopping compilation
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for thinc
  Failed to build thinc
  ERROR: Could not build wheels for thinc, which is required to install pyproject.toml-based projects
  [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

pip subprocess to install build dependencies did not run successfully.
exit code: 1

Reproduce steps

  1. converted epub to kfx on Calibre
  2. upload to kindle via usb
  3. while in 'device' tab, click on dropdown Worddumb menu and click create wordwise and xray file

Generated files, screenshots or videos

My setting for WordDumb before clicking create wordwise and xray files:

image

full error message: error.txt

xxyzz commented 11 months ago

Please download the test build from GitHub Actions artifact that uses spaCy 3.7 which supports Python 3.12.

derrickkhuynh commented 11 months ago

That worked, thank you very much!