BitShares Forum

Main => General Discussion => Topic started by: CryptoVape on August 22, 2014, 07:04:09 pm

Title: RPC error: Key Not Found
Post by: CryptoVape on August 22, 2014, 07:04:09 pm
The GUI for Bitsharex always says Not Connected in the bottom right corner, and I traced the error to this:

>> wallet_get_info

6 key_not_found_exception: Key Not Found
unable to find key 0
    {"key":0}
    bitshares  level_map.hpp:91 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch
error fetching key 0
    {"key":0}
    bitshares  level_map.hpp:101 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch

    {"block_num":0}
    bitshares  chain_database.cpp:1256 bts::blockchain::chain_database::get_block_id

    {"block_num":0}
    bitshares  chain_database.cpp:1241 bts::blockchain::chain_database::get_block_header

    {}
    bitshares  common_api_client.cpp:579 bts::rpc_stubs::common_api_client::wallet_get_info

    {"command":"wallet_get_info"}
    bitshares  cli.cpp:471 bts::cli::detail::cli_impl::execute_command

thanks for your help!
Title: Re: RPC error: Key Not Found
Post by: xeroc on August 22, 2014, 07:14:28 pm
known bug .. try to rescan the blockchain ...

devs are working on it .. nothing critical!
Title: Re: RPC error: Key Not Found
Post by: CryptoVape on August 22, 2014, 07:19:15 pm
ok thanks.  I did:

>> wallet_rescan_blockchain
Command aborted

do i just need to wait for it to download?

edit: i waited 45 mins and now it says   "Last block was synced 34d 16h 48m 46s ago" where it used to say "Not Connected" woohoo!
thanks for your help!