Skip to content

Can't read Monero Elect keywords with "online mode" #105

@lpiechowiak

Description

@lpiechowiak

Hello. I have issue than I can't resolve from a long time. I have Ledger Nano X, newest firmware, everything installed as you describe in instruction, but I can't read election words in online mode. Device is bricked after this command. Only disconnect from usb-c make it alive again
MacOS Catalina 10.15.7 (below you have similar error to some Live Linux distro)
Here is the log:

$ PYTHONPATH=pwd/src python3 -m ledger.monero.seedconv.py online

=============================================================
Monero Seed Converter v0.9. Copyright (c) Ledger SAS 20018.
Licensed under the Apache License, Version 2.0

  • Select Language
    2 : English (English)
    3 : Esperanto (Esperanto)
    4 : Français (French)
    5 : Italiano (Italian)
    7 : Lobjan (Lobjan)
    8 : Português (Portuguese)
    Enter the number corresponding to the language of your choice (2):
    Open device...
    Erase old key words...
    Traceback (most recent call last):
    File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
    File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 109, in _get_module_details
    import(pkg_name)
    File "/Users/poison/KRYPTO/app-monero-master-2/tools/python/src/ledger/monero/seedconv.py", line 356, in
    get_online_seed(retrieve_language(True))
    File "/Users/poison/KRYPTO/app-monero-master-2/tools/python/src/ledger/monero/seedconv.py", line 303, in get_online_seed
    send_dict_chunk(dongle,lang['prefix_length'], chunk, start, cnt)
    File "/Users/poison/KRYPTO/app-monero-master-2/tools/python/src/ledger/monero/seedconv.py", line 276, in send_dict_chunk
    dongle.exchange(apdu)
    File "/Library/Python/3.7/site-packages/ledgerblue/comm.py", line 93, in exchange
    result = self.waitImpl.waitFirstResponse(timeout)
    File "/Library/Python/3.7/site-packages/ledgerblue/comm.py", line 152, in waitFirstResponse
    data = self.device.read(65)
    File "hid.pyx", line 200, in hid.device.read
    OSError: read error
    Load dictionnary...............................................................................................

And after this my Ledger is turning off and that's all folks.
Any hints? Any suggestions?

Is there any possiblity to publish binary for all ledger+monero users or it isn't so easy as I think?

Best regards.
Luke

P.S. I've also checked on some Linux Live distros, similar error + one extra error "no dongle found"

PYTHONPATH=pwd/src python3 -m ledger.monero.seedconv.py online

=============================================================
Monero Seed Converter v0.9. Copyright (c) Ledger SAS 20018.
Licensed under the Apache License, Version 2.0

  • Select Language
    2 : English (English)
    3 : Esperanto (Esperanto)
    4 : Français (French)
    5 : Italiano (Italian)
    7 : Lobjan (Lobjan)
    8 : Português (Portuguese)
    Enter the number corresponding to the language of your choice (2): 2
    Open device...
    Erase old key words...
    Traceback (most recent call last):
    File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
    File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    import(pkg_name)
    File "/home/linux/Downloads/app-monero-master/tools/python/src/ledger/monero/seedconv.py", line 356, in
    get_online_seed(retrieve_language(True))
    File "/home/linux/Downloads/app-monero-master/tools/python/src/ledger/monero/seedconv.py", line 303, in get_online_seed
    send_dict_chunk(dongle,lang['prefix_length'], chunk, start, cnt)
    File "/home/linux/Downloads/app-monero-master/tools/python/src/ledger/monero/seedconv.py", line 276, in send_dict_chunk
    dongle.exchange(apdu)
    File "/home/linux/.local/lib/python3.10/site-packages/ledgerblue/comm.py", line 93, in exchange
    result = self.waitImpl.waitFirstResponse(timeout)
    File "/home/linux/.local/lib/python3.10/site-packages/ledgerblue/comm.py", line 152, in waitFirstResponse
    data = self.device.read(65)
    File "hid.pyx", line 219, in hid.device.read
    OSError: read error
    Load dictionnary...............................................................................................
     

=============================================================
Monero Seed Converter v0.9. Copyright (c) Ledger SAS 20018.
Licensed under the Apache License, Version 2.0

  • Select Language
    2 : English (English)
    3 : Esperanto (Esperanto)
    4 : Français (French)
    5 : Italiano (Italian)
    7 : Lobjan (Lobjan)
    8 : Português (Portuguese)
    Enter the number corresponding to the language of your choice (2):
    Open device...
    Traceback (most recent call last):
    File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
    File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    import(pkg_name)
    File "/home/linux/Downloads/app-monero-master/tools/python/src/ledger/monero/seedconv.py", line 356, in
    get_online_seed(retrieve_language(True))
    File "/home/linux/Downloads/app-monero-master/tools/python/src/ledger/monero/seedconv.py", line 284, in get_online_seed
    dongle = getDongle(False)
    File "/home/linux/.local/lib/python3.10/site-packages/ledgerblue/comm.py", line 240, in getDongle
    raise CommException("No dongle found")
    ledgerblue.commException.CommException: Exception : No dongle found

BTW. After this operation - Dongle is bricked and doesn't response to any key, only when I disconnect device it works back

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions