SIP
installation fails - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Installation and set up questions (https://nosack.com/sipforum/forumdisplay.php?fid=2)
+--- Thread: installation fails (/showthread.php?tid=337)



installation fails - mrbeezer@gmail.com - 2024 Nov 20

I have a pi model B.  I had an old version of sip running for years then I had a power outage.  the system and sdcard crashed.  I installed the latest OS on a 32G card

issues with installing the current version of SIP. The script file loads the menu and then nothing.

i tried using git clone to the opt directory and got this error:

File "/usr/lib/python3/dist-packages/RPi/GPIO/__init__.py", line 428, in _get_rpi_info
    raise NotImplementedError(
NotImplementedError: This module does not understand old-style revision codes

any ideas?  I have tried python, git and libs update to no avail.

Thanks


RE: installation fails - dan - 2024 Nov 20

I will take a look at the problem.

Dan


RE: installation fails - dan - 2024 Nov 20

Yes. It looks like the install script does not work with the latest version of RPi OS.

I am doing further testing and will report back as soon as I find a solution to your NotImplementedError.


RE: installation fails - dan - 2024 Nov 20

I installed the latest RPi OS on a new SD card and cloned SIP into the opt directory as you described.
When I start SIP from the command line SIP runs without an error.

Code:
cd opt
git clone https://github.com/Dan-in-CA/SIP
cd SIP
python sip.py

This is on a Raspberry pi 3 B and the lite 32 bit version of the OS
The command "python --version" returns 3.11.2.

The sip.service file looks like it needs some work.


RE: installation fails - dan - 2024 Nov 20

I updated the sip_service.sh file in the SIP directory. It should fix a problem with systemd.
from the SIP directory run:
Code:
sudo sip_service.sh