SIP
SIP Stopped Working After Update - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Report a problem (https://nosack.com/sipforum/forumdisplay.php?fid=9)
+--- Thread: SIP Stopped Working After Update (/showthread.php?tid=329)



SIP Stopped Working After Update - AndreSmith76 - 2024 May 14

After attempting to update SIP software from my Pi's SIP page, SIP no longer functions and shows the following error when attempting to run sudo python sip.py:

Trackback (most recent call last):
File "sip.py", line 21, in <module>
import gv
File "/home/pi/SIP/gv.py", line 22
ver_str = f"{major_ver}.{minor_ver}.{revision - old_count}"

SyntaxError: invalid syntax

I was hoping to please get some help or feedback making my system work again? This system was running fine for 3 years until I attempted this update.

Andre'


RE: SIP Stopped Working After Update - dan - 2024 May 16

Make sure you are running SIP with python3.

You can check your default Python version with:
Code:
python --version
If you still have Python2. try starting SIP with python3 sip.py.


RE: SIP Stopped Working After Update - mrbeezer@gmail.com - 2024 Dec 10

(2024 May 16, 02:20 PM)dan Wrote: Make sure you are running SIP with python3.

You can check your default Python version with:
Code:
python --version
If you still have Python2. try starting SIP with python3 sip.py.

Dan I am getting this error with python 2.7 or python 3.4.2.  cannot get it to run. fyi I had a power outage while updating so I reinstalled SIP to no avail.

thanks, dick


RE: SIP Stopped Working After Update - dan - 2024 Dec 10

When you re-installed SIP did you also update to the latest Raspberry pi OS?


RE: SIP Stopped Working After Update - mrbeezer@gmail.com - 2024 Dec 11

(2024 Dec 10, 02:52 PM)dan Wrote: When you re-installed SIP did you also update to the latest Raspberry pi OS?

I did run update and upgrade.  I also tried to run the original install it tries to run but a gpio is stuck on.

then i created a new sdcard with latest OS and SIP.  SIP wont load.  I am suspecting something is damaged on the PI


RE: SIP Stopped Working After Update - mrbeezer@gmail.com - 2024 Dec 15

(2024 Dec 11, 02:58 PM)mrbeezer@gmail.com Wrote:
(2024 Dec 10, 02:52 PM)dan Wrote: When you re-installed SIP did you also update to the latest Raspberry pi OS?

I did run update and upgrade.  I also tried to run the original install it tries to run but a gpio is stuck on.

then i created a new sdcard with latest OS and SIP.  SIP wont load.  I am suspecting something is damaged on the PI

created a new system now I get 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

I am using the latest OS and Python 3.1.1

Thanks, Dick


RE: SIP Stopped Working After Update - dan - 2024 Dec 16

I tried setting up a new SD card with rpi OS Lite (64 bit) and installed and ran SIP without a problem on a pi model B+.

What model Pi and OS version are you running?