bigtreetech / bigtreetech/EBB

EBB SB2209 with Manta M8P

Open
#60 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
697
Forks
130
PR merge metrics
No merged PRs in 30d

Description

I am getting the below error message when running the python3 flash_can.py -i can0 -q command.

ERROR:root:Can Flash Error

Traceback (most recent call last):

File "/home/biqu/CanBoot/scripts/flash_can.py", line 493, in run_query

self.cansock.bind((intf,))

OSError: [Errno 19] No such device

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/biqu/CanBoot/scripts/flash_can.py", line 621, in main

loop.run_until_complete(sock.run_query(intf))

File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete

return future.result()

File "/home/biqu/CanBoot/scripts/flash_can.py", line 495, in run_query

raise FlashCanError("Unable to bind socket to can0")

FlashCanError: Unable to bind socket to can0

biqu@BTT-CB1:~/CanBoot/scripts$ File "/home/biqu/CanBoot/scripts/flash_can.py", line 495, in run_query

raise FlashCanError("Unable to bind socket to can0")

FlashCanError: Unable to bind socket to can0

python3 flash_can.py -i can0 -q

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with scripts/flash_can.py, especially run_query around lines 493-495, and reproduce `python3 flash_can.py -i can0 -q`. Investigate the reported `OSError: [Errno 19] No such device` while binding to can0; the issue does not specify an expected change or resolution criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.