Hallo zusammen,
das SML Plugin verursacht bei der Benutzung von IP Gateways einen Python Fehler.
Es ist ein Co-Met Com1
hat jemand eine Ahnung, wo ich da suchen muss ?
Hier die Plugin.conf
Hier der Debug Auszug:
Danke für die Hilfe
das SML Plugin verursacht bei der Benutzung von IP Gateways einen Python Fehler.
Es ist ein Co-Met Com1
hat jemand eine Ahnung, wo ich da suchen muss ?
Hier die Plugin.conf
Code:
[sml] class_name = Sml class_path = plugins.sml # serialport = /dev/ttyUSB0 host = 192.168.0.127 port = 5000
Code:
2014-06-01 21:23:24,956 ERROR Connections Method Connections exception: 'Sml' object has no attribute 'log_err' -- scheduler.py:_task:348
Traceback (most recent call last):
File "/usr/local/smarthome/plugins/sml/__init__.py", line 85, in connect
self._sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
NameError: global name 'socket' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/smarthome/lib/scheduler.py", line 344, in _task
obj()
File "/usr/local/smarthome/lib/connection.py", line 84, in check
obj.connect()
File "/usr/local/smarthome/plugins/sml/__init__.py", line 91, in connect
self.log_err('Sml: Could not connect to {}: {}'.format(self._target, e))
AttributeError: 'Sml' object has no attribute 'log_err'


Kommentar