New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Window Based" requires empty --debug
#126
Comments
I just packaged a script as one directory and window based with the following contents: import sys
f = open(r"C:\Users\Brent\Downloads\hello.text", 'w')
f.write('works' + str(sys.executable))
f.close() This works completely fine for me, no errors occur. I'm unsure what the title "Window Based" requires empty |
demo.mp4 with your project. Haven't tested with other Python versions. Anaconda virtual environment
|
I noticed you are just pasting screenshots of the dialogs that appear when you get an error. Have you read the debugging section in the post you provided? What is the actual error you are getting? |
@brentvollebregt Have you seen the .mp4? No error in debug mode using "Console Based", only "Window Based" (don't know how to debug latter, no instructions on that, and |
I see, your first screenshot of auto-py-to-exe's UI did not have Some proper reproduction steps:
Dialogs will appear indicating there were errors running the executable, the dialog displaying the error contains the text "failed to execute script pyiboot01_bootstrap". The resolution for the reproduction steps above is to not use I used the generated command to run pyinstaller manually and the same issue raised which shows this is a pyinstaller-specific issue. An empty debug flag is no longer valid in pyinstaller, you either provide an expected value with it or don't pass the flag at all: pyinstaller: error: argument -d/--debug: invalid choice: 'C:/Users/Brent/GitHub/auto-py-to-exe/output/test.py' (choose from 'all', 'imports', 'bootloader', 'noarchive') pyinstaller/pyinstaller#4213 looks like it relates to this issue but they are all talking about the issue being module names which I don't believe is the case with this one. |
Closing due to no activity in more than three months and no more information provided about the issue. |
@brentvollebregt I figured your reply was more of a note / user reference, these are the same steps I used to produce the bug, rather than a solution. I don't recall what I did in the end but I've successfully packaged an .exe. |
Otherwise below minimalistic project won't run in
.exe
; using Python 3.7.7, latest all-else. Worth listing in issues (or fixing).The text was updated successfully, but these errors were encountered: