BitShares Forum

Main => Technical Support => Topic started by: wrzkll on January 26, 2015, 06:18:23 pm

Title: Negative Deposit?
Post by: wrzkll on January 26, 2015, 06:18:23 pm
What does this mean?

Code: [Select]
>> wallet_collect_vested_balances xxxxx

31001 negative_deposit: negative deposit

    {"amount":-5989}
    bitshares  balance_operations.cpp:104 evaluate
 

Thanks in advance.
Title: Re: Negative Deposit?
Post by: vikram on January 26, 2015, 06:28:01 pm
What does this mean?

Code: [Select]
>> wallet_collect_vested_balances xxxxx

31001 negative_deposit: negative deposit

    {"amount":-5989}
    bitshares  balance_operations.cpp:104 evaluate
 

Thanks in advance.

Do you have a very large vesting stake? This could be caused by an overflow bug which will be fixed in next version.

If you are not sure, you can PM me the output of your "wallet_check_sharedrop" command if you want and I can take a look.
Title: Re: Negative Deposit?
Post by: vikram on January 26, 2015, 08:16:29 pm
Okay your stake is not big enough to cause an overflow. Are you sure you are fully synced? What is the output of "get_info"?
Title: Re: Negative Deposit?
Post by: wrzkll on January 26, 2015, 08:29:38 pm
Thank you for checking....Here's the output for get info:

Code: [Select]
>> get_info

{
  "blockchain_head_block_num": 1627314,
  "blockchain_head_block_age": "0 second old",
  "blockchain_head_block_timestamp": "2015-01-26T20:26:30",
  "blockchain_average_delegate_participation": "100.00 %",
  "blockchain_confirmation_requirement": 1,
  "blockchain_share_supply": "2,498,767,724.62869 BTS",
  "blockchain_blocks_left_in_round": 99,
  "blockchain_next_round_time": "at least 17 minutes in the future",
  "blockchain_next_round_timestamp": "2015-01-26T20:43:00",
  "blockchain_random_seed": "61cb0c5c9cd30b5b67369056bc79e569aae429a8",
  "client_data_dir": "/home/daniel/.BitShares",
  "client_version": "v0.5.3-1-g92a8ca7",
  "network_num_connections": 20,
  "network_num_connections_max": 200,
  "network_chain_downloader_running": false,
  "network_chain_downloader_blocks_remaining": null,
  "ntp_time": "2015-01-26T20:26:30",
  "ntp_time_error": -0.13372100000000001,
  "wallet_open": true,
  "wallet_unlocked": true,
  "wallet_unlocked_until": "11 days in the future",
  "wallet_unlocked_until_timestamp": "2015-02-07T06:52:36",
  "wallet_last_scanned_block_timestamp": "2015-01-26T20:26:30",
  "wallet_scan_progress": "100.00 %",
  "wallet_block_production_enabled": false,
  "wallet_next_block_production_time": null,
  "wallet_next_block_production_timestamp": null
}

I switched over to Linux from Windows because I could not get it to work with my Windows 7 client. Also, my robohas isn't showing. If I paste the link to the robohash on my browser. I get error 502.

Title: Re: Negative Deposit?
Post by: vikram on January 26, 2015, 08:41:16 pm
Thank you for checking....Here's the output for get info:

Code: [Select]
>> get_info

{
  "blockchain_head_block_num": 1627314,
  "blockchain_head_block_age": "0 second old",
  "blockchain_head_block_timestamp": "2015-01-26T20:26:30",
  "blockchain_average_delegate_participation": "100.00 %",
  "blockchain_confirmation_requirement": 1,
  "blockchain_share_supply": "2,498,767,724.62869 BTS",
  "blockchain_blocks_left_in_round": 99,
  "blockchain_next_round_time": "at least 17 minutes in the future",
  "blockchain_next_round_timestamp": "2015-01-26T20:43:00",
  "blockchain_random_seed": "61cb0c5c9cd30b5b67369056bc79e569aae429a8",
  "client_data_dir": "/home/daniel/.BitShares",
  "client_version": "v0.5.3-1-g92a8ca7",
  "network_num_connections": 20,
  "network_num_connections_max": 200,
  "network_chain_downloader_running": false,
  "network_chain_downloader_blocks_remaining": null,
  "ntp_time": "2015-01-26T20:26:30",
  "ntp_time_error": -0.13372100000000001,
  "wallet_open": true,
  "wallet_unlocked": true,
  "wallet_unlocked_until": "11 days in the future",
  "wallet_unlocked_until_timestamp": "2015-02-07T06:52:36",
  "wallet_last_scanned_block_timestamp": "2015-01-26T20:26:30",
  "wallet_scan_progress": "100.00 %",
  "wallet_block_production_enabled": false,
  "wallet_next_block_production_time": null,
  "wallet_next_block_production_timestamp": null
}

I switched over to Linux from Windows because I could not get it to work with my Windows 7 client. Also, my robohas isn't showing. If I paste the link to the robohash on my browser. I get error 502.

Why is your client version "v0.5.3-1-g92a8ca7"? Did you apply a custom patch?

Do you think you could try running the latest DevShares release: https://github.com/BitShares/DevShares/releases/tag/dvs%2F0.6.1, import your vesting keys and try to collect vesting balances? I want to see if it still gives the same error.
Title: Re: Negative Deposit?
Post by: wrzkll on January 26, 2015, 09:04:16 pm
No custom patch...Got the latest from here: https://github.com/BitShares/bitshares/releases/download/bts%2F0.5.3/bitsharesGUI-0.5.3-linux-x86_64.tar.gz

I can't import my wallet.json but perhaps I'm doing it wrong.

Code: [Select]
(wallet closed) >>> wallet_import_keys_from_json                           
json_filename: /home/xxxxx/BitShares Wallet Backup_01_10_26_Linux.copy.json
imported_wallet_passphrase:
account: xxxxx
10 assert_exception: Assert Exception
fc::exists( json_filename ):
    {}
    th_a  wallet_api.cpp:157 wallet_import_keys_from_json

    {"json_filename":"/home/xxxxx/BitShares"}
    th_a  wallet_api.cpp:172 wallet_import_keys_from_json

    {}
    th_a  common_api_client.cpp:3130 wallet_import_keys_from_json

    {"command":"wallet_import_keys_from_json"}
    th_a  cli.cpp:626 execute_command
Title: Re: Negative Deposit?
Post by: vikram on January 26, 2015, 10:11:51 pm
What does this mean?

Code: [Select]
>> wallet_collect_vested_balances xxxxx

31001 negative_deposit: negative deposit

    {"amount":-5989}
    bitshares  balance_operations.cpp:104 evaluate
 

Thanks in advance.

Is this the complete error message? Can you PM me the entire thing?
Title: Re: Negative Deposit?
Post by: wrzkll on January 27, 2015, 12:03:02 am
That's all I get...
Title: Re: Negative Deposit?
Post by: vikram on January 27, 2015, 10:14:03 pm
I don't know how this is occurring or why you don't get a bigger error message with the full error details, and I have not been able to reproduce this.

I think you will have to wait and see if this still happens in the next release 0.6.0, and if so--we will track down the full details of the error and what could be causing it.
Title: Re: Negative Deposit?
Post by: wrzkll on January 28, 2015, 12:35:55 am
I re-synced once more and imported the jsons for BTS and KeyID as well as PTS.dat. Once that was done, I did wallet_collect_vested_balances and managed to get 7 Sharedrops (5 out 7 are <1 BTS). However if I run wallet_collect_vested_balances again without quitting, I will get the negative balance error. Hope that helps and once again, thanks for your help.