error when calling WriteDAQMultiple
danielhrisca opened this issue · comments
Daniel Hrisca commented
File "devices\xcp.py", line 238, in listen
reply = func(*args, **kwargs)
File "devices\xcp.py", line 785, in prepare
self.master.writeDaqMultiple(part)
File "d:\Tools\project_venv\pyvenv_dev1.1\lib\site-packages\pyxcp\master\errorhandler.py", line 379, in inner
res = executor(inst, func, arguments)
File "d:\Tools\project_venv\pyvenv_dev1.1\lib\site-packages\pyxcp\master\errorhandler.py", line 358, in __call__
preActions, actions, repeater = handler.actions(*getActions(inst.service, self.error_code))
File "d:\Tools\project_venv\pyvenv_dev1.1\lib\site-packages\pyxcp\master\errorhandler.py", line 100, in getActions
preActions, actions = eh.get(error_str)
TypeError: cannot unpack non-iterable NoneType object
I did not have this error with pyxcp 0.12.0
Christoph Schueler commented
It seems you received an error-code that is missing in the matrix.
Could you add a
print(service, error_code)
statement at the beginning of
errorhandler.getActions() ?