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: Wallet troubleshooting  (Read 449 times)

0 Members and 1 Guest are viewing this topic.

Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
Wallet troubleshooting
« on: October 04, 2014, 07:09:33 PM »

I have a problem with a vote transaction, my balance disappeared after voting.

I imported my pts and was checking out the Keyid wallet, and voted for a new account I had just registered.
I did a vote_all and vote_random successfully, and then after setting up a delegate tried vote_random again. This transaction send my entire balance away.
The transaction says username > self, but the full amount of my balance has been gone since yesterday.

Troubleshooting
I have tried rescan, wallet_rescan_blockchain, and restarts which did not help.
wallet_get_pending_transaction_errors  showed me the error, the vote that sent my entire balance is now an Expired Transaction.
"code": 31010, "name": "expired_transaction",

blockchain_get_transaction can list it, but wallet_recover_transaction gives this error: RPC Server Error: JSON Parse error: Unterminated string
The rpc and blockchain log files are empty, or I would provide more info.

Any ideas on recovering the transaction?

Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
Re: Wallet troubleshooting - balance missing after voting
« Reply #1 on: October 06, 2014, 04:32:55 AM »
I have found errors that may help track this down.

There are 2 errors in the default.log
Message from GUI: rpc error: In method 'wallet_get_transaction_fee': Assert Exception (10)
arec.valid():  (500)         Utilities.cpp:2820141005T231354.637282        th_a:?unnamed?         
log_message ] Message from GUI: js error: JSON Parse error: Unterminated string parse@[native code]

This error is logged running> wallet_recover_transaction ######## accountname
rebroadcasting... client.cpp:106620141006T034942.462359        th_a:?unnamed?         
log_message ] Message from GUI: js error: undefined is not an object (evaluating 'c.balances[d].BTSX.amount')

Blockchain logs are all 0 byte, does logging need to be enabled somewhere?

Any suggestions would be great.



Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Wallet troubleshooting
« Reply #2 on: October 06, 2014, 12:09:26 PM »
if you have a delegate in the wallet .. the software does not scan transactions ..

doe sth like. wallet_delegate_set_transaction_scanning false

And do a rescan
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
Re: Wallet troubleshooting
« Reply #3 on: October 06, 2014, 08:04:34 PM »
if you have a delegate in the wallet .. the software does not scan transactions ..

doe sth like. wallet_delegate_set_transaction_scanning false

And do a rescan

Thank you very much!

This command fixed the vote transaction:  wallet_set_transaction_scanning true
The "-> to Self" part of the Vote_all transaction appeared immediately, and my entire balance is back.

This is a pretty serious defect on the heart-attack scale. If I can reproduce it where should I file it?



Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Wallet troubleshooting
« Reply #4 on: October 06, 2014, 08:24:11 PM »
Its not a bug .. its on purpose for delegate accounts for timing reasons ... GUI users should NEVER have a delegate active .. thats why you cannot register as delegate in more recent GUI versions .. still available in cli though
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline gnarl

  • Full Member
  • ***
  • Posts: 72
    • View Profile
Re: Wallet troubleshooting
« Reply #5 on: October 07, 2014, 03:45:25 AM »
Its not a bug .. its on purpose for delegate accounts for timing reasons ... GUI users should NEVER have a delegate active .. thats why you cannot register as delegate in more recent GUI versions .. still available in cli though

Its a known issue? Ok.

This seems like it might happen again. A startup log entry that indicates transaction scanning is off once you have created a delegate might help users with troubleshootng.

In case anyone else has a missing balance\transaction problem and you get an error running:wallet_recover_transaction  ######## accountname, then try: wallet_set_transaction_scanning true.

Thanks again,
Gnarl

 

Google+