[PyInstaller] Re: ERROR with simple python code, requesting help

2023-08-21 Thread bwoodsend
You’re running the program in the build directory — that’s not your application! It’s just a temporary space PyInstaller uses to assemble things. Your real application is in the dist directory. ​ -- You received this message because you are subscribed to the Google Groups "PyInstaller"

[PyInstaller] Problems arising from pyinstaller and cgitb

2023-08-21 Thread Jason Yu
Hello, I'm using python 3.8.10, and I'm using cgitb in my code. import cgitb path = "my path" cgitb.enable( display=0, logdir=path, context=12, format="text" ) If the code is abnormal, a txt file is generated. When I compile to a separate exe file with the latest pyinstaller and use the parameter

[PyInstaller] Re: - - add-data not behaving as expected

2023-08-21 Thread bwoodsend
If you want to add a directory, you don’t want wildcards. Wildcards add the contents of a directory but not the directory itself. Just --add-data program/config:config gives me the following which I’m guessing is what you want? _MEI.../ ├── base_library.zip ├── config │ ├── development │ │

[PyInstaller] Ask for a solution for pyinstaller

2023-08-21 Thread 余劲松
Hello, I'm using python 3.8.10, and I'm using cgitb in my code. import cgitb path = "my path" cgitb.enable( display=0, logdir=path, context=12, format="text" ) If the code is abnormal, a txt file is generated. When I compile to a separate exe file with the latest pyinstaller and use the parameter

[PyInstaller] Re: ERROR with simple python code, requesting help

2023-08-21 Thread John Tylshar
I know, what happens when I open the app is here https://groups.google.com/group/pyinstaller/attach/a6efbafc867bd/5978C5A8-AD3E-4AF8-94F2-59F5CE688789.jpeg?part=0.1=1 Dne pondělí 21. srpna 2023 v 9:44:53 UTC+2 uživatel bwoodsend napsal: > You’re running the program in the build directory —

[PyInstaller] Re: ERROR with simple python code, requesting help

2023-08-21 Thread John Tylshar
I opened the installer (left screenshot) if I open the app in dist its the right screenshot. Dne pondělí 21. srpna 2023 v 9:44:53 UTC+2 uživatel bwoodsend napsal: > You’re running the program in the build directory — that’s not your > application! It’s just a temporary space PyInstaller uses