Python Forum

Full Version: Jupyter is not working properly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys,

I'm using jupyter notebook to run my code 24h a day, on 1 minute interval... and everything is working perfectly but suddently, with no error message, nothing, jupyter stops working. What's going on? What shoud I do? Should I stop using jupyter for this purpose and try Windows Scheduler?

What's the best approach for this issue?
Thanks
Quote:suddently, with no error message, nothing, jupyter stops working
Are their any error messages?
Mighty hard to pinpoint a reason for the termination without seeing the script.
(Apr-22-2021, 05:08 PM)Larz60+ Wrote: [ -> ]
Quote:suddently, with no error message, nothing, jupyter stops working
Are their any error messages?
Mighty hard to pinpoint a reason for the termination without seeing the script.

I know it's a very tough question, but the fact is that jupyter really stops working suddently, with no error message, no icon change, nothing. Even the hourglass icon keeps "showing" the system is running, but the fact is that it's not!
The only suggestion I can make is to reduce all of the code to only the part that creates the 1 minute intervals
by itself with a dummy function showing time and iteration number

Then see if it still auto-terminates.

You can also check the call stack (on just a few iterations), to see if there is something odd happening.

see: https://python-forum.io/Thread-Walking-t...hout-leaks