SIP
Some problems post 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: Some problems post update (/showthread.php?tid=273)

Pages: 1 2


Some problems post update - numero9 - 2021 Nov 30

Hi Dan, I have some problems after upgrading to version 4.1.28.





I updated and named the programs. Great addition!









Now the green controls do not work. Hovering the mouse over them moves as usual, but clicking the mouse does not change their state.





The status indicators for each zone also fail me. It always says "Loading ...".





Yesterday the irrigation failed, but today it has worked. I'll keep watching.



As always, thanks for all your work Dan.



[Image: pJfmGafSLz.jpg]


RE: Some problems post update - dan - 2021 Nov 30

I did some testing here with SIP version 4.1.28 and the green buttons (manual mode, rain delay, water level) are working.
Programs are loading properly.

Not sure what is causing the problems you describe. have you re-started sip or rebooted the Pi?

Let me know if you see anything else that might be causing problems.

Dan


RE: Some problems post update - dan - 2021 Nov 30

You might also try clearing your browser cache.


RE: Some problems post update - rdrice - 2021 Nov 30

I updated SIP to version 4.1.28 too. I'm now experiencing the same problem.
Rebooted the pi.
Cleared browser cache.
Tried on different browsers and on different computers.

The pi is running the dietpi OS.

Thank you Dan


RE: Some problems post update - astrogerard - 2021 Nov 30

Maybe a Python version or file permission issue?
I'm running 3.7.3 and up on several (SIP 4.1.28) instances. So far no problems.

--Gerard


RE: Some problems post update - rdrice - 2021 Nov 30

(2021 Nov 30, 08:29 PM)astrogerard Wrote: Maybe a Python version or file permission issue? 
I'm running 3.7.3 and up on several (SIP 4.1.28) instances. So far no problems.

--Gerard

Yes, Python version! Had to change to Python3.

Here are the steps I took to get it working:

Code:
sudo systemctl stop sip.service
sudo systemctl disable sip.service

sudo rm /etc/systemd/system/sip.service

sudo cp SIP/sip3.service /etc/systemd/system/

sudo systemctl enable sip3.service
sudo systemctl start sip3.service

For the dietpi OS I had to change the sip3.service to look like this:

Quote:#Service for SIP running on a SystemD service
#
[Unit]
Description=SIP for Python3
After=syslog.target network.target
[Service]
ExecStart=/usr/bin/python3 -u /home/dietpi/SIP/sip.py
Restart=on-abort
WorkingDirectory=/home/dietpi/SIP/
SyslogIdentifier=sip
[Install]
WantedBy=multi-user.target


Thank you, Gerard


RE: Some problems post update - numero9 - 2021 Dec 01

Ok, now is running perfectly !!

(2021 Nov 30, 08:29 PM)astrogerard Wrote: Maybe a Python version or file permission issue?
I'm running 3.7.3 and up on several (SIP 4.1.28) instances. So far no problems.

--Gerard

I was running sip.service not sip3.service
I followed the steps of rdrice, to change to sip3.service.Tank you very much.

Thank you very much.


RE: Some problems post update - astrogerard - 2021 Dec 01

Thank you both for the update.
--Gerard


RE: Some problems post update - DavidCNZ - 2021 Dec 22

Hi,

I had the same problem after the last update. I followed the instructions here to change to python 3 but now SIP doesn't work at all. I tried starting it manually and got this:

pi@raspberrypi:~ $ sudo /usr/bin/python3 -u /home/pi/SIP/sip.py
Traceback (most recent call last):
  File "/home/pi/SIP/sip.py", line 7, in <module>
    from six.moves import range
  File "/home/pi/SIP/six.py", line 25, in <module>
    import functools
  File "/usr/lib/python3.7/functools.py", line 21, in <module>
    from collections import namedtuple
  File "/usr/lib/python3.7/collections/__init__.py", line 27, in <module>
    from reprlib import recursive_repr as _recursive_repr
ImportError: bad magic number in 'reprlib': b'\x03\xf3\r\n'


Any ideas what could be wrong?

Thank you

David


RE: Some problems post update - DavidCNZ - 2021 Dec 23

OK fixed it by renaming the SIP/reprlib folder

Thank you for the great application Dan!

OK everything seems good now except the CPU temp says that it is NAN C (or NAN F) if I toggle it.