Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: yesterday on January 20, 2013, 02:40:00 AM



Title: Bitcoin isnt opening - is my wallet corrupt? [GOT IT FIXED!!]
Post by: yesterday on January 20, 2013, 02:40:00 AM
I get this error when I try to open bitcoin:

https://i.imgur.com/dbHi7Vo.png

I am using Win 7 64bit with an encrypted wallet and Bitcoin v0.6.2-beta.

To fix it, I tried running bitcoin after moving all files (except wallet.dat) out of the Bitcoin AppData directory. It didnt work.

Then I tried installing bitcoin on a second computer, redownloading the entire blockchain on that computer, and then copying my "wallet.dat" file to the Bitcoin AppData directory. This didnt work either. I got this error (https://i.imgur.com/ErOG6JC.png).

Lastly I tried running bitcoin with "-detachdb", but that also didnt work.

Is there anything else I can do?


Title: Re: Bitcoin isnt opening - is my wallet corrupt?
Post by: DannyHamilton on January 20, 2013, 03:07:44 AM
Assuming you don't have multiple backups, or an older backup that you can try, you might want to look into pywallet.


Title: Re: Bitcoin isnt opening - is my wallet corrupt?
Post by: DannyHamilton on January 20, 2013, 04:19:18 AM
I'm not much of a Windows guy, so I'll leave it to someone else to assist you.  Be careful who you get assistance from.  There are some very intelligent, helpful, and trustworthy people on this forum, but there are also quite a few talented scammers.


Title: Re: Bitcoin isnt opening - is my wallet corrupt?
Post by: kjj on January 20, 2013, 04:20:08 AM
Try the -salvagewallet startup option.

https://github.com/bitcoin/bitcoin/pull/1895


Title: Re: Bitcoin isnt opening - is my wallet corrupt?
Post by: memvola on January 20, 2013, 04:33:13 AM
Ill give $25 USD worth of bitcoins to anyone who can help me fix it. PM me.

Please report after you've run bitcoin with the -salvagewallet command-line parameter.

If that fails, you may try pywallet, but that might require a little more expertise. This version reportedly works on encrypted wallets, but I'm not sure how it would perform on a corrupt one:

https://github.com/joric/pywallet

pywallet --dumpwallet --password=...


Title: Re: Bitcoin isnt opening - is my wallet corrupt?
Post by: Kris on January 20, 2013, 04:36:12 AM
Send the wallet.dat file to me at http://support.walletbit.com/ "submit a ticket" and I'll help you out. Remember to include the password you used for encrypting, or change it if you can and provide me with this.

I'll fix what looks like a database error in your wallet.dat file and send it back to you clean. Or if that doesn't work I'll parse out the private keys and send the coins to a new bitcoin address you generate with a new wallet.dat file.

No payment needed for this service. I'm just in a good mood.

Regards
Kris