Open valankar opened 3 weeks ago
What vscode looks like during test run:
And after the timeout:
This may be a duplicate of https://github.com/zauberzeug/nicegui/issues/3066. Can you check?
That looks like something else. In my case it is chromium using up cpu, not a nicegui app. Basically, I'm trying to setup the devcontainer environment to make changes to nicegui code. But when I try any of the nicegui tests they just fail as above.
That it strange. Can anyone else reproduce this error? On Mac the dev container seems to run the tests without any cpu spikes:
FWIW I'm running Windows 11. I tried both using a WSL2 remote container on local Debian (WSL), as well as a remote SSH on a Debian server. Both result in chromium using 100% cpu and timing out the test. Are you using Debian for the container or something else? I can't tell from the screenshot. Also your process listing shows chrome, whereas mine shows chromium. Not sure if that is relevant.
I just tried with container on Ubuntu-24.04 WSL2. Similarly fails, and also shows chromium vs chrome.
Are you using Debian for the container or something else?
I have started our devcontainer specified in https://github.com/zauberzeug/nicegui/blob/main/.devcontainer/devcontainer.json which is Debian based. Are you not using this configuration?
Yes. I'm referring to the docker host, i.e. the host that creates and runs the devcontainer. At least on Windows, there are a couple of possibilities:
Some of these can be a specific Linux distribution. But it really should not matter, I'm just curious. It sounds like on Mac it is just the docker daemon on Mac.
Is there any Windows developer of NiceGUI that can confirm it works (i.e. not a Mac user)?
I will try to create a video showing the issue.
Here is a video showing what I did:
https://youtu.be/rG2LzK5Qf1A?si=YDSZs8ftGLT4kd_C
In this one I'm just using Docker Desktop with WSL2. I cancelled the tests after 10 minutes. The chromium process stays running at 100% cpu and needs to be killed.
Description
I'm trying out the dev container and just running a test (e.g. test_tabs.py). From what I can tell, the chromium process just go to 100% cpu, and after some minutes the test times out.
top output during test run:
Any idea what is wrong here or how to debug?