Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: list indices must be integers or slices, not str #5906

Open
TARS-bot opened this issue Jan 23, 2020 · 0 comments
Open

TypeError: list indices must be integers or slices, not str #5906

TARS-bot opened this issue Jan 23, 2020 · 0 comments
Labels
topic-walletstorage 💾 not wallet itself but storage/db-related

Comments

@TARS-bot
Copy link

TARS-bot commented Jan 23, 2020

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

  File "/usr/lib64/python3.6/site-packages/electrum/gui/qt/__init__.py", line 215, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/electrum/gui/qt/__init__.py", line 239, in start_new_window
    wallet = self._start_wizard_to_select_or_create_wallet(path)
  File "/usr/lib64/python3.6/site-packages/electrum/gui/qt/__init__.py", line 294, in _start_wizard_to_select_or_create_wallet
    wallet = Wallet(storage)
  File "/usr/lib64/python3.6/site-packages/electrum/wallet.py", line 1995, in __new__
    wallet = WalletClass(storage)
  File "/usr/lib64/python3.6/site-packages/electrum/wallet.py", line 1826, in __init__
    Deterministic_Wallet.__init__(self, storage)
  File "/usr/lib64/python3.6/site-packages/electrum/wallet.py", line 1676, in __init__
    Abstract_Wallet.__init__(self, storage)
  File "/usr/lib64/python3.6/site-packages/electrum/wallet.py", line 214, in __init__
    self.storage.db.load_addresses(self.wallet_type)
  File "/usr/lib64/python3.6/site-packages/electrum/json_db.py", line 745, in load_addresses
    self.data['addresses'][name] = []

TypeError: list indices must be integers or slices, not str

Reporter

This issue was reported by 1 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
3.3.8 3.6.10 (default, Jan 7 2020, 14:09:28) [GCC 9.1.0] Linux-5.1.0-gentoo-ppc64le-POWER9,_altivec_supported-with-gentoo-2.6 standard en_US

Additional Information

Open old wallet file from previous installation, much older than current.


@SomberNight SomberNight added the topic-walletstorage 💾 not wallet itself but storage/db-related label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-walletstorage 💾 not wallet itself but storage/db-related
Projects
None yet
Development

No branches or pull requests

2 participants