Original version of App built fine about a week ago, now that I'm upgrading
it, its having some major issues. I believe the cause is pywin32, but i'm
honestly not 100% sure on that.
Traceback (most recent call last):
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\runpy.py",
line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\runpy.py",
line 86, in _run_code
exec(code, run_globals)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts\pyinstaller.exe\__main__.py",
line 7, in <module>
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\__main__.py",
line 194, in _console_script_run
run()
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\__main__.py",
line 180, in run
run_build(pyi_config, spec_file, **vars(args))
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\__main__.py",
line 61, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\building\build_main.py",
line 971, in main
build(specfile, distpath, workpath, clean_build)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\building\build_main.py",
line 893, in build
exec(code, spec_namespace)
File "C:\Users\lugex\OneDrive\Documents\Projects\main.spec", line 7, in
<module>
a = Analysis(
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\building\build_main.py",
line 411, in __init__
self.__postinit__()
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\building\datastruct.py",
line 173, in __postinit__
self.assemble()
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\building\build_main.py",
line 690, in assemble
isolated.call(find_binary_dependencies, list(self.binaries),
self.binding_redirects, collected_packages)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\isolated\_parent.py",
line 373, in call
return isolated.call(function, *args, **kwargs)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\isolated\_parent.py",
line 311, in call
raise RuntimeError(f"Child process call to {function.__name__}() failed
with:\n" + output)
RuntimeError: Child process call to find_binary_dependencies() failed with:
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\win32ctypes\pywin32\pywintypes.py",
line 35, in pywin32error
yield
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\win32ctypes\pywin32\win32api.py",
line 43, in LoadLibraryEx
return _dll._LoadLibraryEx(fileName, 0, flags)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\win32ctypes\core\cffi\_dll.py",
line 23, in _LoadLibraryEx
result = check_null(
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\win32ctypes\core\cffi\_util.py",
line 81, in __call__
self._raise_error(function_name)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\win32ctypes\core\cffi\_util.py",
line 92, in _raise_error
raise exception
OSError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\isolated\_child.py",
line 63, in run_next_command
output = function(*args, **kwargs)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\building\build_main.py",
line 192, in find_binary_dependencies
return bindepend.Dependencies(binaries, redirects=binding_redirects,
xtrapath=extra_libdirs)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\depend\bindepend.py",
line 287, in Dependencies
for ftocnm, fn in getAssemblyFiles(pth, manifest, redirects):
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\depend\bindepend.py",
line 461, in getAssemblyFiles
for assembly in getAssemblies(pth):
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\depend\bindepend.py",
line 415, in getAssemblies
res = winmanifest.GetManifestResources(pth)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\utils\win32\winmanifest.py",
line 979, in GetManifestResources
return winresource.GetResources(filename, [RT_MANIFEST], names,
languages)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyInstaller\utils\win32\winresource.py",
line 155, in GetResources
hsrc = win32api.LoadLibraryEx(filename, 0, LOAD_LIBRARY_AS_DATAFILE)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\win32ctypes\pywin32\win32api.py",
line 42, in LoadLibraryEx
with _pywin32error():
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\contextlib.py",
line 153, in __exit__
self.gen.throw(typ, value, traceback)
File
"C:\Users\lugex\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\win32ctypes\pywin32\pywintypes.py",
line 37, in pywin32error
raise error(exception.winerror, exception.function, exception.strerror)
win32ctypes.pywin32.pywintypes.error: (2, 'LoadLibraryEx', 'The system
cannot find the file specified')
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/40e38126-0a19-4c6a-9bc1-f4b5da7cb642n%40googlegroups.com.