OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Interval 2 program issues Re: Re: Interval 2 program issues

#27294

adrnln
Member

I’m having the same issue. Everything seemed to be working OK, and I was able to set up some programs (although they seemed to be set up to repeat on an interval even though I selected the opposite). Now I get “internal server error” every time I try to go to the Programs link. I’ve done little other than configure some programs, and adjust my timezone.

Here’s the error I’m getting:


pi@raspberrypi ~/OSPi $ sudo python ospi.py
The Python module apscheduler could not be found.
Setting water level to 100%
plugins loaded:

Starting timing loop

http://0.0.0.0:8080/
10.0.0.14:55829 - - [05/Jul/2014 23:04:55] "HTTP/1.1 GET /api/status" - 200 OK
10.0.0.14:55829 - - [05/Jul/2014 23:04:56] "HTTP/1.1 GET /api/log" - 200 OK
Traceback (most recent call last):
File "/home/pi/OSPi/web/application.py", line 239, in process
return self.handle()
File "/home/pi/OSPi/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/home/pi/OSPi/web/application.py", line 420, in _delegate
return handle_class(cls)
File "/home/pi/OSPi/web/application.py", line 396, in handle_class
return tocall(*args)
File "ospi.py", line 814, in GET
return render.programs()
File "/home/pi/OSPi/web/template.py", line 881, in __call__
return BaseTemplate.__call__(self, *a, **kw)
File "/home/pi/OSPi/web/template.py", line 808, in __call__
return self.t(*a, **kw)
File "templates/programs.html", line 177, in __template__

TypeError: unsupported operand type(s) for >>: 'float' and 'int'

10.0.0.14:55829 - - [05/Jul/2014 23:05:02] "HTTP/1.1 GET /vp" - 500 Internal Server Error

What’s the easiest way to refresh back to clean settings and try again to see if I can replicate the problem?