2025 Jan 10, 01:04 PM
(2024 Dec 31, 02:24 PM)mrbeezer@gmail.com Wrote:(2024 Dec 30, 03:56 PM)dan Wrote:(2024 Dec 28, 06:23 PM)mrbeezer@gmail.com Wrote:The sip.service file should be located at /etc/systemd/system/.(2024 Dec 24, 03:32 PM)dan Wrote:(2024 Dec 23, 03:13 PM)mrbeezer@gmail.com Wrote: Dan, still having the same issue. I reinstalled SIP per your instructions. Also, when doing an update/upgrade I get:Sorry, that should be sudo ./sip_service
W: http://raspbian.raspberrypi.com/raspbian.../InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
When I run sudo sip_service.sh i get command not found. The file is present.
Dan I had to use sudo bash sip_service.sh to get the script to run ./sip_service would not execute. After the script copleted, I have no sip.service in the SIP diectory.
If the script worked correctly SIP should start automatically after a reboot.
You could also test using the command
Code:systemctl status sip
Thanks Dan, I appreciate your responses!
Here is the reuslt:
sip.service - SIP for Python3
Loaded: loaded (/etc/systemd/system/sip.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2024-12-28 10:47:00 MST; 2 da>
Duration: 10.450s
Main PID: 674 (code=exited, status=1/FAILURE)
CPU: 2.315s
Dec 28 10:46:59 SIP sip[674]: import RPi.GPIO as GPIO
Dec 28 10:46:59 SIP sip[674]: File "/usr/lib/python3/dist-packages/RPi/GPIO/_>
Dec 28 10:46:59 SIP sip[674]: RPI_INFO = _get_rpi_info()
Dec 28 10:46:59 SIP sip[674]: ^^^^^^^^^^^^^^^
Dec 28 10:46:59 SIP sip[674]: File "/usr/lib/python3/dist-packages/RPi/GPIO/_>
Dec 28 10:46:59 SIP sip[674]: raise NotImplementedError(
Dec 28 10:46:59 SIP sip[674]: NotImplementedError: This module does not underst>
Dec 28 10:47:00 SIP systemd[1]: sip.service: Main process exited, code=exited, >
Dec 28 10:47:00 SIP systemd[1]: sip.service: Failed with result 'exit-code'.
Dec 28 10:47:00 SIP systemd[1]: sip.service: Consumed 2.315s CPU time.
lines 1-17/17 (END)
I continue to get this error.
Finally! I reinstalled GPIO3 and it loaded successfully. Now i just have a relay stuck on.
Thanks for your help!