Restarting non-stop in windows. #1611
Replies: 3 comments
-
|
This sounds like a crash-restart loop — the app launches, crashes, and the launcher restarts it repeatedly, causing the terminal to flash. Most likely causes:
python bash
bash
python batch To diagnose quickly, run the script directly from a terminal: bash |
Beta Was this translation helpful? Give feedback.
-
|
It sounds like you've correctly diagnosed the crash-restart loop. When a terminal "flashes," it’s almost always because the process is hitting an unhandled exception immediately upon execution, closing the window, and being revived by a supervisor script or batch file. Since you are working with an LLM integration (likely via a library like langchain-ollama or a custom wrapper), the connection handshake is the most common point of failure.
If it's a .py file: Windows doesn't natively "loop" python scripts. If it's restarting, you might have a wrapper script. If it's a .bat or .cmd file: Right-click and Edit. If you see :loop or goto start, that is your culprit. Add pause at the end to catch the error. Issue | Fix -- | -- Ollama Port | By default, Ollama runs on localhost:11434. If you changed the port, your LLM class needs the base URL. Model Loading | If you have low VRAM, the app might crash because the system kills the process when Ollama tries to allocate memory. Environment | Ensure you are running the script in the same environment where your dependencies (like requests or ollama) are installed.
Open a terminal (Cmd or PowerShell). Navigate to your folder: cd path/to/your/folder Run it manually: python your_script.py This forces the terminal to stay open regardless of whether the script crashes, allowing you to see the Traceback—which is the "DNA" of the problem. |
Beta Was this translation helpful? Give feedback.
-
|
Ok, this got fixed in the update. Even then, Thank you Guys for such good explanations. Saw similar errors in the logs of the app also. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I open the app, terminal keep popping up and down. I checked the logs and found openhuman was restarting itself continuously. Is this a windows issue or something else? please help me out here.
Beta Was this translation helpful? Give feedback.
All reactions