PCAN with CAN FD #1778
Unanswered
Prabagaran5306
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have run test_pcan.py, it shows several errors.
the errors are
"
.PcanBus was not properly shut down
.PcanBus was not properly shut down
.C:\Users\PrabagaranAnandhakum\AppData\Roaming\Python\Python312\site-packages\can\interfaces\pcan\pcan.py:660: DeprecationWarning: The PcanBus.fd property is deprecated and superseded by BusABC.protocol. It is scheduled for removal in version 5.0.
warnings.warn(
....PcanBus was not properly shut down
.PcanBus was not properly shut down
.PcanBus was not properly shut down
.PcanBus was not properly shut down
...........PcanBus was not properly shut down
.FF..............Invalid value '3' for device number.
....PcanBus was not properly shut down
PcanBus was not properly shut down
......
FAIL: test_recv (main.TestPCANBus.test_recv)
Traceback (most recent call last):
File "d:\Prabagaran\Python\GAlaxi\python-can-main\test\test_pcan.py", line 230, in test_recv
self.assertEqual(recv_msg.timestamp, 0)
AssertionError: 1715423393.288167 != 0
======================================================================
FAIL: test_recv_fd (main.TestPCANBus.test_recv_fd)
Traceback (most recent call last):
File "d:\Prabagaran\Python\GAlaxi\python-can-main\test\test_pcan.py", line 253, in test_recv_fd
self.assertEqual(recv_msg.timestamp, 0)
AssertionError: 1715423393.288167 != 0
Ran 48 tests in 0.662s
FAILED (failures=2)
"
Beta Was this translation helpful? Give feedback.
All reactions