extremely vague Python debug question 

I understand this is super vague, but if I have a Python script that I want to run 24/7, but every so often it just stops working (but doesn't error out)...

anything I should check that I might not have thought of?

Follow

extremely vague Python debug question 

@schlink Try to run it in interactive mode (python -i ..) in a tmux session. Then when it stops working ^C out of the script and check the (global) variables and the line number. I think you should get a first or second hint from that, but hard to tell without knowing more about the script.

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!