hardbyte / hardbyte/python-can

can.exceptions.CanInterfaceNotImplementedError: Unknown interface type "None"

未关闭
#1,574 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
1.6k
派生
697
PR 合并指标
30 天内没有已合并 PR

描述

### Describe the bug
```
Traceback (most recent call last):
File "receive_all.py", line 34, in
receive_all()
File "receive_all.py", line 16, in receive_all
with can.Bus() as bus:
File "/opt/conda/lib/python3.8/site-packages/can/interface.py", line 108, in __new__
kwargs = load_config(config=kwargs, context=context)
File "/opt/conda/lib/python3.8/site-packages/can/util.py", line 192, in load_config
bus_config = _create_bus_config(config)
File "/opt/conda/lib/python3.8/site-packages/can/util.py", line 211, in _create_bus_config
raise CanInterfaceNotImplementedError(
can.exceptions.CanInterfaceNotImplementedError: Unknown interface type "None"

```

### To Reproduce
```
pip install python-can
cd python-can/examples
python3 receive_all.py

```

### Expected behavior

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。