You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
hkjn
added a commit
to hkjn/blue-loader-python
that referenced
this issue
Sep 20, 2019
Before this change, tools like `ledger-agent` [1] give cryptic errors
like the following if the device has the Bitcoin app or the dashboard
open:
```
ledgerblue.commException.CommException: Exception : Invalid status 6d00 (Unknown reason)
ledgerblue.commException.CommException: Exception : Invalid status 6e00 (Unknown reason)
```
After this change, we try to provide a hint that there's nothing wrong
with the device, but that it's in an unexpected state.
FixesLedgerHQ#26LedgerHQ#31.
[1] https://github.com/romanz/trezor-agent
Command:
$ python -m ledgerblue.runApp --targetId 0x31100002 --appName Bitcoin
Trace:
results appear to be the same regardless of the argument passed to --appName (or whether or not the argument is enclosed in quotes).
The text was updated successfully, but these errors were encountered: