I've just received some Connectport X5 modules, I installed Digi ESP for Python 2.1.1 and had no problems running the "Hello World" and a few other sample programs. I cannot get any CANBus examples to run though.
I have tried both the "can_bus" and "j1939_protocol" examples but I'm getting an error when running them:
#> python j1939_protocol.py
Getting handle to CAN bus 0
Configuring the bus to 125000 bps
Traceback (most recent call last):
File "WEB/python/j1939_protocol.py", line 48, in ?
OSError: Could not install receive handlers
I have not modified the code in any way so I'm a bit stumped as to what the issue is. I assume there is some incompatibility with the configure method of digicanbus and how the sample is using it.