Hallo Zusammen,
ich habe mir mal eibd und smartvisu auf meinen zyxel nas (nsa325) installiert.
eibd läuft auch ohne probleme, wird automatisch beim hochfahren des nas gestartet.
wenn ich nun smarthome.py starte erscheint im log folgende fehlermeldung:
kann mir jemand weiterhelfen ?
gruß christian
Update 1
Habe jetzt noch ephem installiert. Problem mit der stat.py bleibt bestehen. getestet mit version 1.0 sowie der aktuell git version
ich habe mir mal eibd und smartvisu auf meinen zyxel nas (nsa325) installiert.
eibd läuft auch ohne probleme, wird automatisch beim hochfahren des nas gestartet.
wenn ich nun smarthome.py starte erscheint im log folgende fehlermeldung:
Code:
Init SmartHome.py 1.0-25-g921ba82 INFO Main Start SmartHome.py 1.0-25-g921ba82 WARNING Main Could not find/use ephem! WARNING Main Could not find/use ephem! INFO Main Init Scheduler INFO Main Init Plugins INFO Main Init Items INFO Main Start Plugins INFO Main Start Logics WARNING Main MyLogic: Could not access logic file (/e-data/b6fc4d71-db45-4c3c-a9b9-3a1edd977cbb/ffproot/ffp/usr/local/smarthome/logics/logic.py) => ignoring. ERROR env_loc Logic: env_loc, File: /e-data/b6fc4d71-db45-4c3c-a9b9-3a1edd977cbb/ffproot/ffp/usr/local/smarthome/lib/orb.py, Line: 60, Method: rise, Exception: 'Orb' object has no attribute '_obs' Traceback (most recent call last): File "/e-data/b6fc4d71-db45-4c3c-a9b9-3a1edd977cbb/ffproot/ffp/usr/local/smarthome/lib/scheduler.py", line 327, in _task exec(obj.bytecode) File "/e-data/b6fc4d71-db45-4c3c-a9b9-3a1edd977cbb/ffproot/ffp/usr/local/smarthome/lib/env/location.py", line 5, in <module> sh.env.location.sunrise(sh.sun.rise().astimezone(sh.tzinfo())) File "/e-data/b6fc4d71-db45-4c3c-a9b9-3a1edd977cbb/ffproot/ffp/usr/local/smarthome/lib/orb.py", line 60, in rise self._obs.date = datetime.datetime.utcnow() - dateutil.relativedelta.relativedelta(minutes=moff) + dateutil.relativedelta.relativedelta(seconds=2) AttributeError: 'Orb' object has no attribute '_obs' ERROR Scheduler Error parsing crontab: sunset-7 ERROR Scheduler Error parsing crontab: sunrise+1m ERROR Scheduler Error parsing crontab: sunrise-5 ERROR Scheduler Error parsing crontab: sunset+1m ERROR Scheduler Error parsing crontab: 4 2 * * ERROR env_stat Logic: env_stat, File: /e-data/b6fc4d71-db45-4c3c-a9b9-3a1edd977cbb/ffproot/ffp/usr/local/smarthome/lib/env/stat.py, Line: 29, Method: <module>, Exception: 'module' object has no attribute 'getloadavg' Traceback (most recent call last): File "/e-data/b6fc4d71-db45-4c3c-a9b9-3a1edd977cbb/ffproot/ffp/usr/local/smarthome/lib/scheduler.py", line 327, in _task exec(obj.bytecode) File "/e-data/b6fc4d71-db45-4c3c-a9b9-3a1edd977cbb/ffproot/ffp/usr/local/smarthome/lib/env/stat.py", line 29, in <module> l1, l5, l15 = os.getloadavg() AttributeError: 'module' object has no attribute 'getloadavg'
gruß christian
Update 1
Habe jetzt noch ephem installiert. Problem mit der stat.py bleibt bestehen. getestet mit version 1.0 sowie der aktuell git version
Kommentar