You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nov 15 15:26:30 mtda mtda-service[1572]: Traceback (most recent call last):
Nov 15 15:26:30 mtda mtda-service[1572]: File "/usr/lib/python3/dist-packages/zerorpc/core.py", line 153, in _async_task
Nov 15 15:26:30 mtda mtda-service[1572]: functor.pattern.process_call(self._context, bufchan, event, functor)
Nov 15 15:26:30 mtda mtda-service[1572]: File "/usr/lib/python3/dist-packages/zerorpc/patterns.py", line 30, in process_call
Nov 15 15:26:30 mtda mtda-service[1572]: result = functor(*req_event.args)
Nov 15 15:26:30 mtda mtda-service[1572]: ^^^^^^^^^^^^^^^^^^^^^^^^
Nov 15 15:26:30 mtda mtda-service[1572]: File "/usr/lib/python3/dist-packages/zerorpc/decorators.py", line 44, in __call__
Nov 15 15:26:30 mtda mtda-service[1572]: return self._functor(*args, **kargs)
Nov 15 15:26:30 mtda mtda-service[1572]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 15 15:26:30 mtda mtda-service[1572]: File "/usr/lib/python3.11/dist-packages/mtda/main.py", line 1060, in target_toggle
Nov 15 15:26:30 mtda mtda-service[1572]: if self._target_on() is True:
Nov 15 15:26:30 mtda mtda-service[1572]: ^^^^^^^^^^^^^^^^^
Nov 15 15:26:30 mtda mtda-service[1572]: File "/usr/lib/python3.11/dist-packages/mtda/main.py", line 927, in _target_on
Nov 15 15:26:30 mtda mtda-service[1572]: result = self._composite_start()
Nov 15 15:26:30 mtda mtda-service[1572]: ^^^^^^^^^^^^^^^^^^^^^^^
Nov 15 15:26:30 mtda mtda-service[1572]: File "/usr/lib/python3.11/dist-packages/mtda/main.py", line 153, in _composite_start
Nov 15 15:26:30 mtda mtda-service[1572]: result = Composite.install()
Nov 15 15:26:30 mtda mtda-service[1572]: ^^^^^^^^^^^^^^^^^^^
Nov 15 15:26:30 mtda mtda-service[1572]: File "/usr/lib/python3.11/dist-packages/mtda/support/usb.py", line 81, in install
Nov 15 15:26:30 mtda mtda-service[1572]: result = Composite._install()
Nov 15 15:26:30 mtda mtda-service[1572]: ^^^^^^^^^^^^^^^^^^^^
Nov 15 15:26:30 mtda mtda-service[1572]: File "/usr/lib/python3.11/dist-packages/mtda/support/usb.py", line 133, in _install
Nov 15 15:26:30 mtda mtda-service[1572]: Composite._installed = Composite._enable()
Nov 15 15:26:30 mtda mtda-service[1572]: ^^^^^^^^^^^^^^^^^^^
Nov 15 15:26:30 mtda mtda-service[1572]: File "/usr/lib/python3.11/dist-packages/mtda/support/usb.py", line 66, in _enable
Nov 15 15:26:30 mtda mtda-service[1572]: usbdrv = os.listdir("/sys/class/udc")[0]
Nov 15 15:26:30 mtda mtda-service[1572]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
Nov 15 15:26:30 mtda mtda-service[1572]: IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Check if the system has any udc instances to avoid a nasty
exception.
Closes: siemens#367
Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
I think this could be reported in a nicer way:
The text was updated successfully, but these errors were encountered: