Hello, I was trying piScheduler 7.5 as 7.0 works the web but fails to control pilight devices..., and piScheduler 7.5 fails with:
Code:
pi@rpi1:~/piSchedule75 $ sudo ./piSchedule.py
** piSchedule prefs **
geo : ip
iniFile : newDaySchedule.ini
latitude : 40.4165
locale : EN
location : Madrid
longitude : -3.7026
news : dl.dropboxusercontent.com/u/35444930/piSchedule7/news75.txt
newsDate :
piDBox : dl.dropboxusercontent.com/u/35444930/
piScheduleDoc : piSchedule7
piScheduleHome : /home/pi/piSchedule75
pilightExpected : 7.0
pilightPort : 5001
pilightVersion : 7.0
port : 5005
server : 192.168.1.7
ssdp : OK
status : 0
sunrise : 2016-06-22 06:45:09
sunset : 2016-06-22 21:48:41
switchTime : 0
version : 0.7.5
weekSchedule : {}
** piSchedule {server}:{port} 192.168.1.7:5005 >>OK<<
** piSchedule.prefs status:0
renew Schedule next Switch Time 2016-06-23 00:00:00
Bottle v0.12.9 server starting up (using WSGIRefServer())...
Listening on http://192.168.1.7:5005/
Hit Ctrl-C to quit.
Exception in thread APScheduler (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 763, in run
File "/usr/local/lib/python2.7/dist-packages/apscheduler/schedulers/blocking.py", line 30, in _main_loop
File "/usr/local/lib/python2.7/dist-packages/apscheduler/schedulers/base.py", line 918, in _process_jobs
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'now'
pi@rpi1:~/piSchedule75 $