Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ledgerctl install app.toml results in ledgerwallet.client.CommException: Exception : Invalid status 6512 (Unknown reason) on macOS #65

Open
CyonAlexRDX opened this issue May 11, 2023 · 7 comments

Comments

@CyonAlexRDX
Copy link

CyonAlexRDX commented May 11, 2023

Trying to sideload to Ledger Nano S Plus with firmware: SE: 1.1.0, MCU 4.03, bootloader 3.12.

Any idea on how to solve: ledgerwallet.client.CommException: Exception : Invalid status 6512 (Unknown reason) ?

@CyonAlexRDX
Copy link
Author

Related issue: LedgerHQ/cargo-ledger#20

@monperrus
Copy link

hit Invalid status 6512 on same versions (SE: 1.1.0, MCU 4.03)

@CyonAlexRDX were you able to solve this? thanks!

@monperrus
Copy link

The problem was that I was running an old version of ledgerctl

± pip3 list | grep ledger
ledgerblue                0.1.47
ledgerwallet              0.1.4

The solution is to install the latest version:

# 0.3.0 was released on  May 29, 2023
pip3 install ledgerwallet==0.3.0

@yhql
Copy link
Contributor

yhql commented Jul 18, 2023

Hi, the 6512 status comes from a missing ApiLevel that needs to be transmitted when installing applications on devices that have a quite recent OS version (>= 1.1.0 for Nano S+ for example). ledgerctl did not handle that flag until recently.

@Logics21
Copy link

Logics21 commented Aug 5, 2023

The problem was that I was running an old version of ledgerctl

± pip3 list | grep ledger
ledgerblue                0.1.47
ledgerwallet              0.1.4

The solution is to install the latest version:

# 0.3.0 was released on  May 29, 2023
pip3 install ledgerwallet==0.3.0

I'm running into the same issue when trying to install the alephium app. installing the latest version of ledgerwallet did not work

@CyonAlexRDX
Copy link
Author

17 months later I got hit by this on macOS Sonoma 14.6 (23G80), on same machine (Mac Studio Apple Silicon M1 Max).

I finally got it working on my Ledger Nano S Plus by

1. Upgrade Ledger firmware to SE 1.1.2

Not sure this is needed. Previously I had 1.1.1.

2. Ensure to NOT use venv with Python, instead use break-system-packages

python3 -m pip config set global.break-system-packages true && pip3 install protobuf==3.20.3 && pip3 install ledgerwallet==0.5.1

@yhql @yogh333 would be great if Ledger could try to improve the developer experience of side loading....

@Sajjon
Copy link

Sajjon commented Oct 31, 2024

Has anyone actually got python virtual environment to work on macOS and being able to communicate with a physical Ledger device? It would be preferable to not have to python3 -m pip config set global.break-system-packages true...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants