• PyInstaller value error: Invalid Windows resource specifier (10/10)

    From McDermott Family@21:1/5 to All on Mon Oct 30 15:19:27 2023
    [continued from previous message]

    'D:\\work\\Python\\cfepy310\\lib\\site-packages\\PyQt5\\Qt5\\bin\\MSVCP140.d ll'

    292333 DEBUG: Skipping dependency 'D:\\work\\Python\\cfepy310\\lib\\site-packages\\PyQt5\\Qt5\\bin\\MSVCP140.d ll' due to prior processing.

    292391 DEBUG: Processing dependency, name:
    'api-ms-win-crt-string-l1-1-0.dll', resolved path: None

    292454 DEBUG: Processing dependency, name: 'api-ms-win-crt-heap-l1-1-0.dll', resolved path: None

    292749 INFO: Warnings written to C:\Users\icnte\AppData\Local\Temp\tmpp870eytg\build\Conform-e\warn-Conform-e .txt

    292986 INFO: Graph cross-reference written to C:\Users\icnte\AppData\Local\Temp\tmpp870eytg\build\Conform-e\xref-Conform-e .html

    293126 INFO: Graph drawing written to C:\Users\icnte\AppData\Local\Temp\tmpp870eytg\build\Conform-e\graph-Conform- e.dot

    293494 INFO: checking PYZ

    293560 INFO: Building PYZ because PYZ-00.toc is non existent

    293627 INFO: Building PYZ (ZlibArchive) C:\Users\icnte\AppData\Local\Temp\tmpp870eytg\build\Conform-e\PYZ-00.pyz

    294667 INFO: Building PYZ (ZlibArchive) C:\Users\icnte\AppData\Local\Temp\tmpp870eytg\build\Conform-e\PYZ-00.pyz completed successfully.

    294749 DEBUG: Loading version info from file: 'D:\\Work\\Python\\cfepy310\\xl\\cfegui\\cfe_versionfile.txt'

    294863 INFO: checking PKG

    294936 INFO: Building PKG because PKG-00.toc is non existent

    294994 INFO: Building PKG (CArchive) Conform-e.pkg

    295207 DEBUG: Compiling python script/module file D:\work\Python\cfepy310\lib\site-packages\PyInstaller\loader\pyiboot01_boots trap.py

    295999 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ inspect.py

    296089 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\_pyinstaller_hooks_contrib\hooks\r thooks\pyi_rth_pywintypes.py

    296145 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ pkgutil.py

    296213 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ win32comgenpy.py

    296277 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\_pyinstaller_hooks_contrib\hooks\r thooks\pyi_rth_pythoncom.py

    296341 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ multiprocessing.py

    296398 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ setuptools.py

    296463 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ pkgres.py

    296530 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ _tkinter.py

    296588 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ pyqt5.py

    296661 DEBUG: Compiling python script/module file D:\Work\Python\cfepy310\xl\cfegui\cfe_MainForm.py

    315980 INFO: Building PKG (CArchive) Conform-e.pkg completed successfully.

    316099 INFO: Bootloader D:\work\Python\cfepy310\lib\site-packages\PyInstaller\bootloader\Windows-64b it-intel\runw_d.exe

    316172 INFO: checking EXE

    316232 INFO: Building EXE because EXE-00.toc is non existent

    316291 INFO: Building EXE from EXE-00.toc

    316354 INFO: Copying bootloader EXE to C:\Users\icnte\AppData\Local\Temp\tmpp870eytg\application\Conform-e.exe

    316516 INFO: Copying icon to EXE

    316577 DEBUG: Copying icons from ['D:\\Work\\Python\\cfepy310\\xl\\cfegui\\Resources\\Conform-e_48_1.ico']

    316643 DEBUG: Writing RT_GROUP_ICON 1 resource with 90 bytes

    316699 DEBUG: Writing RT_ICON 1 resource with 15402 bytes

    316766 DEBUG: Writing RT_ICON 2 resource with 67624 bytes

    316833 DEBUG: Writing RT_ICON 3 resource with 16936 bytes

    316900 DEBUG: Writing RT_ICON 4 resource with 9640 bytes

    316966 DEBUG: Writing RT_ICON 5 resource with 4264 bytes

    317026 DEBUG: Writing RT_ICON 6 resource with 1128 bytes

    317119 INFO: Copying version information to EXE

    317213 INFO: Copying 1 resources to EXE

    317267 DEBUG: Processing resource: 'D:\\\\Work\\\\Python\\\\cfepy310\\\\xl\\\\cfegui\\\\cfe_Resource_rc.py'

    317332 DEBUG: Resource file 'D:\\\\Work\\\\Python\\\\cfepy310\\\\xl\\\\cfegui\\\\cfe_Resource_rc.py' is
    an arbitrary data file...

    An error occurred while packaging

    Traceback (most recent call last):

    File
    "D:\work\Python\cfepy310\lib\site-packages\auto_py_to_exe\packaging.py",
    line 132, in package

    run_pyinstaller()

    File "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\__main__.py", line 189, in run

    run_build(pyi_config, spec_file, **vars(args))

    File "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\__main__.py", line 61, in run_build

    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)

    File "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\build_main.p y", line 1042, in main

    build(specfile, distpath, workpath, clean_build)

    File "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\build_main.p y", line 982, in build

    exec(code, spec_namespace)

    File "C:\Users\icnte\AppData\Local\Temp\tmpp870eytg\Conform-e.spec", line
    18, in <module>

    exe = EXE(

    File
    "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\api.py",
    line 628, in __init__

    self.__postinit__()

    File "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\datastruct.p y", line 184, in __postinit__

    self.assemble()

    File
    "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\api.py",
    line 749, in assemble

    self._retry_operation(self._copy_windows_resource, build_name, resource)

    File
    "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\api.py",
    line 995, in _retry_operation

    return func(*args)

    File
    "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\api.py",
    line 918, in _copy_windows_resource

    raise ValueError(

    ValueError: Invalid Windows resource specifier 'D:\\\\Work\\\\Python\\\\cfepy310\\\\xl\\\\cfegui\\\\cfe_Resource_rc.py'!
    For arbitrary data file, the format is 'filename,type,name,[language]'!



    Project output will not be moved to output folder

    Complete.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)