OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Log display › Reply To: Log display
January 24, 2015 at 1:22 am
#35329
Samer
Keymaster
I can replicate the issue on my end and the error is located in mobile_app.py.
127.0.0.1:55303 - - [24/Jan/2015 00:19:38] "HTTP/1.1 GET /jl" - 500 Internal Server Error
Traceback (most recent call last):
File "OSPi/web/application.py", line 239, in process
return self.handle()
File "OSPi/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "OSPi/web/application.py", line 420, in _delegate
return handle_class(cls)
File "OSPi/web/application.py", line 396, in handle_class
return tocall(*args)
File "OSPi/plugins/mobile_app.py", line 160, in GET
date = time.mktime(datetime.datetime.strptime(event["date"], "%Y-%m-%d").timetuple())
TypeError: string indices must be integers
I am not sure if the format changed however I will see what I can find out.
Thanks for the report!