spesmilo / spesmilo/electrum

KeyError: 'trustedcoin_go_online'

Open
#9,191 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug 🐞 topic-wizard 🧙‍♂️
Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Crash Report

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

Traceback

Traceback (most recent call last):
  File "electrum\gui\qt\wizard\wizard.py", line 211, in on_next_button_clicked
  File "electrum\gui\qt\wizard\wizard.py", line 239, in is_last
  File "electrum\wizard.py", line 144, in is_last_view
  File "electrum\plugins\trustedcoin\qt.py", line 307, in <lambda>
    'last': lambda d: not d['trustedcoin_go_online'] and wizard.is_single_password()
KeyError: 'trustedcoin_go_online'

KeyError: 'trustedcoin_go_online'

Reporter

This issue was reported by 1 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.5.5 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.22635-SP0 de_DE

Additional Information

The reporting user(s) did not provide additional information.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with electrum/gui/qt/wizard/wizard.py around on_next_button_clicked and is_last, then follow electrum/wizard.py:is_last_view into electrum/plugins/trustedcoin/qt.py around line 307. Reproduce the reported wizard flow and inspect how the trustedcoin_go_online value is populated; done means that flow no longer raises KeyError and the relevant wizard behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.