Description
Hi guys,
I've got some problems with the newest version of the player in python-can.
The call is the same: python -m can.player -b 250000 -c can0 -v -i socketcan FILE_TO_PLAY
If I use version 2.1.1dev0, downloaded over a year ago, the player works fine, even without the -g option.
If I use the newest version 3.3.1, the player ends with:
Timestamp: 1504177560.972875 ID: 0000 S E DLC: 0 Channel: 0
Timestamp: 1504177560.973315 ID: 0000 S E DLC: 0 Channel: 0
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.7/site-packages/can/player.py", line 98, in
main()
File "/usr/lib/python3.7/site-packages/can/player.py", line 89, in main
bus.send(m)
File "/usr/lib/python3.7/site-packages/can/interfaces/socketcan/socketcan.py", line 633, in send
raise can.CanError("Transmit buffer full")
can.CanError: Transmit buffer full
[canplayer@canplayer-pc ~]$
If I use the -g option it works, if I do -g 0.01: python -m can.player -b 250000 -c can0 -v -i socketcan -g 0.01 FILE_TO_PLAY,
-g 0.001 or -g 0.0001 lead to the same error as above.
Can you imagine what I've done wrong? Do you have any advice for me to solve the problem?
Kind regards
Ralph