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 export/import compatibility issues?  (Read 301 times)

0 Members and 1 Guest are viewing this topic.

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Wallet export/import compatibility issues?
« 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


Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2009
    • View Profile
  • BTS: xiaoshan
Re: Wallet export/import compatibility issues?
« Reply #1 on: August 25, 2014, 03:18:03 AM »
I have this issue too. 0.4.7 has this bug on importing old backup wallet
BTS ID:xiaoshan                   www.yoyow.org      www.btsabc.org      www.openledger.info

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12242
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Wallet export/import compatibility issues?
« Reply #2 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
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Re: Wallet export/import compatibility issues?
« Reply #3 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 ?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12242
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Wallet export/import compatibility issues?
« Reply #4 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'
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline vikram

Re: Wallet export/import compatibility issues?
« Reply #5 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

 

Google+