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

AssertionError #287

Closed
baby636-sketch opened this issue Apr 24, 2023 · 1 comment · Fixed by #295
Closed

AssertionError #287

baby636-sketch opened this issue Apr 24, 2023 · 1 comment · Fixed by #295

Comments

@baby636-sketch
Copy link

Description

Traceback

Traceback (most recent call last):
  File "electrumabc_gui\qt\main_window.py", line 1132, in timer_actions
  File "electrumabc_gui\qt\main_window.py", line 1325, in _update_wallet
  File "electrumabc_gui\qt\util.py", line 1471, in wrapper
  File "electrumabc_gui\qt\util.py", line 1406, in invoke
  File "electrumabc_gui\qt\util.py", line 1283, in invoke
  File "electrumabc_gui\qt\util.py", line 1298, in _invoke
  File "electrumabc_gui\qt\util.py", line 1336, in _doIt
  File "electrumabc_gui\qt\util.py", line 1425, in _call_func_for_all
  File "electrumabc_gui\qt\main_window.py", line 1337, in update_tabs
  File "electrumabc_gui\qt\main_window.py", line 2332, in update_completions
  File "electrumabc_gui\qt\main_window.py", line 2326, in get_contact_payto
AssertionError

System information

  • Electrum ABC version: 5.2.2
  • Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)]
  • Operating system: Windows-10-10.0.22000-SP0
  • Wallet type: imported_privkey
  • Locale: de_DE
@PiRK
Copy link
Collaborator

PiRK commented May 12, 2023

My guess would be that this is related to the removal of CashAccounts in #249, but I'm not sure what triggered the error exactly.

Are the CashAccounts saved in the config file somehow? Or did an unofficial plugin trigger this ?

@PiRK PiRK closed this as completed in #295 May 12, 2023
PiRK added a commit that referenced this issue May 12, 2023
This should fix #287. An old (pre-eCash) wallet file could contain CashAcount contacts, and when I removed the CashAccount feature in #249 I did not guard against loading such contacts from the wallet file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants