After my first day of the Auto Program executing (had lots of rain)…I ran into a problem. Once the schedule was done I couldn’t get to the /zone URL to log, everytime I got the server error page…here is some info I found:
On manual start “sudo python ospi.py” and then hitting the URL I got the following:
ValueError: time data u’60:00′ does not match format ‘%M:%S’
I checked for that value in the data dir and found this:
pi@ospi ~/OSPi/data $ grep 60:00 *
log.json:{“program”:”97″,”station”:4,”duration”:”60:00″,”start”:”10:00:00″,”date”:”2014-08-09″}
log.json:{“program”:”97″,”station”:3,”duration”:”60:00″,”start”:”09:00:00″,”date”:”2014-08-09″}
log.json:{“program”:”97″,”station”:2,”duration”:”60:00″,”start”:”08:00:00″,”date”:”2014-08-09″}
log.json:{“program”:”97″,”station”:1,”duration”:”60:00″,”start”:”07:00:00″,”date”:”2014-08-09″}
log.json:{“program”:”97″,”station”:0,”duration”:”60:00″,”start”:”06:00:00″,”date”:”2014-08-09″}
I removed the file and started up the app and things are back to normal…is this a possible bug?
Thanks
Rich