Upgraded auto-py-to-exe and pyinstaller to the latest versions.

Name: pyinstaller
Version: 6.1.0
Summary: PyInstaller bundles a Python application and all its dependencies 
into a single package.
Home-page: https://www.pyinstaller.org/

Requires: altgraph, packaging, pefile, pyinstaller-hooks-contrib, 
pywin32-ctypes, setuptools
Required-by: auto-py-to-exe
---
Name: auto-py-to-exe
Version: 2.41.0
Summary: Converts .py to .exe using a simple graphical interface.
Home-page: https://github.com/brentvollebregt/auto-py-to-exe
Requires: Eel, pyinstaller
Required-by:

On Thursday, October 26, 2023 at 9:47:39 AM UTC-4 Paul McDermott wrote:

> I am trying to create a one file executable, using the following 
> pyInstaller command:
>
> pyinstaller --noconfirm --onefile --windowed --icon 
> "D:/Work/Python/cfepy310/xl/cfegui/Resources/Conform-e_48_1.ico" --name 
> "Conform-e" --version-file 
> "D:/Work/Python/cfepy310/xl/cfegui/cfe_versionfile.txt" --resource 
> "D:/Work/Python/cfepy310/xl/cfegui/cfe_Resource_rc.py" 
>  "D:/Work/Python/cfepy310/xl/cfegui/cfe_MainForm.py"
>
>
>
> (cfepy310) D:\Work\Python\cfepy310\xl\cfegui>auto-py-to-exe
> 137961 ERROR: 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 131, 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.py",
>  
> line 1033, in main
>     build(specfile, distpath, workpath, clean_build)
>   File 
> "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\build_main.py",
>  
> line 973, in build
>     exec(code, spec_namespace)
>   File "C:\Users\icnte\AppData\Local\Temp\tmpde053j7h\Conform-e.spec", 
> line 18, in <module>
>     exe = EXE(
>   File 
> "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\api.py", 
> line 625, in __init__
>     self.__postinit__()
>   File 
> "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\datastruct.py",
>  
> line 184, in __postinit__
>     self.assemble()
>   File 
> "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\api.py", 
> line 746, 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 992, in _retry_operation
>     return func(*args)
>   File 
> "D:\work\Python\cfepy310\lib\site-packages\PyInstaller\building\api.py", 
> line 915, 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]'!
>
> My resource file seems to work because I can run the .py and everything 
> seems to be there icons,pdf files and such.
>
> Any help would be greatly appreciated.
>
> Thank you
>
> Paul
>

-- 
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/5a91b33c-7878-4653-8ac6-534bf51bb902n%40googlegroups.com.

Reply via email to