Dear,
I create a service which my Blink.py start, i get this error:
When i execute the Blink.py when raspberry is booted, my script Blink.py works fine.
What is the problem please?
I create a service which my Blink.py start, i get this error:
Code:
journalctl -l -f -u manage.servicejuin 07 10:26:16 raspberrypi python3[1280]: import lgpiojuin 07 10:26:16 raspberrypi python3[1280]: File "/usr/lib/python3/dist-packages/lgpio.py", line 562, in <module>juin 07 10:26:16 raspberrypi python3[1280]: _notify_thread = _callback_thread()juin 07 10:26:16 raspberrypi python3[1280]: ^^^^^^^^^^^^^^^^^^juin 07 10:26:16 raspberrypi python3[1280]: File "/usr/lib/python3/dist-packages/lgpio.py", line 504, in __init__juin 07 10:26:16 raspberrypi python3[1280]: self._file = open('.lgd-nfy{}'.format(self._notify), 'rb')juin 07 10:26:16 raspberrypi python3[1280]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^juin 07 10:26:16 raspberrypi python3[1280]: FileNotFoundError: [Errno 2] No such file or directory: '.lgd-nfy-3'
Code:
[Unit] Description=Blink After=multi-user.target [Service] Type=idle User=pi ExecStart=python3 /home/pi/Desktop/Manage/Blink.py & [Install] WantedBy=multi-user.target
What is the problem please?
Statistics: Posted by lebossejames — Sun Jun 09, 2024 7:17 pm — Replies 1 — Views 29