Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
installation fails
#1
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
Reply
#2
I will take a look at the problem.

Dan
<p><br></p>
Reply
#3
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.
<p><br></p>
Reply
#4
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.
<p><br></p>
Reply
#5
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
<p><br></p>
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)