Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

App crashes on a server/VM because the USB port can't initialize. #40

Closed
CryptologySAC opened this issue May 23, 2018 · 2 comments
Closed

Comments

@CryptologySAC
Copy link
Contributor

CryptologySAC commented May 23, 2018

Ark-client tries to initialize a USB port to check if a Ledger is connected, when no USB port can be initialized the app crashes. On most Virtual Machines (and many servers) there is no USB port available and (in my opinion) that is precisely where a CLI is used most.

I will make a PR that solves this by checking for errors on the USB binding and if any occur notifies the user that Ledger support is not available (and disables Ledger support internally).

@joshpurvis
Copy link

I can confirm this bug. I ran into it on bare metal. Forgot I had my Ledger plugged in -- it was idle, sitting on my Ethereum wallet. Ran Ark Client (just using a seed, no Ledger wallet yet) for the first time in months, and it was freezing the UI within 2-3 seconds after starting the application.

Environment:

  • ArkClient-1.5.1
  • Arch Linux

@faustbrian
Copy link
Contributor

Resolved by #41

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

No branches or pull requests

3 participants