Post
Topic
Board Development & Technical Discussion
Re: Pywallet 2.2: manage your wallet [Update required]
by
Cassius
on 09/11/2017, 15:34:19 UTC
Trying to recover a corrupt wallet. Installed python and pywallet on a DigitalOcean VPS, copied over the wallet file and got this:

Code:
root@GB-Tron2:~/Test# python2.7 pywallet/pywallet.py --dumpwallet --wallet=testwallet.py
Traceback (most recent call last):
  File "pywallet/pywallet.py", line 5004, in
    db_env = create_env(db_dir)
  File "pywallet/pywallet.py", line 1269, in create_env
    r = db_env.open(db_dir, (DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN|DB_THREAD|DB_RECOVER))
bsddb.db.DBNoSuchFileError: (2, 'No such file or directory -- /root/.bitcoin/__db.001: No such file or directory')

Any ideas?

Edit: never mind. Looks like pywallet needs you to specify the directory for wallet.dat, even if it's the current one.