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

Regression on Arch Linux, HWI error with 2.0.0, no issue with 1.9.1 #1522

Closed
kloaec opened this issue Oct 19, 2024 · 2 comments
Closed

Regression on Arch Linux, HWI error with 2.0.0, no issue with 1.9.1 #1522

kloaec opened this issue Oct 19, 2024 · 2 comments

Comments

@kloaec
Copy link

kloaec commented Oct 19, 2024

Similar to prior issues about "error executing HWI", but it seems related only to the latest 2.0.0 release, on Arch Linux.

Same machine, same hardware, 1.9.1 works perfectly, 2.0.0 does not.

Missing libcrypt.so on Arch. Fixed by installing libxcrypt-compat.
Would be nice to not have an extra, external library to install (as it was already working with 1.9.1).

java.io.IOException: [8901] Error loading Python lib '/tmp/_MEI1w2tCX/libpython3.9.so.1.0': dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

	at [email protected]/com.sparrowwallet.sparrow.io.Hwi.getProcessOutput(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi.execute(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi.enumerateUsb(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi.enumerate(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi$ScheduledEnumerateService$1.call(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi$ScheduledEnumerateService$1.call(Unknown Source)
	at javafx.graphics@22/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at javafx.graphics@22/javafx.concurrent.Service.lambda$executeTask$6(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at javafx.graphics@22/javafx.concurrent.Service.lambda$executeTask$7(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
2024-10-19 16:48:22,247 ERROR Error executing hwi-3.1.0
java.io.IOException: [8928] Error loading Python lib '/tmp/_MEILMs3KX/libpython3.9.so.1.0': dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

	at [email protected]/com.sparrowwallet.sparrow.io.Hwi.getProcessOutput(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi.execute(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi.enumerateUsb(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi.enumerate(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi$EnumerateService$1.call(Unknown Source)
	at [email protected]/com.sparrowwallet.sparrow.io.Hwi$EnumerateService$1.call(Unknown Source)
	at javafx.graphics@22/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at javafx.graphics@22/javafx.concurrent.Service.lambda$executeTask$6(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at javafx.graphics@22/javafx.concurrent.Service.lambda$executeTask$7(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Screenshot of the issue.
Screenshot From 2024-10-19 16-45-02

@kloaec
Copy link
Author

kloaec commented Oct 19, 2024

A simple pacman -S libxcrypt-compat fixes it, but was not needed in prior releases.

@craigraw
Copy link
Collaborator

Duplicate of #1504 (albeit in Fedora environment). I agree it's a problem, and I'm working on a solution.

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

2 participants