RunApp.py fails with 'Exception : Invalid status 6d00'
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- cli, embedded-iot
调研方向
从 ledgerblue/runApp.py 开始,沿着失败的调用跟踪到 ledgerblue/hexLoader.py 和 ledgerblue/comm.py,并使用报告中的命令和 traceback 进行复现。确定 Nano S 返回状态 6d00 的原因,并验证 loader 能够成功处理报告中的调用。
由索引模型根据 Issue 内容生成。
描述
- Python 2.7
- Nano S - open at dashboard
- ECPy version==0.8.1 (to get around 'ECPy requires Python '>=3' but the running Python is 2.7.13' issue)
Command:
$ python -m ledgerblue.runApp --targetId 0x31100002 --appName Bitcoin
Trace:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/site-packages/ledgerblue/runApp.py", line 61, in <module>
loader.runApp(args.appName)
File "/usr/local/lib/python2.7/site-packages/ledgerblue/hexLoader.py", line 242, in runApp
self.exchange(self.cla, 0x00, 0x00, 0x00, data)
File "/usr/local/lib/python2.7/site-packages/ledgerblue/hexLoader.py", line 86, in exchange
return self.card.exchange(apdu)
File "/usr/local/lib/python2.7/site-packages/ledgerblue/comm.py", line 130, in exchange
raise CommException("Invalid status %04x" % sw, sw, response)
ledgerblue.commException.CommException: Exception : Invalid status 6d00
results appear to be the same regardless of the argument passed to --appName (or whether or not the argument is enclosed in quotes).
- 主要语言
- Python
- 星标
- 128
- 派生
- 76
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LedgerHQ/blue-loader-python 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
LedgerHQ/blue-loader-python#130 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
LedgerHQ/blue-loader-python#111 ·
-
难度 4/5 3-5 天 新手友好度 30/100
LedgerHQ/blue-loader-python#98 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
LedgerHQ/blue-loader-python#96 · 4 条评论 · 3 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
LedgerHQ/blue-loader-python#83 · 1 条评论 ·
查看 LedgerHQ/blue-loader-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
WingedGuardian/GENesis-AGI#3375 ·
维护者通常 1 天内回复
-
curriculum documentation quality
难度 2/5 1-3 小时 新手友好度 75/100
githubnext/gh-aw-workshop#4601 ·
维护者通常 1 天内回复
-
approved Good First Issue scope: docs
难度 1/5 1 小时以内 新手友好度 85/100
hiero-ledger/hiero-sdk-python#2730 · 3 条评论 ·
维护者通常 1 天内回复