Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

cleos wallet create fails if default wallet directory does not exist #4064

Closed
rbw3821 opened this issue Jun 12, 2018 · 6 comments
Closed

cleos wallet create fails if default wallet directory does not exist #4064

rbw3821 opened this issue Jun 12, 2018 · 6 comments
Assignees
Milestone

Comments

@rbw3821
Copy link
Contributor

rbw3821 commented Jun 12, 2018

If the default wallet directory does not exist, then cleos wallet create fails. Note that cleos provides no option to specify the wallet directory.

To replicate, use the following.

$ rm -rf ~/eosio-wallet
$ ls ~/eosio-wallet/
ls: /Users/testuser/eosio-wallet/: No such file or directory

$ cleos wallet create
2825981ms thread-0   main.cpp:2659                 main                 ] Failed with error: unspecified (0)
Unable to open file: /Users/testuser/eosio-wallet/./default.wallet

$ mkdir ~/eosio-wallet
$ cleos wallet create
Creating wallet: default
Save password to use in the future to unlock this wallet.
Without password imported keys will not be retrievable.
"PW5HtHxSKr9hu9vcYDTH7u3sSMiCSA6yynngwZ4mo1aPSEgxFE1hz"

It fails regardless of whether the default wallet is being used or a named wallet is used.

@bachvtuan
Copy link

Hi.
I tried to create wallet and everything is ok but I unable to find ~/eosio-wallet folder to remove it.
Because there is no method to remove wallet
I am using Ubuntu and follow install Docker on https://developers.eos.io/

@rbw3821
Copy link
Contributor Author

rbw3821 commented Jun 15, 2018 via email

@rbw3821
Copy link
Contributor Author

rbw3821 commented Jun 15, 2018 via email

@bachvtuan
Copy link

In my case it is located at /tmp/eosio/data

@comfyowl
Copy link

comfyowl commented Jul 29, 2018

Running Ubuntu 16.04 (using cleos from docker) I can confirm that my wallet data is in: /tmp/eosio/data

@aclark-b1
Copy link

In order to focus our efforts on issues that are currently creating difficulty for the community we are closing tickets that were created prior to the EOSIO 2.0 release. If you believe this issue is still relevant please feel free to reopen it or create a new one. Thank you for your continued support of EOSIO!

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

No branches or pull requests

5 participants