monero-project/monero-gui

Issue when trying to create a new wallet on a Ledger Nano X

BushyToaster88 opened this issue · 2 comments

Im running Arch Linux and i'm encountering this issue when trying to create a wallet. The application itself says

Error writing wallet from hardware device. Check application logs
image

The logs output this error when I press the "Create Wallet" Button

2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:133  Exception: boost::wrapexcept<boost::system::system_error>
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:134  Unwound call stack:
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [1] /usr/bin/monero-wallet-gui(+0x343e8) [0x567a34b963e8] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [2] /usr/bin/monero-wallet-gui(+0x47b808) [0x567a34fdd808] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [3] /usr/bin/monero-wallet-gui(+0x47b889) [0x567a34fdd889] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [4] /usr/bin/monero-wallet-gui(+0x4e7323) [0x567a35049323] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [5] /usr/bin/monero-wallet-gui(+0x177e9a) [0x567a34cd9e9a] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [6] /usr/bin/monero-wallet-gui(+0x115e27) [0x567a34c77e27] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [7] /usr/bin/monero-wallet-gui(+0x117fc0) [0x567a34c79fc0] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [8] /usr/bin/monero-wallet-gui(+0x13ce22) [0x567a34c9ee22] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [9] /usr/bin/monero-wallet-gui(+0x34a1bd) [0x567a34eac1bd] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [10] /usr/bin/monero-wallet-gui(+0x2928b1) [0x567a34df48b1] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [11] /usr/bin/monero-wallet-gui(+0x1ecd44) [0x567a34d4ed44] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [12] /usr/bin/monero-wallet-gui(+0x16fa97) [0x567a34cd1a97] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [13] /usr/bin/monero-wallet-gui(+0x16fdc0) [0x567a34cd1dc0] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [14] /usr/bin/monero-wallet-gui(+0x180766) [0x567a34ce2766] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [15] /usr/lib/libQt5Core.so.5(+0xf3945) [0x7e5b3e4f3945] 
2024-06-14 18:49:55.152     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [16] /usr/lib/libQt5Core.so.5(+0xf261b) [0x7e5b3e4f261b] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [17] /usr/lib/libc.so.6(+0x92ded) [0x7e5b3d6a6ded] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [18] /usr/lib/libc.so.6(+0x1160dc) [0x7e5b3d72a0dc] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:133  Exception: boost::wrapexcept<boost::system::system_error>
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:134  Unwound call stack:
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [1] /usr/bin/monero-wallet-gui(+0x343e8) [0x567a34b963e8] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [2] /usr/bin/monero-wallet-gui(+0x47b808) [0x567a34fdd808] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [3] /usr/bin/monero-wallet-gui(+0x47b889) [0x567a34fdd889] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [4] /usr/bin/monero-wallet-gui(+0x4e7323) [0x567a35049323] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [5] /usr/bin/monero-wallet-gui(+0x177e9a) [0x567a34cd9e9a] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [6] /usr/bin/monero-wallet-gui(+0x115e27) [0x567a34c77e27] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [7] /usr/bin/monero-wallet-gui(+0x117fc0) [0x567a34c79fc0] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [8] /usr/bin/monero-wallet-gui(+0x13ce22) [0x567a34c9ee22] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [9] /usr/bin/monero-wallet-gui(+0x34a1bd) [0x567a34eac1bd] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [10] /usr/bin/monero-wallet-gui(+0x292789) [0x567a34df4789] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [11] /usr/bin/monero-wallet-gui(+0x1ecd73) [0x567a34d4ed73] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [12] /usr/bin/monero-wallet-gui(+0x16fa97) [0x567a34cd1a97] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [13] /usr/bin/monero-wallet-gui(+0x16fdc0) [0x567a34cd1dc0] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [14] /usr/bin/monero-wallet-gui(+0x180766) [0x567a34ce2766] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [15] /usr/lib/libQt5Core.so.5(+0xf3945) [0x7e5b3e4f3945] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [16] /usr/lib/libQt5Core.so.5(+0xf261b) [0x7e5b3e4f261b] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [17] /usr/lib/libc.so.6(+0x92ded) [0x7e5b3d6a6ded] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [18] /usr/lib/libc.so.6(+0x1160dc) [0x7e5b3d72a0dc] 
2024-06-14 18:49:55.153     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172
2024-06-14 18:49:55.154     7e5b2e0006c0        ERROR   device.io       src/device/device_io_hid.cpp:112        No device found
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:133  Exception: std::runtime_error
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:134  Unwound call stack:
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [1] /usr/bin/monero-wallet-gui(+0x9372f) [0x567a34bf572f] 
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [2] /usr/bin/monero-wallet-gui(+0x1ecb25) [0x567a34d4eb25] 
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [3] /usr/bin/monero-wallet-gui(+0x16fa97) [0x567a34cd1a97] 
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [4] /usr/bin/monero-wallet-gui(+0x16fdc0) [0x567a34cd1dc0] 
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [5] /usr/bin/monero-wallet-gui(+0x180766) [0x567a34ce2766] 
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [6] /usr/lib/libQt5Core.so.5(+0xf3945) [0x7e5b3e4f3945] 
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [7] /usr/lib/libQt5Core.so.5(+0xf261b) [0x7e5b3e4f261b] 
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [8] /usr/lib/libc.so.6(+0x92ded) [0x7e5b3d6a6ded] 
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172      [9] /usr/lib/libc.so.6(+0x1160dc) [0x7e5b3d72a0dc] 
2024-06-14 18:49:55.154     7e5b2e0006c0        INFO    stacktrace      src/common/stack_trace.cpp:172

Notably it's saying "No device found" but ledger live is able to read the device and it is detected by Arch correctly.

[262293.474053] hid-generic 0003:2C97:4011.000A: hiddev99,hidraw7: USB HID v1.11 Device [Ledger Nano X] on usb-0000:00:14.0-5/input0
[263215.413030] usb 1-5: USB disconnect, device number 36
[263217.190418] usb 1-5: new full-speed USB device number 37 using xhci_hcd
[263217.345488] usb 1-5: New USB device found, idVendor=2c97, idProduct=4011, bcdDevice= 2.01
[263217.345502] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[263217.345509] usb 1-5: Product: Nano X
[263217.345515] usb 1-5: Manufacturer: Ledger
[263217.345519] usb 1-5: SerialNumber: 0001
[263217.361982] hid-generic 0003:2C97:4011.000B: hiddev99,hidraw6: USB HID v1.11 Device [Ledger Nano X] on usb-0000:00:14.0-5/input0

Did you make sure no other application is open that interacts with Ledger? Did you make sure the monero app is opened on Ledger and that the device is unlocked?

Did you make sure the monero app is opened on Ledger

How embarrassing, thats the one thing I didnt do, thanks for the fast reponse though!