Crashes after a short period of time
See original GitHub issueSorry for all the issues but I’m just trying to get a simple GUI up and running but I’m having quite a lot of problems.
My current GUI consists of 3 .html documents and 4 .css files (one global and three individual).
When I open my GUI it works fine at the start, I can click on each item of my menu and it switches between the html documents great. However, if I start clicking on the links in fairly quick succession the program crashes with no error in the console, but the error on the GUI is
localhost refused to connect
Even if I don’t click very fast, the python script will end, but I can still click around for a while (it’s very slow), I presume this is because it’s cached or something, and then it will run into the same error as before.
Has anyone else experienced issues like this? My code is not very complicated.
Here is my python:
import eel
eel.init('web')
eel.start('settings.html', size=(1216, 736))
And my HTML on all 3 is literally just a menu with links at the moment and the CSS is just simple styling.
EDIT: I have no such problems if I go to localhost in my browser.
Issue Analytics
- State:
- Created 5 years ago
- Comments:15
Top GitHub Comments
I found that my app was crashing while moving from one page to another, including the eel library to each page seemed to fix the problem:
I then navigate with:
Hope this works for you too
@munabedan Mun Thanks this solved my problem. I also included eel library to each pages and boom it started working smoothly without crashes.