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: Import wallet error  (Read 555 times)

0 Members and 1 Guest are viewing this topic.

Offline NWOFinancial

  • Newbie
  • *
  • Posts: 7
    • View Profile
Import wallet error
« on: August 22, 2014, 06:46:31 PM »

When I try and import my exported backup wallet (on a usb drive), I get the error. "Failed to restore wallet backup. Your original wallet has been restored. Error: Bad Cast (7) Invalid cast from type 'string_type' to Object.

This is on a windows 8, running 0.4.5. It should be known that I tried to import this wallet into the same computer (after having fully un-installed Bitsharex), after reinstalling Bitsharex. How to proceed? Thanks


I even tried to import this wallet backup on a separate computer (mac), and I got the same error.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12267
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Import wallet error
« Reply #1 on: August 22, 2014, 07:16:09 PM »
could you explain briefly what exactly you are doing?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline mf-tzo

  • Hero Member
  • *****
  • Posts: 1695
    • View Profile
Re: Import wallet error
« Reply #2 on: August 22, 2014, 07:28:28 PM »
I am also having the same error..but in addittion i can't synchronize and the system crashes...

previous versions were working just fine...what happened now??

Offline NWOFinancial

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Import wallet error
« Reply #3 on: August 22, 2014, 07:33:40 PM »
What I am doing is attempting to import my backed up wallet (Json file), onto Bitsharesx. When I attempt to do so, I get the aforementioned error.

From the beginning
1. Install bitsharex (.0.4.5), Make account
2. Deposit BTSx and register.
3. export Backup wallet file onto a USB.
4. Uninstall Bitsharex (all of it, including the information in Appdata)
5. Reinstall Bitsharex
6. Attempt to import wallet file--> "Error: Bad Cast (7) Invalid cast from type 'string_type' to Object.

This error occurred even when I installed the program on a separate computer and tried to import the wallet...

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12267
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Import wallet error
« Reply #4 on: August 22, 2014, 07:38:16 PM »
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline NWOFinancial

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Import wallet error
« Reply #5 on: August 22, 2014, 07:46:34 PM »
This is a separate file error then the one mentioned in the link, and the link does not describe what file or path, would need to be changed. Also, it doesn't work on either Mac or PC, and in both cases, I'm opening the Json file from the dialogue box, which contains no file path.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12267
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Import wallet error
« Reply #6 on: August 22, 2014, 07:57:31 PM »
This is a separate file error then the one mentioned in the link, and the link does not describe what file or path, would need to be changed. Also, it doesn't work on either Mac or PC, and in both cases, I'm opening the Json file from the dialogue box, which contains no file path.
sorry ... i am not .. no idea ... never really used the GUI :(

maybe some else can help!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 584
    • View Profile
Re: Import wallet error
« Reply #7 on: August 22, 2014, 10:29:19 PM »
>>> approve bitcoiners

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12267
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Import wallet error
« Reply #8 on: August 23, 2014, 08:35:09 AM »
check this out:
https://bitsharestalk.org/index.php?topic=7281.msg98454#msg98454


the devs might consider adding a 'fail-safe' to prevent users from doing what you are trying to do (i guess)
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline vikram

Re: Import wallet error
« Reply #9 on: August 23, 2014, 07:29:05 PM »
I am looking into this. I suspect it is only a problem with backups created on Windows. Can anyone confirm whether backup import works correctly for them with backups created on Mac or Linux?

Offline vikram

Re: Import wallet error
« Reply #10 on: August 23, 2014, 08:09:40 PM »
When I try and import my exported backup wallet (on a usb drive), I get the error. "Failed to restore wallet backup. Your original wallet has been restored. Error: Bad Cast (7) Invalid cast from type 'string_type' to Object.

This is on a windows 8, running 0.4.5. It should be known that I tried to import this wallet into the same computer (after having fully un-installed Bitsharex), after reinstalling Bitsharex. How to proceed? Thanks


I even tried to import this wallet backup on a separate computer (mac), and I got the same error.

I have found the problem and backup creation on Windows will be fixed in 0.4.8.

To recover your existing backup, open the backup file in a text editor like Notepad and scroll all the way to the end. There is an extra comma at the end of the file; the last two lines will look like this:
Code: [Select]
},
]

Delete that comma and save the file, and let us know if you can successfully import after doing this.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12267
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Import wallet error
« Reply #11 on: August 23, 2014, 08:56:24 PM »
Oh boy .. that bug is stupid .. good to have it fixed ..
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+