Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Terracoin (TRC) - Est 2012
by
vinipoars
on 26/09/2020, 01:19:08 UTC
Looks like a corrupt wallet.dat? If you have another backup of the wallet, try that file. You could also try and start the client with a new wallet.dat (move the old wallet and let it generate a new one), let it load, stop it and try the old wallet.dat again. Or, start up with a new wallet and try the 'import wallet' function from the console.

No experience with py here, unfortunately, but I don't think that would work with an encrypted wallet anyway.

Thank you for your help.

I have another backup but with the same error.

I just tried the import function. I'm just a little confused if it is the same command as in bitcoin client. I've tried "help importwallet" to understand, but the command showed is importwallet "filename". I've tried to create a wallet1.dat and then:
 
importwallet "wallet1.dat"

It returns the following:
Cannot open wallet dump file (code -8)

Am I doing something wrong?


Did you specify a path like so? /home/user/yourwalletfile

Also, make some copies of your left over back up, just in case in the process this one gets fried as well.

-Did you specify a path like so?
Yes, I did. When I put it in parentheses " ", It return a blanc line. Otherwise, it return the aforementioned error.

-Also, make some copies of your left over back up, just in case in the process this one gets fried as well.
I have two backups, one on an external hard drive and the other on a flash drive.

Thank you again!

Can you hit me up on Mattermost (https://mattermost.terracoin.io/)?  It is easier to do tech support on there.  I can't look at it tonight (Weekly Update night), but I can look at your wallet.dat file tomorrow.  I have fixed a bunch of old wallet.dat files at this point.

@samspaces Thanks for helping!  You are spot on with your advice!


No prob. Found an old pywallet git: https://github.com/jackjack-jj/pywallet
I noticed some coins have the option 'loadwallet' besides 'importwallet'. If you're on linux, you'll want to check if your user has the right permissions.  Seems code 8 points to that. If not: 'sudo chown -R youruser yourwalletfile'

@vinipoars, let us know if you've salvaged the coins. Even if you don't, don't throw away the files. You never know what might be available at some point in the future.

Thank you again.
I will try the solution with pywalet. Let's see what I can do.

Don't worry, I have backups in two different places and I have no intention of getting rid of them.