-
Notifications
You must be signed in to change notification settings - Fork 195
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
Freeze failed after adding the --debug flag on Windows. #72
Comments
I don't know, sorry. Does the problem only occur when you build on AppVeyor? Does it also occur for a completely "fresh" project?
|
Thanks for the reply. It occurs on my local computer, too. But for a fresh project, the error doesn't appear. I think it has something to do with this |
I see. I have a feeling it is a bug in PyInstaller then. The I would suggest asking about this behavior(/bug?) on PyInstaller's issue tracker. And maybe temporarily deleting lines 39-40 will let you debug your |
Thanks. I deleted L39~40 and the frozen app still gave me the debug info. It turns out that my |
Great! Thank you for letting me know - and for sharing your solution with @BorisDess in #74 too. |
I ran into this same issue, I downgraded to 3.6 and it went away. it also went away in 3.7 if I called I ran into in 3.6 as well. it is the same fix, I'll see if I can get around coming up with a fork for it. |
I have generated an installer with Appveyor CI system. But when I run the program it shows the
Failed to execute script main
error, so according to the troubleshooting instruction, I added the--debug
flag:Then the freeze command failed with a
FileNotFoundError
:Any idea why adding a flag can cause a different behavior?
The text was updated successfully, but these errors were encountered: