Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: meanig on March 31, 2013, 12:43:36 PM



Title: A fatal error occurred.......
Post by: meanig on March 31, 2013, 12:43:36 PM
Need some help guys. I loaded an old wallet into my client and tried to send some coins to a new address. I got the following error message

Code:
A fatal error occurred. Bitcoin can no longer continue safely and will quit.

EXCEPTION: St13runtime_error
CWallet::GenerateNewKey() :AddKey failed
C:\Program Files (X86)\Bitcoin\bitcoin-qt.exe in Runaway exception

I'm running version 0.8. The old wallet was last opened in summer 2012 in probably 0.6.

Thanks


Title: Re: A fatal error occurred.......
Post by: meanig on March 31, 2013, 01:28:01 PM
Adding to the intrigue it gives me another error on startup

Code:
System error: CDB() : can't open database wallet.dat, error -30974

I'm getting the feeling my wallet.dat is fooked  :-\


Title: Re: A fatal error occurred.......
Post by: meanig on March 31, 2013, 01:34:11 PM
A little bit of digging shows the -30974 error has happened to other people too. The advice given was to use pywallet to extract the keys but there was never a follow up saying it worked.

Has anyone recovered from this error using pywallet?