jkinum
December 1, 2022, 8:24pm
1
Hi all, The wasabi wallet is failing with a hwi issue when launching for the first time. I’ve documented the issue under the application maintainer but they say this is flathub packaging issue.
Shouldn’t everything be included in the flathub package for this to work?
The issue is documented here:
opened 08:23PM - 30 Nov 22 UTC
tried running wasabi flatpak and it is unable to find the hardware wallet. The … app issues the following error after scanning.
flatpak --version
Flatpak 1.12.7
cat /proc/version
Linux version 6.0.8-200.fc36.x86_64 (mockbuild@bkernel02.iad2.fedoraproject.org) (gcc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2), GNU ld version 2.37-36.fc36) #1 SMP PREEMPT_DYNAMIC Fri Nov 11 15:03:58 UTC 2022
Steps to reproduce:
1. install wasabi from flathub (Wasabi Wallet io.wasabiwallet.WasabiWallet 1.1.12.9 stable flathub user)
2. start application (flatpak run --device=all io.wasabiwallet.WasabiWallet)
3. select "connect to hardware wallet"
4. the scan doesn't find any hardware and fails with the following hwi error.
Traceback (most recent call last):
File "PyInstaller/loader/pyimod04_ctypes.py", line 54, in __init__
File "ctypes/__init__.py", line 374, in __init__
OSError: libusb-1.0.so: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "hwi.py", line 7, in <module>
File "hwilib/_cli.py", line 304, in main
File "hwilib/_cli.py", line 270, in process_commands
File "hwilib/_cli.py", line 63, in enumerate_handler
File "hwilib/commands.py", line 117, in enumerate
File "hwilib/devices/trezor.py", line 847, in enumerate
File "hwilib/devices/trezorlib/transport/webusb.py", line 115, in enumerate
File "usb1/__init__.py", line 2175, in open
File "usb1/_libusb1.py", line 210, in loadLibrary
File "usb1/_libusb1.py", line 219, in __loadLibrary
File "usb1/_libusb1.py", line 158, in __getLibrary
File "PyInstaller/loader/pyimod04_ctypes.py", line 56, in __init__
pyimod04_ctypes.PyInstallerImportError: Failed to load dynlib/dll 'libusb-1.0.so'. Most probably this dynlib/dll was not found when the application was frozen.
[272] Failed to execute script 'hwi' due to unhandled exception!
2022-11-30 14:14:41.595 [1] ERROR ConnectHardwareWalletViewModel.DetectionAsync (120) WalletWasabi.Hwi.Exceptions.HwiException: 'hwi enumerate' exited with incorrect exit code: 1.
at WalletWasabi.Hwi.HwiClient.ThrowIfError(String responseString, IEnumerable`1 options, String arguments, Int32 exitCode)
at WalletWasabi.Hwi.HwiClient.SendCommandAsync(IEnumerable`1 options, Nullable`1 command, String commandArguments, Boolean openConsole, CancellationToken cancel, Boolean isRecursion, Action`1 standardInputWriter)
at WalletWasabi.Hwi.HwiClient.EnumerateAsync(CancellationToken cancel, Boolean isRecursion)
at WalletWasabi.Helpers.HardwareWalletOperationHelpers.DetectAsync(Network network, CancellationToken cancelToken)
at WalletWasabi.Fluent.ViewModels.AddWallet.HardwareWallet.ConnectHardwareWalletViewModel.DetectionAsync(CancellationToken cancel)
hub
December 2, 2022, 6:49pm
2
maybe filing the issue in the right place will be effective?