Since updating the OpenSprinkler app (or perhaps OSPi) the logs no longer display. It shows “No entries in the selected data range.” If I look at log.json via ssh, the data is there, and if I log in via a browser the log data can be be shown, but not if I use the Firefox, Chromium, or Android app.
App version is shown as 1.2.7
It’s not a great problem just wondered if anyone else had noticed it?
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
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
File "OSPi/web/application.py", line 396, in handle_class
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.