I have a python script built with gnuradio, with a few additional goodies 
added. It runs fine for days if I start it manually. But, if I try to start it 
with systemd or cron, it gets to:

gr::log :DEBUG: rfnoc_rx_streamer0 - Commiting graph…

gr::log :DEBUG: rfnoc_rx_streamer0 - Sending start stream command…

And then… nothing. I have put print statements (I know…) all over my code, and 
everything runs just fine up until this message appears, and then the script 
just stops. I get the same message when running it manually, but the script 
continues to run just fine. I’ve tried executing my code line by line in a 
python console, but it executes normally. I’ve tried having it run as different 
users, as root, I’ve tried using “bash -l -c ‘python…’”, I’ve tried all sorts 
of different systemd options, but it’s the same result every time no matter if 
it’s systemd or cron. Nothing in the log output, journalctl, /var/log/messages, 
anything gives any help on identifying the failure, just that the script isn’t 
running anymore.

Any thoughts on how I might debug this? Something I’m missing?
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to