Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: 0.9.0 Unable to start due to unknown wallet record type  (Read 416 times)

0 Members and 1 Guest are viewing this topic.

pollux

  • Guest
0.9.0 Unable to start due to unknown wallet record type
« on: May 04, 2015, 02:59:21 PM »

Wallet fails to load on OSX, the only meaningful message I can find in the logs are 20 instances of:

2015-05-04T14:48:35           bitshares:?  load_generic_record ] Unknown wallet record type: 6                  wallet_db.cpp:63

Completely locked out of my funds. Haven't done anything but upgrade versions and occasionally deleting the chain directory due to forks and crashes.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12241
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #1 on: May 04, 2015, 03:02:54 PM »
You can try reimport from a backup. They are located in "wallets/.backups" in the config folder (see http://wiki.bitshares.org/index.php/BitShares/Config)
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline vikram

Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #2 on: May 04, 2015, 05:33:22 PM »
Wallet fails to load on OSX, the only meaningful message I can find in the logs are 20 instances of:

2015-05-04T14:48:35           bitshares:?  load_generic_record ] Unknown wallet record type: 6                  wallet_db.cpp:63

Completely locked out of my funds. Haven't done anything but upgrade versions and occasionally deleting the chain directory due to forks and crashes.

That line in the log is just a warning and shouldn't be causing any failure.

When you say the wallet fails to load, how does it fail?

pollux

  • Guest
Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #3 on: May 04, 2015, 06:01:59 PM »
Vikram, it does go through the "startup" steps in the GUI, shows some status, then prompts for password.

I can generate the following error in p2p.log by entering my password in that screen (which doesn't change after submitting):

2015-05-04T18:00:03        th_a:?unnamed?          log_message ] Message from GUI: rpc error: Assert Exception (10)
account.owner_key != public_key_type():
 (500)
[email protected]:35:5176
 ○ [email protected]:41:12198
 ○ [email protected]:41:48264
 ○ [email protected]:37:46041
 ○ app.js:10:7986
 ○ [email protected]:10:14415
 ○ [email protected]:6:83428
 ○ [email protected]:6:83659
 ○ app.js:10:14472
 ○ [email protected]:3:14478
 ○ [email protected]:3:11253                        Utilities.cpp:36

pollux

  • Guest
Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #4 on: May 05, 2015, 03:27:38 PM »
bump.

Still locked out of funds.

pollux

  • Guest
Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #5 on: May 06, 2015, 03:21:52 PM »
Still locked out of my funds.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12241
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #6 on: May 06, 2015, 03:28:35 PM »
You can try reimport from a backup. They are located in "wallets/.backups" in the config folder (see http://wiki.bitshares.org/index.php/BitShares/Config)
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline vikram

Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #7 on: May 06, 2015, 03:38:29 PM »
You can try reimport from a backup. They are located in "wallets/.backups" in the config folder (see http://wiki.bitshares.org/index.php/BitShares/Config)

Yes, can you try importing the most recent backup you can find and see if anything changes?

pollux

  • Guest
Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #8 on: May 07, 2015, 04:52:13 AM »

pollux

  • Guest
Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #9 on: May 07, 2015, 05:04:28 AM »
The good news is that I was able to hack the wallet json file to remove an entry and re-import it... successfully!

The bad news is that I have no idea whether the thing I removed was bad to remove. I don't appear to have lost funds (after re-scanning).

I removed this:

Code: [Select]
{
  "type": "key_record_type",
  "data": {
    "index": 11,
    "account_address": "BTSX[...]",
    "public_key": "BTSX1111111111[...]",
    "encrypted_private_key": "[...]",
    "memo": null
  }
},

If the exact data is important, please let me know and I'll pass it along in a less public way.

Offline pc

  • Hero Member
  • *****
  • Posts: 1129
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BTS: cyrano
  • Witness: cyrano
  • Payrate: 100%
Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #10 on: May 07, 2015, 09:35:06 AM »
Does that public key really consist of mostly 1's? That looks suspiciously like a null key. If it is, you haven't removed anything of importance.
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

pollux

  • Guest
Re: 0.9.0 Unable to start due to unknown wallet record type
« Reply #11 on: May 07, 2015, 02:13:59 PM »
There were quite a few more 1s in the key (though not all 1s), to the point where I figured that if I did in fact have funds on it, I should probably find out.

In any case, I'd recommend that if a wallet contains something that fails to be parsed, it should not cause the software to silently fail to unlock but rather to quarantine any newly failing keys and continue. At the very least, it should identify the key in an error message.

 

Google+