Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

TypeError: Can't instantiate abstract class Listener with abstract method on_message_received #69

Description

@BaslyHedi

I'm using the Vector box VN1610, and i want to establish communication with an ECU to read a DID (service 0x22)
I get an exception when initializing the communication.
Uds_Channel = Uds(resId=BSC7_resId, reqId=BSC7_reqId, transportProtocol="CAN", interface="vector", appName="pythonUds", channel='0')
File "C:\Users\hba12\AppData\Roaming\Python\Python39\site-packages\uds\uds_communications\Uds\Uds.py", line 43, in init
self.tp = tpFactory(self.__transportProtocol, configPath=configPath, **kwargs)
File "C:\Users\hba12\AppData\Roaming\Python\Python39\site-packages\uds\uds_communications\TransportProtocols\TpFactory.py", line 37, in call
return CanTp(configPath=configPath, **kwargs)
File "C:\Users\hba12\AppData\Roaming\Python\Python39\site-packages\uds\uds_communications\TransportProtocols\Can\CanTp.py", line 96, in init
self.__connection = canConnectionFactory(self.callback_onReceive,
File "C:\Users\hba12\AppData\Roaming\Python\Python39\site-packages\uds\uds_communications\TransportProtocols\Can\CanConnectionFactory.py", line 52, in call
CanConnectionFactory.connections[connectionKey] = CanConnection(callback, filter,
File "C:\Users\hba12\AppData\Roaming\Python\Python39\site-packages\uds\uds_communications\TransportProtocols\Can\CanConnection.py", line 21, in init
listener = can.Listener()
TypeError: Can't instantiate abstract class Listener with abstract method on_message_received

Support is much appreciated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions