Hallo zusammen, ich bekomm beim Ausführen eines Calls von der FB aus eine Exception:
Logic:
hat jemand ne Idee?
Gruss Buffi
Code:
2013-11-22 09:16:20 ERROR Test Logic: Test, File: /usr/smarthome/plugins/fritzbox/__init__.py, Line: 58, Method: _login, Exception: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "/usr/smarthome/lib/scheduler.py", line 327, in _task
exec(obj.bytecode)
File "/usr/smarthome/logics/test.py", line 17, in <module>
sh.fritzbox.call('**621', '058xxxxxxx')
File "/usr/smarthome/plugins/fritzbox/__init__.py", line 102, in call
'telcfg:settings/DialPort': call_from
File "/usr/smarthome/plugins/fritzbox/__init__.py", line 81, in execute
self._login()
File "/usr/smarthome/plugins/fritzbox/__init__.py", line 58, in _login
sid = re.search('<SID>(.*?)</SID>', data).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Code:
sh.fritzbox.call('**621', '058xxxxxxx')
Gruss Buffi


Kommentar