-
Notifications
You must be signed in to change notification settings - Fork 71
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
Pyinstaller --noconsole issue #105
Comments
I'll look into it. If you are using windows checkout my |
Got same problem |
I rolled back to flaskwebgui 0.3.7 and interestingly the problem persists. I wonder if it may be something to do with the pyinstaller update on 4/12... I'll try rolling back pyinstaller and report back. I tried pyvan which worked well, but unfortunately presented its own problems which I will put in issues on that repo! |
Yeah... packaging a python desktop app is a pain... |
Wait I don't get what the issue is. The --noconsole flag can easily be avoided by building your apps with pyinstaller -w -F --add-data "templates;templates" --add-data "static;static" main.py if it's development in which this error occurs, then you should just be using flask to serve the HTML. You should also increase your idle interval and set close_server_on_exit to true as well. |
I rolled back pyinstaller to 5.6.2 and the issue resolved. So I suspect this is a problem with pysintaller 5.7.0 rather than flaskwebgui.
|
Thank you for updating this issue. |
As a temporary fix, I find this python-eel/Eel#654 works. |
Nice, thank you! |
Thanks for all your work with this package. I changed over to the 1.x updates, and tried to use pyinstaller to package into an executable. Works just fine in
--console
mode, but the server appears to fail to start if--noconsole
is called with pyinstaller to suppress the console. A chrome window pops up nonetheless but no web app on the address. Don't have a way to look for errors since the console is suppressed as well! Wondered if you've ran into this problem before.The text was updated successfully, but these errors were encountered: