Search content
Sort by

Showing 3 of 3 results by wallet.duh
Post
Topic
Board Bitcoin Technical Support
Merits 1 from 1 user
Topic OP
Corrupt wallet.dat recovery options
by
wallet.duh
on 10/09/2022, 17:51:07 UTC
⭐ Merited by vapourminer (1)
Its been recommended to me to start a thread for some help recovering an old wallet.dat file.

I had made a post in the Pywallet 2.2 thread and the farthest I got was this error message,

(22, 'Invalid argument -- C:\\Python27\\wallet.dat: unexpected file type or form
at')
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this
again.

I tried to open this file with Bitcoin core before using pywallet and got a similar "data is not in recognized format" error.

It might be worth mentioning I recovered the file using EaseUS data recovery wizard some time ago.

Thank you for any help.
Post
Topic
Board Development & Technical Discussion
Re: Pywallet 2.2: manage your wallet [Update required]
by
wallet.duh
on 04/01/2022, 20:07:51 UTC
What would be the up to date command to run to get the contents of this file assuming i have that file and pywallet in the same folder and have a command window open from that directory already.
In that case, do not use --datadir and put ".\" before "wallet.dat";
that will tell pywallet to look for the wallet.dat file in the working directory:
Code:
python pywallet.py --dumpwallet --wallet=.\wallet.dat

Im one step closer thank you.

Now getting this error message when running that code

C:\Python27>pywallet.py --dumpwallet --wallet=.\wallet.dat
Warning: 'ecdsa' package is not installed, so you won't be able to sign/verify m
essages but everything else will work fine
(22, 'Invalid argument -- C:\\Python27\\wallet.dat: unexpected file type or form
at')
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this
again.

I tried to open this file with Bitcoin core before using pywallet and got a similar "data is not in recognized format" error.

Wondering if im SOL

Post
Topic
Board Development & Technical Discussion
Re: Pywallet 2.2: manage your wallet [Update required]
by
wallet.duh
on 03/01/2022, 20:08:06 UTC

I saw the post that datadir has been removed and im getting that message when i try to follow old guides to dump a wallet.dat file i have.

What would be the up to date command to run to get the contents of this file assuming i have that file and pywallet in the same folder and have a command window open from that directory already.


Error i get when trying to dump wallet

Depreacation
  The --datadir option has been deprecated, now the full path of the wallet file should go to --wallet
  If you're not sure what to do, concatenating the old --datadir content, then a directory separator, then the old --wallet should do the trick
  If not, ask for help in the Pywallet thread: https://bitcointalk.org/index.php?topic=34028
A mandatory option is missing

|I appreciate any guidance you can provide.