Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some problems post update
#1
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]
Reply
#2
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
<p><br></p>
Reply
#3
You might also try clearing your browser cache.
<p><br></p>
Reply
#4
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
Reply
#5
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
Reply
#6
(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
Reply
#7
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.
Reply
#8
Thank you both for the update.
--Gerard
Reply
#9
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
Reply
#10
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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)