BitShares Forum

Main => Technical Support => Topic started by: bitmeat on August 25, 2014, 03:14:12 am

Title: Wallet export/import compatibility issues?
Post by: bitmeat on August 25, 2014, 03:14:12 am
So if I export a wallet in JSON from Windows, shouldn't I be able to import it in Ubuntu?

Actually I tried to import wallets exported with 0.4.7 to 0.4.7 client and I get this even on Windows...

Can someone tell us what is the most STABLE environment? I am very nervous about keeping my wallet up to date.

I'm getting this:

Code: [Select]
Finished scanning for new transactions.
7 bad_cast_exception: Bad Cast
Invalid cast from type 'string_type' to Object
    {"type":"string_type"}
    th_a  variant.cpp:501 get_object

    {"filename":"***hidden***"}
    th_a  wallet_db.cpp:445 import_from_json

    {"filename":"/home/ubuntu/wallet.json","wallet_name":"***hidden***"}
    th_a  wallet.cpp:1822 create_from_json

    {}
    th_a  common_api_client.cpp:787 wallet_backup_restore

    {"command":"wallet_backup_restore"}
    th_a  cli.cpp:471 execute_command

Title: Re: Wallet export/import compatibility issues?
Post by: ripplexiaoshan on August 25, 2014, 03:18:03 am
I have this issue too. 0.4.7 has this bug on importing old backup wallet
Title: Re: Wallet export/import compatibility issues?
Post by: xeroc on August 25, 2014, 07:22:40 am
can be fixed by a rescan
...

1) got to console ...
2) type "wallet_resync_blockchain"
3) wait 30-60 minutes
Title: Re: Wallet export/import compatibility issues?
Post by: bitmeat on August 25, 2014, 07:48:20 am
can be fixed by a rescan
...

1) got to console ...
2) type "wallet_resync_blockchain"
3) wait 30-60 minutes

Do you mean wallet_rescan_blockchain ?
Title: Re: Wallet export/import compatibility issues?
Post by: xeroc on August 25, 2014, 08:04:24 am
can be fixed by a rescan
...

1) got to console ...
2) type "wallet_resync_blockchain"
3) wait 30-60 minutes

Do you mean wallet_rescan_blockchain ?
Oh .. yhea ..
just figures "rescan" should also work

you can read the progress in 'getinfo'
Title: Re: Wallet export/import compatibility issues?
Post by: vikram on August 25, 2014, 07:24:38 pm
This is a bug that was introduced in recent versions and will be fixed in 0.4.8. How to fix: https://bitsharestalk.org/index.php?topic=7349.msg98855#msg98855