Hi,
nach dem update von Testing kommt es zu folgender Fehlermeldung
2017-02-24 17:30:34 ERROR Core Plugin DLMS (/data/callidomus/local/plugins/dlms) exception: "port" must be None or a string, not <class 'dict'>
Traceback (most recent call last):
File "/mfs/core/lib/plugin.py", line 102, in create
plugin_thread = Thread(self._core, modclass, conf)
File "/mfs/core/lib/plugin.py", line 181, in __init__
self.plugin = _class(core, conf)
File "/data/callidomus/local/plugins/dlms/__init__.py", line 51, in __init__
self._serial = serial.Serial(serialport, 300, bytesize=serial.SEVENBITS, parity=serial.PARITY_EVEN, timeout=2)
File "/usr/local/lib/python3.6/site-packages/serial/serialutil.py", line 216, in __init__
self.port = port
File "/usr/local/lib/python3.6/site-packages/serial/serialutil.py", line 260, in port
raise ValueError('"port" must be None or a string, not {}'.format(type(port)))
ValueError: "port" must be None or a string, not <class 'dict'>
Ich habe das fehlende
def pre_stage(self): pass hinzugefügt was muss man den jetzt alles sonstnoch machen um ein Plugin umzustellen? Viele Grüsse Jürgen
nach dem update von Testing kommt es zu folgender Fehlermeldung
2017-02-24 17:30:34 ERROR Core Plugin DLMS (/data/callidomus/local/plugins/dlms) exception: "port" must be None or a string, not <class 'dict'>
Traceback (most recent call last):
File "/mfs/core/lib/plugin.py", line 102, in create
plugin_thread = Thread(self._core, modclass, conf)
File "/mfs/core/lib/plugin.py", line 181, in __init__
self.plugin = _class(core, conf)
File "/data/callidomus/local/plugins/dlms/__init__.py", line 51, in __init__
self._serial = serial.Serial(serialport, 300, bytesize=serial.SEVENBITS, parity=serial.PARITY_EVEN, timeout=2)
File "/usr/local/lib/python3.6/site-packages/serial/serialutil.py", line 216, in __init__
self.port = port
File "/usr/local/lib/python3.6/site-packages/serial/serialutil.py", line 260, in port
raise ValueError('"port" must be None or a string, not {}'.format(type(port)))
ValueError: "port" must be None or a string, not <class 'dict'>
Ich habe das fehlende
def pre_stage(self): pass hinzugefügt was muss man den jetzt alles sonstnoch machen um ein Plugin umzustellen? Viele Grüsse Jürgen
Kommentar