OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Python Interval Program now has "Ignore rain" option Re: Re: Python Interval Program now has “Ignore rain” option

#25528

declanslater
Participant

Thanks for all the help. That got it fixed…

Sorry to be a bother, but whenever I tick one of the boxes to enable the skip rain thing, I get this…
It does leave the boxes checked when I go back into the page, I haven’t checked it yet to see if works, just wanted to run it by you. Thanks!

at /cs

list assignment index out of range

Python /home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/ospi.py in GET, line 700

Web GET http://192.168.1.66:8080/cs

Traceback (innermost first)

/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/ospi.py in GET

gv.sd = 0 …

▶ Local vars

/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/web/application.py in handle_class

return tocall(*args) …

▶ Local vars

/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/web/application.py in _delegate

return handle_class(cls) …

▶ Local vars

/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/web/application.py in handle

return self._delegate(fn, self.fvars, args) …

▶ Local vars

/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/web/application.py in process

return self.handle() …

▶ Local vars

Request information

INPUT

Variable Value

i0 ’14’

i1 ‘0’

m0 ”

m1 ”

pw ‘opendoor’

s0 ‘S01’

s1 ‘S02’

s10 ‘S11’

s11 ‘S12’

s12 ‘S13’

s13 ‘S14’

s14 ‘S15’

s15 ‘S16’

s2 ‘S03’

s3 ‘S04’

s4 ‘S05’

s5 ‘S06’

s6 ‘S07’

s7 ‘S08’

s8 ‘S09’

s9 ‘S10’

COOKIES No data.

META

Variable Value

app_stack [<__main__.OSPi_app instance at
0xb887d8>]

fullpath
u’/cs?s0=S01&s1=S02&s2=S03&s3=S04&s4=S05&s5=S06&s6=S07&s7=S08&s8=S09&s9=S10&
s10=S11&s11=S12&s12=S13&s13=S14&s14=S15&s15=S16&pw=opendoor&m0=&i0=14&m1=&i1
=0′

headers []

home u’http://192.168.1.66:8080&#8242;

homedomain u’http://192.168.1.66:8080&#8242;

homepath u”

host u’192.168.1.66:8080′

ip u’192.168.1.196′

method u’GET’

output u”

path u’/cs’

protocol u’http’

query
u’?s0=S01&s1=S02&s2=S03&s3=S04&s4=S05&s5=S06&s6=S07&s7=S08&s8=S09&s9=S10&s10
=S11&s11=S12&s12=S13&s13=S14&s14=S15&s15=S16&pw=opendoor&m0=&i0=14&m1=&i1=0′

realhome u’http://192.168.1.66:8080&#8242;

status ‘200 OK’

ENVIRONMENT

Variable Value

ACTUAL_SERVER_PROTOCOL ‘HTTP/1.1’

HTTP_ACCEPT
‘text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8’

HTTP_ACCEPT_ENCODING ‘gzip, deflate’

HTTP_ACCEPT_LANGUAGE ‘en-US,en;q=0.5’

HTTP_CONNECTION ‘keep-alive’

HTTP_DNT ‘1’

HTTP_HOST ‘192.168.1.66:8080’

HTTP_REFERER ‘http://192.168.1.66:8080/vs&#8217;

HTTP_USER_AGENT ‘Mozilla/5.0 (Windows NT 6.1; WOW64;
rv:23.0) Gecko/20100101 Firefox/23.0′

PATH_INFO ‘/cs’

QUERY_STRING
‘s0=S01&s1=S02&s2=S03&s3=S04&s4=S05&s5=S06&s6=S07&s7=S08&s8=S09&s9=S10&s10=S
11&s11=S12&s12=S13&s13=S14&s14=S15&s15=S16&pw=opendoor&m0=&i0=14&m1=&i1=0′

REMOTE_ADDR ‘192.168.1.196’

REMOTE_PORT ‘62614’

REQUEST_METHOD ‘GET’

REQUEST_URI
‘/cs?s0=S01&s1=S02&s2=S03&s3=S04&s4=S05&s5=S06&s6=S07&s7=S08&s8=S09&s9=S10&s
10=S11&s11=S12&s12=S13&s13=S14&s14=S15&s15=S16&pw=opendoor&m0=&i0=14&m1=&i1=
0′

SCRIPT_NAME ”

SERVER_NAME ‘localhost’

SERVER_PORT ‘8080’

SERVER_PROTOCOL ‘HTTP/1.1’

SERVER_SOFTWARE ‘CherryPy/3.2.0 Server’

wsgi.errors ‘,
mode ‘w’ at 0xb6c940d0>

wsgi.input

wsgi.multiprocess False

wsgi.multithread True

wsgi.run_once False

wsgi.url_scheme ‘http’

wsgi.version (1, 0)