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

Error: Device used in another window. #1

Open
conejoninja opened this issue Sep 17, 2018 · 0 comments
Open

Error: Device used in another window. #1

conejoninja opened this issue Sep 17, 2018 · 0 comments

Comments

@conejoninja
Copy link

I'm trying to use the trezor-wallet-provider to deploy some contracts with truffle, but I'm unable to.

I'm getting this error:

contracts git:(master) ✗ truffle migrate --reset
Device connected
Getting accounts now
Using network 'development'.

Running migration: 1_initial_migration.js
Getting accounts now
(node:20782) UnhandledPromiseRejectionWarning: Error: Device used in another window.
at Device.run (/home/user/project/node_modules/trezor.js/lib/device.js:166:39)
at Object. (/home/user/project/node_modules/@hardfork/trezor-wallet-provider/src/index.ts:79:19)
at step (/home/user/project/node_modules/@hardfork/trezor-wallet-provider/dist/index.js:32:23)
at Object.next (/home/user/project/node_modules/@hardfork/trezor-wallet-provider/dist/index.js:13:53)
at fulfilled (/home/user/project/node_modules/@hardfork/trezor-wallet-provider/dist/index.js:4:58)
(node:20782) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:20782) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I've tried with trezor One and model T too, and both fails. It's not opened anywhere, only trezord-go (the daemon, update to latest version) running . None of the trezor has a passphrase. If the trezor is passphrase-enabled (I did tried with a third trezor)
the trezor ask for a passphrase through the keyboard, but writing on the terminal the passphrase does not work.

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

1 participant