OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Interval Program has a great new interface Re: Re: Interval Program has a great new interface

#26131

djagerif
Participant

Looks great guys. I am however getting the following after following the steps in the first post.

127.0.0.1:56979 – – [06/Mar/2014 05:31:02] “HTTP/1.1 GET /” – 303 See Other
127.0.0.1:56980 – – [06/Mar/2014 05:31:03] “HTTP/1.1 GET /login” – 200 OK
127.0.0.1:56981 – – [06/Mar/2014 05:31:03] “HTTP/1.1 GET /sn0” – 401 Unauthorized
192.168.0.36:54008 – – [06/Mar/2014 05:31:37] “HTTP/1.1 POST /login” – 303 See Other
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 “/home/pi/OSPi/ospi.py”, line 636, in GET
return render.home()
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/home.html”, line 368, in __template__

loading…

IndexError: list index out of range

192.168.0.36:54008 – – [06/Mar/2014 05:31:44] “HTTP/1.1 GET /” – 500 Internal Server Error
127.0.0.1:56982 – – [06/Mar/2014 05:32:01] “HTTP/1.1 GET /” – 303 See Other
127.0.0.1:56983 – – [06/Mar/2014 05:32:03] “HTTP/1.1 GET /login” – 200 OK
127.0.0.1:56984 – – [06/Mar/2014 05:32:03] “HTTP/1.1 GET /sn0” – 401 Unauthorized

I think I found the problem. I am using 5 expansion boards and setting it back to 0 loads the main page correctly.