Skip to content

Error when saving the configuration #16343

@CyrilleB79

Description

@CyrilleB79

Steps to reproduce:

  • Open Notepad
  • Create a profile for this application
  • Change a parameter in this profile, e.g. the synthesizer, and save the config with NVDA+control+C
  • Change a second parameter in this profile, e.g. punctuation level, but this time, do not save it.
  • Delete the Notepad profile
  • Save NVDA's config with NVDA+control+C

Actual behavior:

The following error is logged:

ERROR - unhandled exception (17:14:47.388) - MainThread (13432):
Traceback (most recent call last):
  File "wx\core.pyc", line 3427, in <lambda>
  File "gui\blockAction.pyc", line 72, in funcWrapper
  File "gui\__init__.pyc", line 212, in onSaveConfigurationCommand
  File "config\__init__.pyc", line 718, in save
KeyError: 'notepad'

Expected behavior:

No error logged

NVDA logs, crash dumps and other attachments:

Provided in actual behaviour description.

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

2024.1rc1

Windows version:

Windows 10 22H2 (AMD64) build 19045.4170

Name and version of other software in use when reproducing the issue:

N/A

Other information about your system:

N/A

Other questions

Does the issue still occur after restarting your computer?

Not tested, probably yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

No

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Not tested

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions