Description
I'm trying to run pyinstaller on the 0.29.2 version and am running into the following:
SubprocessDiedError: Isolated subprocess crashed while importing package 'pyxcp'! Package import list: ['PyQt6', <big list here>, 'pyxcp', 'pydantic', 'toml', 'dotenv', 'pydantic.v1', 'pydantic.plugin', 'annotated_types', 'pydantic.experimental', 'pydantic.deprecated', 'typing_inspection', 'zoneinfo', 'pydantic._internal', 'pydantic_core', 'serial', 'construct', 'construct.lib', 'traitlets.config', 'can', 'pyxcp.recorder', 'pyxcp.daq_stim', 'pyxcp.daq_stim.optimize', 'pygments.styles', 'pygments', 'pygments.formatters', 'chardet', 'pygments.filters', 'pygments.lexers', 'markdown_it', 'markdown_it.rules_core', 'markdown_it.rules_inline', 'mdurl', 'markdown_it.common', 'markdown_it.rules_block', 'markdown_it.presets', 'markdown_it.helpers', 'rich', 'pyxcp.utils', 'pytz', 'pyxcp.cpp_ext', 'pyxcp.transport', 'pyxcp.master', 'pyxcp.config' ]
I'm using the latest hook-pyxcp.py that is in the repo Any help appreciated!
Transport Layer
Ethernet (TCP)
Category
Installation / Build
pyxcp Version
0.29.2
Python Version
3.11.1
Operating System
Windows 11
Installation Method
pip install pyxcp
Steps to Reproduce
# Your minimal reproducible example here
from pyxcp.cmdline import ArgumentParser
ap = ArgumentParser(description="Bug reproduction")
with ap.run() as x:
# Code that triggers the bug
pass
Expected Behavior
successful .exe creation
Actual Behavior
A:\Programs\python3\Lib\site-packages\PyInstaller\building\build_main.py:227: UserWarning: The numpy.array_api submodule is still experimental. See NEP 47.
import(package)
+--------------------- Traceback (most recent call last) ---------------------+
| A:\Programs\python3\Lib\site-packages\PyInstaller\building\build_main.py:28 |
| 7 in find_binary_dependencies |
| |
| 284 child.call(setup, suppressed_imports) |
| 285 for package in import_packages: |
| 286 try: |
| > 287 child.call(import_library, package) |
| 288 except isolated.SubprocessDiedError as e: |
| 289 # Re-raise as isolated.SubprocessDiedError aga |
| 290 # isolated.Python.__exit__(). |
| |
| +-------------------------------- locals ---------------------------------+ |
| | _ = 'A:\Programs\python3\Lib\site-packa� | |
| | _QT_BINDINGS = ('PySide2', 'PyQt5', 'PySide6', 'PyQt6') | |
| | binaries = [ | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ... +57 | |
| | ] | |
| | child = <PyInstaller.isolated._parent.Python | |
| | object at 0x000002C97A9BFFD0> | |
| | extra_libdirs = [ | |
| | 'A:\Programs\python3', | |
| | 'A:\Programs\python3', | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | ] | |
| | import_packages = [ | |
| | 'PyQt6', | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | ... +117 | |
| | ] | |
| | other_packages = [ | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | 'ctypes.macholib', | |
| | ... +116 | |
| | ] | |
| | package = 'pyxcp' | |
| | pywin32_base_dir = 'A:\Programs\python3\Lib\site-packa� | |
| | pywin32_system32_dir = 'A:\Programs\python3\Lib\site-packa� | |
| | qt_packages = ['PyQt6'] | |
| | suppressed_imports = [ | |
| | 'PySide2', | |
| | 'PyQt5', | |
| | 'PySide6', | |
| | 'shiboken2', | |
| | 'shiboken6', | |
| | 'pyqtgraph.canvas', | |
| | 'PySimpleGUI' | |
| | ] | |
| | symlink_suppression_patterns = set() | |
| +-------------------------------------------------------------------------+ |
| |
| A:\Programs\python3\Lib\site-packages\PyInstaller\isolated_parent.py:322 |
| in call |
| |
| 319 ok, output = loads(b64decode(self._read_handle.readline() |
| 320 except (EOFError, BrokenPipeError): |
| 321 # Subprocess appears to have died in an unhandleable way |
| > 322 raise SubprocessDiedError( |
| 323 f"Child process died calling {function.name}() wi |
| 324 f"kwargs={kwargs}. Its exit code was {self._child.wai |
| 325 ) from None |
| |
| +-------------------------------- locals ---------------------------------+ |
| | args = ('pyxcp',) | |
| | kwargs = {} | |
| | self = <PyInstaller.isolated._parent.Python object at | |
| | 0x000002C97A9BFFD0> | |
| +-------------------------------------------------------------------------+ |
+-----------------------------------------------------------------------------+
SubprocessDiedError: Child process died calling import_library() with
args=('pyxcp',) and kwargs={}. Its exit code was 3221225477.
The above exception was the direct cause of the following exception:
+--------------------- Traceback (most recent call last) ---------------------+
| in run_module_as_main:198 |
| +-------------------------------- locals ---------------------------------+ |
| | alter_argv = False | |
| | code = <code object at 0x000002C971DC58A0, file | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe_main.p� | |
| | line 1> | |
| | main_globals = { | |
| | 'name': 'main', | |
| | 'doc': None, | |
| | 'package': '', | |
| | 'loader': <zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | 'spec': ModuleSpec(name='main', | |
| | loader=<zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | origin='A:\Programs\python3\Scripts\pyinstaller.exe� | |
| | 'annotations': {}, | |
| | 'builtins': <module 'builtins' (built-in)>, | |
| | 'file': | |
| | 'A:\Programs\python3\Scripts\pyinstaller.exe\__mai� | |
| | 'cached': | |
| | 'A:\Programs\python3\Scripts\pyinstaller.exe\__pyc� | |
| | 'sys': <module 'sys' (built-in)>, | |
| | ... +1 | |
| | } | |
| | mod_name = 'main' | |
| | mod_spec = ModuleSpec(name='main', loader=<zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | origin='A:\Programs\python3\Scripts\pyinstaller.exe� | |
| +-------------------------------------------------------------------------+ |
| in _run_code:88 |
| +-------------------------------- locals ---------------------------------+ |
| | cached = 'A:\Programs\python3\Scripts\pyinstaller.exe\_pyc� | |
| | code = <code object at 0x000002C971DC58A0, file | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe_main.p� | |
| | line 1> | |
| | fname = 'A:\Programs\python3\Scripts\pyinstaller.exe\__mai� | |
| | init_globals = None | |
| | loader = <zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe"> | |
| | mod_name = 'main' | |
| | mod_spec = ModuleSpec(name='main', loader=<zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | origin='A:\Programs\python3\Scripts\pyinstaller.exe� | |
| | pkg_name = '' | |
| | run_globals = { | |
| | 'name': 'main', | |
| | 'doc': None, | |
| | 'package': '', | |
| | 'loader': <zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | 'spec': ModuleSpec(name='main', | |
| | loader=<zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | origin='A:\Programs\python3\Scripts\pyinstaller.exe� | |
| | 'annotations': {}, | |
| | 'builtins': <module 'builtins' (built-in)>, | |
| | 'file': | |
| | 'A:\Programs\python3\Scripts\pyinstaller.exe\__mai� | |
| | 'cached': | |
| | 'A:\Programs\python3\Scripts\pyinstaller.exe\__pyc� | |
| | 'sys': <module 'sys' (built-in)>, | |
| | ... +1 | |
| | } | |
| | script_name = None | |
| +-------------------------------------------------------------------------+ |
| |
| ... 9 frames hidden ... |
| |
| A:\Programs\python3\Lib\site-packages\PyInstaller\building\build_main.py:96 |
| 7 in assemble |
| |
| 964 |
| 965 collected_packages = self.graph.get_collected_packages() |
| 966 self.binaries.extend( |
| > 967 find_binary_dependencies(self.binaries, collected_packag |
| 968 ) |
| 969 |
| 970 # Apply work-around for (potential) binaries collected from |
| |
| +-------------------------------- locals ---------------------------------+ |
| | base_library_zip = 'C:\Projects\S80\Development\Workspace\Wi� | |
| | base_modules = { | |
| | 'ntpath', | |
| | 'encodings.euc_kr', | |
| | 'encodings.cp865', | |
| | 'io', | |
| | 'encodings.iso2022_jp', | |
| | 'encodings.iso8859_10', | |
| | 'encodings.cp850', | |
| | 'encodings.cp737', | |
| | 'encodings.mac_iceland', | |
| | 'encodings.zlib_codec', | |
| | ... +145 | |
| | } | |
| | base_modules_toc = [ | |
| | ( | |
| | 'collections.abc', | |
| | 'A:\Programs\python3\Lib\collectio� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'collections', | |
| | 'A:\Programs\python3\Lib\collectio� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'heapq', | |
| | 'A:\Programs\python3\Lib\heapq.py', | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're._parser', | |
| | 'A:\Programs\python3\Lib\re\_pars� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're._constants', | |
| | 'A:\Programs\python3\Lib\re\_cons� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're._compiler', | |
| | 'A:\Programs\python3\Lib\re\_comp� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're._casefix', | |
| | 'A:\Programs\python3\Lib\re\_case� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're', | |
| | 'A:\Programs\python3\Lib\re\__ini� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'reprlib', | |
| | 'A:\Programs\python3\Lib\reprlib.p� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'types', | |
| | 'A:\Programs\python3\Lib\types.py', | |
| | 'PYMODULE' | |
| | ), | |
| | ... +145 | |
| | ] | |
| | co = <code object at 0x000002C9788F9350, | |
| | file | |
| | "A:\Programs\python3\Lib\site-packages\setupto� | |
| | line 1> | |
| | code_cache = { | |
| | 'pyi_rth_utils.qt': <code object | |
| | at 0x000002C979A97530, file | |
| | "A:\Programs\python3\Lib\site-packages\PyInsta� | |
| | line 1>, | |
| | 'importlib': <code object at | |
| | 0x000002C9729C6DD0, file | |
| | "A:\Programs\python3\Lib\importlib_init.py� | |
| | line 1>, | |
| | 'importlib._bootstrap_external': <code | |
| | object at 0x000002C9734CD520, file | |
| | "A:\Programs\python3\Lib\importlib_bootstrap_� | |
| | line 1>, | |
| | 'importlib.metadata': <code object | |
| | at 0x000002C973909700, file | |
| | "A:\Programs\python3\Lib\importlib\metadata__� | |
| | line 1>, | |
| | 'typing': <code object at | |
| | 0x000002C972C39DB0, file | |
| | "A:\Programs\python3\Lib\typing.py", line 1>, | |
| | 'importlib.abc': <code object at | |
| | 0x000002C972BD8610, file | |
| | "A:\Programs\python3\Lib\importlib\abc.py", | |
| | line 1>, | |
| | 'importlib.resources.abc': <code object | |
| | at 0x000002C975AA8730, file | |
| | "A:\Programs\python3\Lib\importlib\resources\a� | |
| | line 1>, | |
| | 'importlib.resources': <code object | |
| | at 0x000002C974FF6430, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | 'importlib.resources._legacy': <code object | |
| | at 0x000002C973915230, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | 'importlib.resources._common': <code object | |
| | at 0x000002C972A36C40, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | ... +1546 | |
| | } | |
| | collect_mode = <_ModuleCollectionMode.PYZ: 1> | |
| | collected_packages = [ | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | 'ctypes.macholib', | |
| | ... +117 | |
| | ] | |
| | combined_toc = [ | |
| | ( | |
| | 'PC49.json', | |
| | 'C:\Projects\S80\Development\Works� | |
| | 'DATA' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qg� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qi� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qi� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qj� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qp� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qs� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qt� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qt� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qw� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ... +883 | |
| | ] | |
| | CONF = { | |
| | 'pathex': [ | |
| | 'C:\Projects\S80\Development\Works� | |
| | ], | |
| | 'noconfirm': True, | |
| | 'cachedir': | |
| | 'C:\Users\nolljef\AppData\Local\pyinstall� | |
| | 'upx_dir': None, | |
| | 'upx_available': False, | |
| | 'ui_admin': False, | |
| | 'ui_access': False, | |
| | 'spec': | |
| | 'C:\Projects\S80\Development\Workspace\Wi� | |
| | 'specpath': | |
| | 'C:\Projects\S80\Development\Workspace\Wi� | |
| | 'specnm': 'S80_XCP', | |
| | ... +8 | |
| | } | |
| | ctypes_binaries = [] | |
| | ctypes_code_objs = { | |
| | 'multiprocessing.sharedctypes': <code | |
| | object at 0x000002C9737A52B0, file | |
| | "A:\Programs\python3\Lib\multiprocessing\share� | |
| | line 1>, | |
| | 'numpy.core._dtype_ctypes': <code object | |
| | at 0x000002C973D1CC60, file | |
| | "A:\Programs\python3\Lib\site-packages\numpy\c� | |
| | line 1>, | |
| | 'numpy.core._internal': <code object | |
| | at 0x000002C976C35500, file | |
| | "A:\Programs\python3\Lib\site-packages\numpy\c� | |
| | line 1>, | |
| | 'numpy.ctypeslib': <code object at | |
| | 0x000002C976E37410, file | |
| | "A:\Programs\python3\Lib\site-packages\numpy\c� | |
| | line 1>, | |
| | 'pya2l.parser': <code object at | |
| | 0x000002C974F3DD10, file | |
| | "A:\Programs\python3\Lib\site-packages\pya2l\p� | |
| | line 1>, | |
| | 'rich._windows': <code object at | |
| | 0x000002C97765F720, file | |
| | "A:\Programs\python3\Lib\site-packages\rich_w� | |
| | line 1>, | |
| | 'rich._win32_console': <code object | |
| | at 0x000002C973A32620, file | |
| | "A:\Programs\python3\Lib\site-packages\rich_w� | |
| | line 1>, | |
| | 'serial.serialwin32': <code object | |
| | at 0x000002C97840CC10, file | |
| | "A:\Programs\python3\Lib\site-packages\serial\� | |
| | line 1>, | |
| | 'serial.win32': <code object at | |
| | 0x000002C977237D80, file | |
| | "A:\Programs\python3\Lib\site-packages\serial\� | |
| | line 1>, | |
| | 'usb.backend.libusb1': <code object | |
| | at 0x000002C9765DAB30, file | |
| | "A:\Programs\python3\Lib\site-packages\usb\bac� | |
| | line 1>, | |
| | ... +8 | |
| | } | |
| | dest = 'PyQt6\QtCore.pyd' | |
| | dest_name = 'PyQt6\Qt6\plugins\generic\qtuiotouchplugi� | |
| | detected_typecode = 'BINARY' | |
| | global_code_cache_map = { | |
| | 3064353572352: { | |
| | 'pyi_rth_utils.qt': <code object | |
| | at 0x000002C979A97530, file | |
| | "A:\Programs\python3\Lib\site-packages\PyInsta� | |
| | line 1>, | |
| | 'importlib': <code object at | |
| | 0x000002C9729C6DD0, file | |
| | "A:\Programs\python3\Lib\importlib_init.py� | |
| | line 1>, | |
| | 'importlib._bootstrap_external': <code | |
| | object at 0x000002C9734CD520, file | |
| | "A:\Programs\python3\Lib\importlib_bootstrap_� | |
| | line 1>, | |
| | 'importlib.metadata': <code object | |
| | at 0x000002C973909700, file | |
| | "A:\Programs\python3\Lib\importlib\metadata__� | |
| | line 1>, | |
| | 'typing': <code object at | |
| | 0x000002C972C39DB0, file | |
| | "A:\Programs\python3\Lib\typing.py", line 1>, | |
| | 'importlib.abc': <code object | |
| | at 0x000002C972BD8610, file | |
| | "A:\Programs\python3\Lib\importlib\abc.py", | |
| | line 1>, | |
| | 'importlib.resources.abc': <code object | |
| | at 0x000002C975AA8730, file | |
| | "A:\Programs\python3\Lib\importlib\resources\a� | |
| | line 1>, | |
| | 'importlib.resources': <code object | |
| | at 0x000002C974FF6430, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | 'importlib.resources._legacy': <code | |
| | object at 0x000002C973915230, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | 'importlib.resources._common': <code | |
| | object at 0x000002C972A36C40, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | ... +1546 | |
| | } | |
| | } | |
| | idx = 66 | |
| | in_pyz = True | |
| | m = 'tkinter' | |
| | name = 'json.scanner' | |
| | optim_level = 0 | |
| | optim_typecode = 'PYMODULE' | |
| | program_scripts = [ | |
| | Script('C:\Projects\S80\Development\Wo� | |
| | ] | |
| | program_toc = [ | |
| | ( | |
| | 'S80_XCP', | |
| | 'C:\Projects\S80\Development\Works� | |
| | 'PYSOURCE' | |
| | ) | |
| | ] | |
| | pure_pymodules_toc = [ | |
| | ( | |
| | '_pyi_rth_utils.qt', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib._bootstrap_external', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.metadata', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'typing', | |
| | 'A:\Programs\python3\Lib\typing.py� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.abc', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.resources.abc', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.resources', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.resources._legacy', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.resources._common', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ... +1553 | |
| | ] | |
| | pycs_dir = 'C:\Projects\S80\Development\Workspace\Wi� | |
| | python_lib = 'A:\Programs\python3\python311.dll' | |
| | rhtook_scripts = [ | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | ] | |
| | rthook_toc = [ | |
| | ( | |
| | 'pyi_rth_inspect', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_pkgutil', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_multiprocessing', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_setuptools', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_traitlets', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_usb', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_pyqt6', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ) | |
| | ] | |
| | script = 'C:\Projects\S80\Development\Workspace\Wi� | |
| | self = <PyInstaller.building.build_main.Analysis | |
| | object at 0x000002C9731D57D0> | |
| | source = 'A:\Programs\python3\Lib\site-packages\Py� | |
| | src_name = 'A:\Programs\python3\Lib\site-packages\Py� | |
| | src_path = 'A:\Programs\python3\Lib\json\scanner.py' | |
| | toc_entry = ( | |
| | 'json.scanner', | |
| | 'A:\Programs\python3\Lib\json\scanner� | |
| | 'PYMODULE' | |
| | ) | |
| | typecode = 'PYMODULE' | |
| +-------------------------------------------------------------------------+ |
| |
| A:\Programs\python3\Lib\site-packages\PyInstaller\building\build_main.py:29 |
| 1 in find_binary_dependencies |
| |
| 288 except isolated.SubprocessDiedError as e: |
| 289 # Re-raise as isolated.SubprocessDiedError aga |
| 290 # isolated.Python.__exit__(). |
| > 291 raise isolated.SubprocessDiedError( |
| 292 f"Isolated subprocess crashed while importin |
| 293 f"Package import list: {import_packages!r}" |
| 294 ) from e |
| |
| +-------------------------------- locals ---------------------------------+ |
| | _ = 'A:\Programs\python3\Lib\site-packa� | |
| | _QT_BINDINGS = ('PySide2', 'PyQt5', 'PySide6', 'PyQt6') | |
| | binaries = [ | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ... +57 | |
| | ] | |
| | child = <PyInstaller.isolated._parent.Python | |
| | object at 0x000002C97A9BFFD0> | |
| | extra_libdirs = [ | |
| | 'A:\Programs\python3', | |
| | 'A:\Programs\python3', | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | ] | |
| | import_packages = [ | |
| | 'PyQt6', | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | ... +117 | |
| | ] | |
| | other_packages = [ | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | 'ctypes.macholib', | |
| | ... +116 | |
| | ] | |
| | package = 'pyxcp' | |
| | pywin32_base_dir = 'A:\Programs\python3\Lib\site-packa� | |
| | pywin32_system32_dir = 'A:\Programs\python3\Lib\site-packa� | |
| | qt_packages = ['PyQt6'] | |
| | suppressed_imports = [ | |
| | 'PySide2', | |
| | 'PyQt5', | |
| | 'PySide6', | |
| | 'shiboken2', | |
| | 'shiboken6', | |
| | 'pyqtgraph.canvas', | |
| | 'PySimpleGUI' | |
| | ] | |
| | symlink_suppression_patterns = set() | |
| +-------------------------------------------------------------------------+ |
+-----------------------------------------------------------------------------+
SubprocessDiedError: Isolated subprocess crashed while importing package
'pyxcp'! Package import list: ['PyQt6', 'importlib', 'importlib.metadata',
'importlib.resources', 'logging', 'urllib', 'email', '_pyi_rth_utils',
'usb.backend', 'usb', 'ctypes.macholib', 'ctypes', 'traitlets',
'traitlets.utils', 'asyncio', 'concurrent.futures', 'multiprocessing.dummy',
'xmlrpc', 'xml.parsers', 'xml', 'http', 'xml.sax', 'multiprocessing',
'concurrent', '_distutils_hack', 'setuptools', 'distutils',
'setuptools._vendor.more_itertools', 'unittest',
'setuptools._vendor.jaraco.functools', 'distutils.command', 'packaging',
'setuptools._distutils.compat', 'setuptools._distutils.command',
'setuptools._distutils', 'setuptools._vendor.tomli', 'tomllib',
'setuptools.compat', 'html', 'setuptools._vendor.importlib_metadata',
'setuptools._vendor.zipp.compat', 'setuptools._vendor.zipp',
'setuptools._vendor.importlib_metadata.compat', 'setuptools._vendor.wheel',
'setuptools._vendor.jaraco.text', 'setuptools._vendor.jaraco.context',
'setuptools._vendor.backports.tarfile',
'setuptools._vendor.backports.tarfile.compat', 'setuptools._vendor.backports',
'setuptools.config._validate_pyproject', 'setuptools._vendor.packaging',
'setuptools.config', 'setuptools.command', 'grpc._cython', 'grpc', 'grpc.aio',
'grpc_tools', 'grpc.experimental', 'google.protobuf.pyext',
'google.protobuf.internal', 'google.protobuf', 'pya2l', 'dictdiffer', 'numpy',
'numpy.testing', 'numpy._utils', 'pydoc_data', 'numpy.testing._private',
'numpy.matrixlib', 'numpy.ma', 'numpy.random', 'numpy._typing',
'numpy.polynomial', 'numpy.fft', 'numpy.linalg', 'numpy.lib', 'numpy.compat',
'numpy.core', 'yaml', 'numpy.array_api', 'numpy.typing', 'collections', 're',
'encodings', 'pyxcp', 'pydantic', 'toml', 'dotenv', 'pydantic.v1',
'pydantic.plugin', 'annotated_types', 'pydantic.experimental',
'pydantic.deprecated', 'typing_inspection', 'zoneinfo', 'pydantic._internal',
'pydantic_core', 'serial', 'construct', 'construct.lib', 'traitlets.config',
'can', 'pyxcp.recorder', 'pyxcp.daq_stim', 'pyxcp.daq_stim.optimize',
'pygments.styles', 'pygments', 'pygments.formatters', 'chardet',
'pygments.filters', 'pygments.lexers', 'markdown_it', 'markdown_it.rules_core',
'markdown_it.rules_inline', 'mdurl', 'markdown_it.common',
'markdown_it.rules_block', 'markdown_it.presets', 'markdown_it.helpers',
'rich', 'pyxcp.utils', 'pytz', 'pyxcp.cpp_ext', 'pyxcp.transport',
'pyxcp.master', 'pyxcp.config', 'json']
Configuration
Additional Logs
Checklist
Description
I'm trying to run pyinstaller on the 0.29.2 version and am running into the following:
SubprocessDiedError: Isolated subprocess crashed while importing package 'pyxcp'! Package import list: ['PyQt6', <big list here>, 'pyxcp', 'pydantic', 'toml', 'dotenv', 'pydantic.v1', 'pydantic.plugin', 'annotated_types', 'pydantic.experimental', 'pydantic.deprecated', 'typing_inspection', 'zoneinfo', 'pydantic._internal', 'pydantic_core', 'serial', 'construct', 'construct.lib', 'traitlets.config', 'can', 'pyxcp.recorder', 'pyxcp.daq_stim', 'pyxcp.daq_stim.optimize', 'pygments.styles', 'pygments', 'pygments.formatters', 'chardet', 'pygments.filters', 'pygments.lexers', 'markdown_it', 'markdown_it.rules_core', 'markdown_it.rules_inline', 'mdurl', 'markdown_it.common', 'markdown_it.rules_block', 'markdown_it.presets', 'markdown_it.helpers', 'rich', 'pyxcp.utils', 'pytz', 'pyxcp.cpp_ext', 'pyxcp.transport', 'pyxcp.master', 'pyxcp.config' ]I'm using the latest hook-pyxcp.py that is in the repo Any help appreciated!
Transport Layer
Ethernet (TCP)
Category
Installation / Build
pyxcp Version
0.29.2
Python Version
3.11.1
Operating System
Windows 11
Installation Method
pip install pyxcp
Steps to Reproduce
Expected Behavior
successful .exe creation
Actual Behavior
A:\Programs\python3\Lib\site-packages\PyInstaller\building\build_main.py:227: UserWarning: The numpy.array_api submodule is still experimental. See NEP 47.
import(package)
+--------------------- Traceback (most recent call last) ---------------------+
| A:\Programs\python3\Lib\site-packages\PyInstaller\building\build_main.py:28 |
| 7 in find_binary_dependencies |
| |
| 284 child.call(setup, suppressed_imports) |
| 285 for package in import_packages: |
| 286 try: |
| > 287 child.call(import_library, package) |
| 288 except isolated.SubprocessDiedError as e: |
| 289 # Re-raise as
isolated.SubprocessDiedErroraga || 290 #
isolated.Python.__exit__(). || |
| +-------------------------------- locals ---------------------------------+ |
| | _ = 'A:\Programs\python3\Lib\site-packa� | |
| | _QT_BINDINGS = ('PySide2', 'PyQt5', 'PySide6', 'PyQt6') | |
| | binaries = [ | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ... +57 | |
| | ] | |
| | child = <PyInstaller.isolated._parent.Python | |
| | object at 0x000002C97A9BFFD0> | |
| | extra_libdirs = [ | |
| | 'A:\Programs\python3', | |
| | 'A:\Programs\python3', | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | ] | |
| | import_packages = [ | |
| | 'PyQt6', | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | ... +117 | |
| | ] | |
| | other_packages = [ | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | 'ctypes.macholib', | |
| | ... +116 | |
| | ] | |
| | package = 'pyxcp' | |
| | pywin32_base_dir = 'A:\Programs\python3\Lib\site-packa� | |
| | pywin32_system32_dir = 'A:\Programs\python3\Lib\site-packa� | |
| | qt_packages = ['PyQt6'] | |
| | suppressed_imports = [ | |
| | 'PySide2', | |
| | 'PyQt5', | |
| | 'PySide6', | |
| | 'shiboken2', | |
| | 'shiboken6', | |
| | 'pyqtgraph.canvas', | |
| | 'PySimpleGUI' | |
| | ] | |
| | symlink_suppression_patterns = set() | |
| +-------------------------------------------------------------------------+ |
| |
| A:\Programs\python3\Lib\site-packages\PyInstaller\isolated_parent.py:322 |
| in call |
| |
| 319 ok, output = loads(b64decode(self._read_handle.readline() |
| 320 except (EOFError, BrokenPipeError): |
| 321 # Subprocess appears to have died in an unhandleable way |
| > 322 raise SubprocessDiedError( |
| 323 f"Child process died calling {function.name}() wi |
| 324 f"kwargs={kwargs}. Its exit code was {self._child.wai |
| 325 ) from None |
| |
| +-------------------------------- locals ---------------------------------+ |
| | args = ('pyxcp',) | |
| | kwargs = {} | |
| | self = <PyInstaller.isolated._parent.Python object at | |
| | 0x000002C97A9BFFD0> | |
| +-------------------------------------------------------------------------+ |
+-----------------------------------------------------------------------------+
SubprocessDiedError: Child process died calling import_library() with
args=('pyxcp',) and kwargs={}. Its exit code was 3221225477.
The above exception was the direct cause of the following exception:
+--------------------- Traceback (most recent call last) ---------------------+
| in run_module_as_main:198 |
| +-------------------------------- locals ---------------------------------+ |
| | alter_argv = False | |
| | code = <code object at 0x000002C971DC58A0, file | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe_main.p� | |
| | line 1> | |
| | main_globals = { | |
| | 'name': 'main', | |
| | 'doc': None, | |
| | 'package': '', | |
| | 'loader': <zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | 'spec': ModuleSpec(name='main', | |
| | loader=<zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | origin='A:\Programs\python3\Scripts\pyinstaller.exe� | |
| | 'annotations': {}, | |
| | 'builtins': <module 'builtins' (built-in)>, | |
| | 'file': | |
| | 'A:\Programs\python3\Scripts\pyinstaller.exe\__mai� | |
| | 'cached': | |
| | 'A:\Programs\python3\Scripts\pyinstaller.exe\__pyc� | |
| | 'sys': <module 'sys' (built-in)>, | |
| | ... +1 | |
| | } | |
| | mod_name = 'main' | |
| | mod_spec = ModuleSpec(name='main', loader=<zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | origin='A:\Programs\python3\Scripts\pyinstaller.exe� | |
| +-------------------------------------------------------------------------+ |
| in _run_code:88 |
| +-------------------------------- locals ---------------------------------+ |
| | cached = 'A:\Programs\python3\Scripts\pyinstaller.exe\_pyc� | |
| | code = <code object at 0x000002C971DC58A0, file | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe_main.p� | |
| | line 1> | |
| | fname = 'A:\Programs\python3\Scripts\pyinstaller.exe\__mai� | |
| | init_globals = None | |
| | loader = <zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe"> | |
| | mod_name = 'main' | |
| | mod_spec = ModuleSpec(name='main', loader=<zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | origin='A:\Programs\python3\Scripts\pyinstaller.exe� | |
| | pkg_name = '' | |
| | run_globals = { | |
| | 'name': 'main', | |
| | 'doc': None, | |
| | 'package': '', | |
| | 'loader': <zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | 'spec': ModuleSpec(name='main', | |
| | loader=<zipimporter object | |
| | "A:\Programs\python3\Scripts\pyinstaller.exe">, | |
| | origin='A:\Programs\python3\Scripts\pyinstaller.exe� | |
| | 'annotations': {}, | |
| | 'builtins': <module 'builtins' (built-in)>, | |
| | 'file': | |
| | 'A:\Programs\python3\Scripts\pyinstaller.exe\__mai� | |
| | 'cached': | |
| | 'A:\Programs\python3\Scripts\pyinstaller.exe\__pyc� | |
| | 'sys': <module 'sys' (built-in)>, | |
| | ... +1 | |
| | } | |
| | script_name = None | |
| +-------------------------------------------------------------------------+ |
| |
| ... 9 frames hidden ... |
| |
| A:\Programs\python3\Lib\site-packages\PyInstaller\building\build_main.py:96 |
| 7 in assemble |
| |
| 964 |
| 965 collected_packages = self.graph.get_collected_packages() |
| 966 self.binaries.extend( |
| > 967 find_binary_dependencies(self.binaries, collected_packag |
| 968 ) |
| 969 |
| 970 # Apply work-around for (potential) binaries collected from |
| |
| +-------------------------------- locals ---------------------------------+ |
| | base_library_zip = 'C:\Projects\S80\Development\Workspace\Wi� | |
| | base_modules = { | |
| | 'ntpath', | |
| | 'encodings.euc_kr', | |
| | 'encodings.cp865', | |
| | 'io', | |
| | 'encodings.iso2022_jp', | |
| | 'encodings.iso8859_10', | |
| | 'encodings.cp850', | |
| | 'encodings.cp737', | |
| | 'encodings.mac_iceland', | |
| | 'encodings.zlib_codec', | |
| | ... +145 | |
| | } | |
| | base_modules_toc = [ | |
| | ( | |
| | 'collections.abc', | |
| | 'A:\Programs\python3\Lib\collectio� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'collections', | |
| | 'A:\Programs\python3\Lib\collectio� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'heapq', | |
| | 'A:\Programs\python3\Lib\heapq.py', | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're._parser', | |
| | 'A:\Programs\python3\Lib\re\_pars� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're._constants', | |
| | 'A:\Programs\python3\Lib\re\_cons� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're._compiler', | |
| | 'A:\Programs\python3\Lib\re\_comp� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're._casefix', | |
| | 'A:\Programs\python3\Lib\re\_case� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 're', | |
| | 'A:\Programs\python3\Lib\re\__ini� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'reprlib', | |
| | 'A:\Programs\python3\Lib\reprlib.p� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'types', | |
| | 'A:\Programs\python3\Lib\types.py', | |
| | 'PYMODULE' | |
| | ), | |
| | ... +145 | |
| | ] | |
| | co = <code object at 0x000002C9788F9350, | |
| | file | |
| | "A:\Programs\python3\Lib\site-packages\setupto� | |
| | line 1> | |
| | code_cache = { | |
| | 'pyi_rth_utils.qt': <code object | |
| | at 0x000002C979A97530, file | |
| | "A:\Programs\python3\Lib\site-packages\PyInsta� | |
| | line 1>, | |
| | 'importlib': <code object at | |
| | 0x000002C9729C6DD0, file | |
| | "A:\Programs\python3\Lib\importlib_init.py� | |
| | line 1>, | |
| | 'importlib._bootstrap_external': <code | |
| | object at 0x000002C9734CD520, file | |
| | "A:\Programs\python3\Lib\importlib_bootstrap_� | |
| | line 1>, | |
| | 'importlib.metadata': <code object | |
| | at 0x000002C973909700, file | |
| | "A:\Programs\python3\Lib\importlib\metadata__� | |
| | line 1>, | |
| | 'typing': <code object at | |
| | 0x000002C972C39DB0, file | |
| | "A:\Programs\python3\Lib\typing.py", line 1>, | |
| | 'importlib.abc': <code object at | |
| | 0x000002C972BD8610, file | |
| | "A:\Programs\python3\Lib\importlib\abc.py", | |
| | line 1>, | |
| | 'importlib.resources.abc': <code object | |
| | at 0x000002C975AA8730, file | |
| | "A:\Programs\python3\Lib\importlib\resources\a� | |
| | line 1>, | |
| | 'importlib.resources': <code object | |
| | at 0x000002C974FF6430, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | 'importlib.resources._legacy': <code object | |
| | at 0x000002C973915230, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | 'importlib.resources._common': <code object | |
| | at 0x000002C972A36C40, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | ... +1546 | |
| | } | |
| | collect_mode = <_ModuleCollectionMode.PYZ: 1> | |
| | collected_packages = [ | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | 'ctypes.macholib', | |
| | ... +117 | |
| | ] | |
| | combined_toc = [ | |
| | ( | |
| | 'PC49.json', | |
| | 'C:\Projects\S80\Development\Works� | |
| | 'DATA' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qg� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qi� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qi� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qj� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qp� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qs� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qt� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qt� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageformats\qw� | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'BINARY' | |
| | ), | |
| | ... +883 | |
| | ] | |
| | CONF = { | |
| | 'pathex': [ | |
| | 'C:\Projects\S80\Development\Works� | |
| | ], | |
| | 'noconfirm': True, | |
| | 'cachedir': | |
| | 'C:\Users\nolljef\AppData\Local\pyinstall� | |
| | 'upx_dir': None, | |
| | 'upx_available': False, | |
| | 'ui_admin': False, | |
| | 'ui_access': False, | |
| | 'spec': | |
| | 'C:\Projects\S80\Development\Workspace\Wi� | |
| | 'specpath': | |
| | 'C:\Projects\S80\Development\Workspace\Wi� | |
| | 'specnm': 'S80_XCP', | |
| | ... +8 | |
| | } | |
| | ctypes_binaries = [] | |
| | ctypes_code_objs = { | |
| | 'multiprocessing.sharedctypes': <code | |
| | object at 0x000002C9737A52B0, file | |
| | "A:\Programs\python3\Lib\multiprocessing\share� | |
| | line 1>, | |
| | 'numpy.core._dtype_ctypes': <code object | |
| | at 0x000002C973D1CC60, file | |
| | "A:\Programs\python3\Lib\site-packages\numpy\c� | |
| | line 1>, | |
| | 'numpy.core._internal': <code object | |
| | at 0x000002C976C35500, file | |
| | "A:\Programs\python3\Lib\site-packages\numpy\c� | |
| | line 1>, | |
| | 'numpy.ctypeslib': <code object at | |
| | 0x000002C976E37410, file | |
| | "A:\Programs\python3\Lib\site-packages\numpy\c� | |
| | line 1>, | |
| | 'pya2l.parser': <code object at | |
| | 0x000002C974F3DD10, file | |
| | "A:\Programs\python3\Lib\site-packages\pya2l\p� | |
| | line 1>, | |
| | 'rich._windows': <code object at | |
| | 0x000002C97765F720, file | |
| | "A:\Programs\python3\Lib\site-packages\rich_w� | |
| | line 1>, | |
| | 'rich._win32_console': <code object | |
| | at 0x000002C973A32620, file | |
| | "A:\Programs\python3\Lib\site-packages\rich_w� | |
| | line 1>, | |
| | 'serial.serialwin32': <code object | |
| | at 0x000002C97840CC10, file | |
| | "A:\Programs\python3\Lib\site-packages\serial\� | |
| | line 1>, | |
| | 'serial.win32': <code object at | |
| | 0x000002C977237D80, file | |
| | "A:\Programs\python3\Lib\site-packages\serial\� | |
| | line 1>, | |
| | 'usb.backend.libusb1': <code object | |
| | at 0x000002C9765DAB30, file | |
| | "A:\Programs\python3\Lib\site-packages\usb\bac� | |
| | line 1>, | |
| | ... +8 | |
| | } | |
| | dest = 'PyQt6\QtCore.pyd' | |
| | dest_name = 'PyQt6\Qt6\plugins\generic\qtuiotouchplugi� | |
| | detected_typecode = 'BINARY' | |
| | global_code_cache_map = { | |
| | 3064353572352: { | |
| | 'pyi_rth_utils.qt': <code object | |
| | at 0x000002C979A97530, file | |
| | "A:\Programs\python3\Lib\site-packages\PyInsta� | |
| | line 1>, | |
| | 'importlib': <code object at | |
| | 0x000002C9729C6DD0, file | |
| | "A:\Programs\python3\Lib\importlib_init.py� | |
| | line 1>, | |
| | 'importlib._bootstrap_external': <code | |
| | object at 0x000002C9734CD520, file | |
| | "A:\Programs\python3\Lib\importlib_bootstrap_� | |
| | line 1>, | |
| | 'importlib.metadata': <code object | |
| | at 0x000002C973909700, file | |
| | "A:\Programs\python3\Lib\importlib\metadata__� | |
| | line 1>, | |
| | 'typing': <code object at | |
| | 0x000002C972C39DB0, file | |
| | "A:\Programs\python3\Lib\typing.py", line 1>, | |
| | 'importlib.abc': <code object | |
| | at 0x000002C972BD8610, file | |
| | "A:\Programs\python3\Lib\importlib\abc.py", | |
| | line 1>, | |
| | 'importlib.resources.abc': <code object | |
| | at 0x000002C975AA8730, file | |
| | "A:\Programs\python3\Lib\importlib\resources\a� | |
| | line 1>, | |
| | 'importlib.resources': <code object | |
| | at 0x000002C974FF6430, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | 'importlib.resources._legacy': <code | |
| | object at 0x000002C973915230, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | 'importlib.resources._common': <code | |
| | object at 0x000002C972A36C40, file | |
| | "A:\Programs\python3\Lib\importlib\resources_� | |
| | line 1>, | |
| | ... +1546 | |
| | } | |
| | } | |
| | idx = 66 | |
| | in_pyz = True | |
| | m = 'tkinter' | |
| | name = 'json.scanner' | |
| | optim_level = 0 | |
| | optim_typecode = 'PYMODULE' | |
| | program_scripts = [ | |
| | Script('C:\Projects\S80\Development\Wo� | |
| | ] | |
| | program_toc = [ | |
| | ( | |
| | 'S80_XCP', | |
| | 'C:\Projects\S80\Development\Works� | |
| | 'PYSOURCE' | |
| | ) | |
| | ] | |
| | pure_pymodules_toc = [ | |
| | ( | |
| | '_pyi_rth_utils.qt', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib._bootstrap_external', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.metadata', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'typing', | |
| | 'A:\Programs\python3\Lib\typing.py� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.abc', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.resources.abc', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.resources', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.resources._legacy', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ( | |
| | 'importlib.resources._common', | |
| | 'A:\Programs\python3\Lib\importlib� | |
| | 'PYMODULE' | |
| | ), | |
| | ... +1553 | |
| | ] | |
| | pycs_dir = 'C:\Projects\S80\Development\Workspace\Wi� | |
| | python_lib = 'A:\Programs\python3\python311.dll' | |
| | rhtook_scripts = [ | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | Script('A:\Programs\python3\Lib\site-p� | |
| | ] | |
| | rthook_toc = [ | |
| | ( | |
| | 'pyi_rth_inspect', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_pkgutil', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_multiprocessing', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_setuptools', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_traitlets', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_usb', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ), | |
| | ( | |
| | 'pyi_rth_pyqt6', | |
| | 'A:\Programs\python3\Lib\site-pack� | |
| | 'PYSOURCE' | |
| | ) | |
| | ] | |
| | script = 'C:\Projects\S80\Development\Workspace\Wi� | |
| | self = <PyInstaller.building.build_main.Analysis | |
| | object at 0x000002C9731D57D0> | |
| | source = 'A:\Programs\python3\Lib\site-packages\Py� | |
| | src_name = 'A:\Programs\python3\Lib\site-packages\Py� | |
| | src_path = 'A:\Programs\python3\Lib\json\scanner.py' | |
| | toc_entry = ( | |
| | 'json.scanner', | |
| | 'A:\Programs\python3\Lib\json\scanner� | |
| | 'PYMODULE' | |
| | ) | |
| | typecode = 'PYMODULE' | |
| +-------------------------------------------------------------------------+ |
| |
| A:\Programs\python3\Lib\site-packages\PyInstaller\building\build_main.py:29 |
| 1 in find_binary_dependencies |
| |
| 288 except isolated.SubprocessDiedError as e: |
| 289 # Re-raise as
isolated.SubprocessDiedErroraga || 290 #
isolated.Python.__exit__(). || > 291 raise isolated.SubprocessDiedError( |
| 292 f"Isolated subprocess crashed while importin |
| 293 f"Package import list: {import_packages!r}" |
| 294 ) from e |
| |
| +-------------------------------- locals ---------------------------------+ |
| | _ = 'A:\Programs\python3\Lib\site-packa� | |
| | _QT_BINDINGS = ('PySide2', 'PyQt5', 'PySide6', 'PyQt6') | |
| | binaries = [ | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ( | |
| | 'PyQt6\Qt6\plugins\imageform� | |
| | 'A:\Programs\python3\Lib\si� | |
| | 'BINARY' | |
| | ), | |
| | ... +57 | |
| | ] | |
| | child = <PyInstaller.isolated._parent.Python | |
| | object at 0x000002C97A9BFFD0> | |
| | extra_libdirs = [ | |
| | 'A:\Programs\python3', | |
| | 'A:\Programs\python3', | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | 'A:\Programs\python3\Lib\site-p� | |
| | ] | |
| | import_packages = [ | |
| | 'PyQt6', | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | ... +117 | |
| | ] | |
| | other_packages = [ | |
| | 'importlib', | |
| | 'importlib.metadata', | |
| | 'importlib.resources', | |
| | 'logging', | |
| | 'urllib', | |
| | 'email', | |
| | '_pyi_rth_utils', | |
| | 'usb.backend', | |
| | 'usb', | |
| | 'ctypes.macholib', | |
| | ... +116 | |
| | ] | |
| | package = 'pyxcp' | |
| | pywin32_base_dir = 'A:\Programs\python3\Lib\site-packa� | |
| | pywin32_system32_dir = 'A:\Programs\python3\Lib\site-packa� | |
| | qt_packages = ['PyQt6'] | |
| | suppressed_imports = [ | |
| | 'PySide2', | |
| | 'PyQt5', | |
| | 'PySide6', | |
| | 'shiboken2', | |
| | 'shiboken6', | |
| | 'pyqtgraph.canvas', | |
| | 'PySimpleGUI' | |
| | ] | |
| | symlink_suppression_patterns = set() | |
| +-------------------------------------------------------------------------+ |
+-----------------------------------------------------------------------------+
SubprocessDiedError: Isolated subprocess crashed while importing package
'pyxcp'! Package import list: ['PyQt6', 'importlib', 'importlib.metadata',
'importlib.resources', 'logging', 'urllib', 'email', '_pyi_rth_utils',
'usb.backend', 'usb', 'ctypes.macholib', 'ctypes', 'traitlets',
'traitlets.utils', 'asyncio', 'concurrent.futures', 'multiprocessing.dummy',
'xmlrpc', 'xml.parsers', 'xml', 'http', 'xml.sax', 'multiprocessing',
'concurrent', '_distutils_hack', 'setuptools', 'distutils',
'setuptools._vendor.more_itertools', 'unittest',
'setuptools._vendor.jaraco.functools', 'distutils.command', 'packaging',
'setuptools._distutils.compat', 'setuptools._distutils.command',
'setuptools._distutils', 'setuptools._vendor.tomli', 'tomllib',
'setuptools.compat', 'html', 'setuptools._vendor.importlib_metadata',
'setuptools._vendor.zipp.compat', 'setuptools._vendor.zipp',
'setuptools._vendor.importlib_metadata.compat', 'setuptools._vendor.wheel',
'setuptools._vendor.jaraco.text', 'setuptools._vendor.jaraco.context',
'setuptools._vendor.backports.tarfile',
'setuptools._vendor.backports.tarfile.compat', 'setuptools._vendor.backports',
'setuptools.config._validate_pyproject', 'setuptools._vendor.packaging',
'setuptools.config', 'setuptools.command', 'grpc._cython', 'grpc', 'grpc.aio',
'grpc_tools', 'grpc.experimental', 'google.protobuf.pyext',
'google.protobuf.internal', 'google.protobuf', 'pya2l', 'dictdiffer', 'numpy',
'numpy.testing', 'numpy._utils', 'pydoc_data', 'numpy.testing._private',
'numpy.matrixlib', 'numpy.ma', 'numpy.random', 'numpy._typing',
'numpy.polynomial', 'numpy.fft', 'numpy.linalg', 'numpy.lib', 'numpy.compat',
'numpy.core', 'yaml', 'numpy.array_api', 'numpy.typing', 'collections', 're',
'encodings', 'pyxcp', 'pydantic', 'toml', 'dotenv', 'pydantic.v1',
'pydantic.plugin', 'annotated_types', 'pydantic.experimental',
'pydantic.deprecated', 'typing_inspection', 'zoneinfo', 'pydantic._internal',
'pydantic_core', 'serial', 'construct', 'construct.lib', 'traitlets.config',
'can', 'pyxcp.recorder', 'pyxcp.daq_stim', 'pyxcp.daq_stim.optimize',
'pygments.styles', 'pygments', 'pygments.formatters', 'chardet',
'pygments.filters', 'pygments.lexers', 'markdown_it', 'markdown_it.rules_core',
'markdown_it.rules_inline', 'mdurl', 'markdown_it.common',
'markdown_it.rules_block', 'markdown_it.presets', 'markdown_it.helpers',
'rich', 'pyxcp.utils', 'pytz', 'pyxcp.cpp_ext', 'pyxcp.transport',
'pyxcp.master', 'pyxcp.config', 'json']
Configuration
Additional Logs
Checklist