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
root@docker-desktop:/openpilot/tools/sim# ./bridge.py
Traceback (most recent call last):
File "/openpilot/tools/sim/./bridge.py", line 25, in
from tools.sim.lib.can import can_function
File "/openpilot/tools/sim/lib/can.py", line 27, in
cp = get_car_can_parser()
^^^^^^^^^^^^^^^^^^^^
File "/openpilot/tools/sim/lib/can.py", line 26, in get_car_can_parser
return CANParser(dbc_f, signals, checks, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "opendbc/can/parser_pyx.pyx", line 30, in opendbc.can.parser_pyx.CANParser.init
TypeError: init() takes at most 3 positional arguments (4 given)
I couldn't find any way to do automatic function signature checking on imported Cython code, stubgen doesn't support it, and neither does pylint, ruff, or mypy that I could see. We can add manual stubs for the CANParser, but mypy doesn't check functions without typing so it would not have caught this.
Describe the bug
root@docker-desktop:/openpilot/tools/sim# ./bridge.py
Traceback (most recent call last):
File "/openpilot/tools/sim/./bridge.py", line 25, in
from tools.sim.lib.can import can_function
File "/openpilot/tools/sim/lib/can.py", line 27, in
cp = get_car_can_parser()
^^^^^^^^^^^^^^^^^^^^
File "/openpilot/tools/sim/lib/can.py", line 26, in get_car_can_parser
return CANParser(dbc_f, signals, checks, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "opendbc/can/parser_pyx.pyx", line 30, in opendbc.can.parser_pyx.CANParser.init
TypeError: init() takes at most 3 positional arguments (4 given)
my command is just follow https://github.com/commaai/openpilot/blob/master/tools/sim/README.md
when i run
./start_openpilot_docker.sh
,the error happened.anyone can help?plz.
OS Version
ubuntu22
openpilot version or commit
4cad0a0
Additional info
No response
The text was updated successfully, but these errors were encountered: