r0x0r / pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS
https://pywebview.flowrl.com
BSD 3-Clause "New" or "Revised" License
4.52k stars 534 forks source link

Some computers cannot start pywebview properly #1422

Open Cqy11223344 opened 3 weeks ago

Cqy11223344 commented 3 weeks ago

webview.start(debug=True, http_port=39878, gui='qt'), I can open the window interface normally in PyCharm, and the normal output log is [pywebview] Using Qt 5.15.2 Bottle v0.12.25 server starting up (using ThreadedAdapter())... Listening on http://127.0.0.1:39878/ Hit Ctrl-C to quit. DevTools listening on ws://127.0.0.1:8228/devtools/browser/356109e9-d0a6-43d5-a46f-143e466f3854 After using pyinstaller to package into exe, pywebivew cannot be launched. The output log only has [pywebview] Using Qt 5.15.2 Missing a lot of logs and no additional errors

r0x0r commented 3 weeks ago

What do you mean by failing to start? Do you get a blank screen?

Cqy11223344 commented 3 weeks ago

The window cannot be opened at all, and the HTTP process has not started. The key is that there are no error logs.

r0x0r commented 3 weeks ago

What platform is this? Does the program halt or just hang without opening a window?