Skip to content

Conversation

Huibean
Copy link

@Huibean Huibean commented May 8, 2024

 File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ip', '-json', 'link', 'list', 'up']' returned non-zero exit status 255. win32com.client module required for usb2can The SYSTEC ucan library has not been initialized.

fix ip link command not support raise error in mac os

@zariiii9003
Copy link
Collaborator

Too complicated. What you see there is just a log entry.
It would be sufficient to only log this exception on linux: log.exception("failed to fetch opened can devices from ip link")

@zariiii9003
Copy link
Collaborator

Closing in favor of #1800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants