Hallo,
wenn ich die lat und lon Werte in smarthome.conf setzte:
erhalte ich beim Starten von smarthome folgenden Fehler:
Schon Mal so eine Fehlermeldung gesehen ? Oder hab ich wieder irgendwas vergessen ?
wenn ich die lat und lon Werte in smarthome.conf setzte:
Code:
lat = 48.0915 lon = 11.519 elev = 515 tz = 'Europe/Berlin'
Code:
2014-05-08 21:54:51,933 ERROR env_loc Logic: env_loc, File: /opt/smarthome/lib/orb.py, Line: 60, Method: rise, Exception: 'Orb' object has no attribute '_obs' -- scheduler.py:_task:334
Traceback (most recent call last):
File "/opt/smarthome/lib/scheduler.py", line 327, in _task
exec(obj.bytecode)
File "/opt/smarthome/lib/env/location.py", line 5, in <module>
sh.env.location.sunrise(sh.sun.rise().astimezone(sh.tzinfo()))
File "/opt/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'


Kommentar