Remote I/O error - running example.py
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- embedded-iot
调研方向
从 example.py 第 13 行和 ms5837/ms5837.py 第 74 行开始,然后在与显示地址 76 的 i2cdetect 输出进行比较的同时重现初始化失败。确定复位写入返回 Remote I/O error 的原因,并记录或实现经过验证的解决方案。
由索引模型根据 Issue 内容生成。
描述
Hi,
I am trying to run example.py on a RPi4, but when I do, I get the following error:
Traceback (most recent call last):
File "./example.py", line 13, in <module>
if not sensor.init():
File "/home/pi/ms5837-python/ms5837/ms5837.py", line 74, in init
self._bus.write_byte(self._MS5837_ADDR, self._MS5837_RESET)
IOError: [Errno 121] Remote I/O error
It appears that the ms5837 is recognized when I run i2cdetect:
i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- 76 --
Any ideas why I'm getting this error? Any help would be greatly appreciated!
Thanks,
Jonathan
- 主要语言
- Python
- 星标
- 33
- 派生
- 41
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bluerobotics/ms5837-python 的其他 Issue
-
Add .gitignore file可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1 小时以内 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 35/100
bluerobotics/ms5837-python#22 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 20/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
Python 3 support未关闭
难度 5/5 一周以上 新手友好度 20/100
查看 bluerobotics/ms5837-python 的全部 Issue
相似的 Issue
-
good first issue
难度 2/5 1-3 小时 新手友好度 85/100
btclib-org/btclib-node#1955 ·
维护者通常 1 天内回复
-
documentation v0.9.2
难度 2/5 半天 新手友好度 72/100
khuisman/mcp-gee-sweet#1033 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
ossf/cve-bin-tool#5966 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 2 天内回复
-
write_iceberg ignores the table's write.parquet.compression-codec property可能已有人在做 @YuangGao 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
Eventual-Inc/Daft#7606 ·
维护者通常 1 天内回复