cryptoadvance / specter-desktop

A desktop GUI for Bitcoin Core optimised to work with hardware wallets
MIT License
793 stars 236 forks source link

Error Importing Wallet File #2034

Open LucidJ12 opened 1 year ago

LucidJ12 commented 1 year ago

Describe the bug When I updated my Specter all my utxo labels disappeared. But I do have the specter-backup as well as the wallet json backup. When attempting to import the wallet json backup with the "import from wallet software" in add new wallet, I get the following error: " Unsupported wallet import format:Invalid \escape: line 1 column 526(char525)"

To Reproduce Steps to reproduce the behavior:

  1. Go to 'add new wallet'
  2. Click on 'import from wallet software'
  3. Choose file
  4. Import wallet_name.json file
  5. Error

Expected behavior My old wallet and labels to be imported

Desktop (please complete the following information):

LucidJ12 commented 1 year ago

I backed up everything suggested, so I have a few files. Where are the utxo labels saved?

LucidJ12 commented 1 year ago

I've importing both the specter-backup folder as well as the wallet.json file. Neither work

moneymanolis commented 1 year ago

This is how a wallet.json with labels looks like for example:

grafik

Seems like there was some sort of formatting error. I just tested importing the labels on master and all works fine.

k9ert commented 1 year ago

There was an issue with importing wallets in the settings-section and that is now solved with #2042 but need to be released. However, it's using the same mechanism than the one with + Add new Wallet --> Import from Wallet Software. But maybe your backup files are broken. In that case it's difficult to help here.