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

HWI issue, Error scaning, Trezor and Ledger not detected #529

Open
Shadovv007 opened this issue Oct 20, 2021 · 8 comments
Open

HWI issue, Error scaning, Trezor and Ledger not detected #529

Shadovv007 opened this issue Oct 20, 2021 · 8 comments

Comments

@Shadovv007
Copy link

Hi,
I installed Sparrow and cant get detected any of my HW wallets, which work in other apps and with the same cable in the same usb spot. I did reboot, I dont use any other USB device, reinstalled Sparrow...dont know what else to try?

I ran hwi enumerate and got this :

Traceback (most recent call last):
File "hwi.py", line 7, in
File "hwilib_cli.py", line 305, in main
File "hwilib_cli.py", line 269, in process_commands
File "hwilib_cli.py", line 62, in enumerate_handler
File "hwilib\commands.py", line 113, in enumerate
File "hwilib\devices\trezor.py", line 714, in enumerate
File "hwilib\devices\trezorlib\transport\webusb.py", line 118, in enumerate
File "usb1_init_.py", line 2087, in wrapper
File "usb1_init_.py", line 2196, in getDeviceIterator
File "usb1_init_.py", line 127, in mayRaiseUSBError
File "usb1_init_.py", line 119, in raiseUSBError
usb1.USBErrorNoDevice: LIBUSB_ERROR_NO_DEVICE [-4]
[7628] Failed to execute script hwi

Thanks!

@prusnak
Copy link
Collaborator

prusnak commented Oct 20, 2021

Which OS is that? Windows?

Which "other apps" does Trezor work with?

@Shadovv007
Copy link
Author

Shadovv007 commented Oct 20, 2021

Sorry, forgot to mention.. yes, its on Win 10.
On the same pc with the same conditions (cable, usb..) the Trezor works with Trezor Suite app, also here https://suite.trezor.io/ and also in Electrum desktop app.
Ledger works also in both Ledger live desktop app and in Electrum desktop app.
Thanks!

@prusnak
Copy link
Collaborator

prusnak commented Oct 20, 2021

Try restarting the PC and do not launch Suite, but run Sparrow first. Did this help?

@Shadovv007
Copy link
Author

Shadovv007 commented Oct 20, 2021

Nope...when i click "Scan" both Trezor and Ledger give me still the same "There was error connecting to the wallet: Error scanning, check devices are ready" error.

@prusnak
Copy link
Collaborator

prusnak commented Oct 21, 2021

Can this be a permission problem? Does it work when you run HWI as admin?

@Shadovv007
Copy link
Author

Shadovv007 commented Oct 21, 2021

Well, I didnt install HWI nor I knew about its existence/need before I wrote on Sparrow Telegram, where Craig Raw guided me to run "hwi enumerate" from Sparrow appdata\temp\ folder. But that hwi file was/is in "hwi-2.0.28140055849243990408.tmp" format.

So I was told to grab hwi from https://github.com/bitcoin-core/HWI/releases/download/2.0.2/hwi-2.0.2-windows-amd64.zip and run enumerate and results are posted above.
Should/need I install HWI ? Craig wrote, that Sparrow installs it itself in that temp location..
Could it also be something with Python? I used to play with it a little (just basic graphics) year ago and still have it installed.

Now I ran HWI as admin with these results:

Traceback (most recent call last):
File "hwi.py", line 7, in
File "hwilib_cli.py", line 305, in main
File "hwilib_cli.py", line 269, in process_commands
File "hwilib_cli.py", line 62, in enumerate_handler
File "hwilib\commands.py", line 113, in enumerate
File "hwilib\devices\trezor.py", line 714, in enumerate
File "hwilib\devices\trezorlib\transport\webusb.py", line 118, in enumerate
File "usb1_init_.py", line 2087, in wrapper
File "usb1_init_.py", line 2196, in getDeviceIterator
File "usb1_init_.py", line 127, in mayRaiseUSBError
File "usb1_init_.py", line 119, in raiseUSBError
usb1.USBErrorNoDevice: LIBUSB_ERROR_NO_DEVICE [-4]
[15268] Failed to execute script hwi

@achow101
Copy link
Member

achow101 commented Nov 9, 2021

Can you try without either Trezor suite or Electrum open, or anything else that may try to talk to the Trezor? This kind of error often appears when multiple apps are trying to use the device at the same time.

@Shadovv007
Copy link
Author

Neither Trezor Suite nor Electrum is open :/

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

No branches or pull requests

3 participants