This might be a total noob error, but I'm banging my head against the keyboard for some hours now.
Here's what I am trying to do:
I have a script "listen.py" that waits for user input via GPIO or UDP command - then takes an image via raspistill(), converts it via PyDNG and uploads it via ftp.
When I launch said listen.py via ssh everything behaves as intended.
But when I launch the script via a script that updates listen.py through systemd service I get a ValueError and exit code 1 for PyDNG.
This might be a total noob error, but I'm banging my head against the keyboard for some hours now.
Here's what I am trying to do: I have a script "listen.py" that waits for user input via GPIO or UDP command - then takes an image via raspistill(), converts it via PyDNG and uploads it via ftp.
When I launch said listen.py via ssh everything behaves as intended. But when I launch the script via a script that updates listen.py through systemd service I get a ValueError and exit code 1 for PyDNG.
Does anybody have a clue why this is happening?
listen.py:
start.py:
systemd service start.service: