Closed
Description
Steps to reproduce:
- Launch NVDA with the following command line:
nvda --lang=windows
- Press NVDA+ctrl+G to open the General settings
Actual behavior:
- The General settings window does not open
- Error sound is heard
Expected behavior:
General settings panel opens without error
NVDA logs, crash dumps and other attachments:
ERROR - unhandled exception (00:08:25.608) - MainThread (38744):
Traceback (most recent call last):
File "wx\core.pyc", line 3407, in <lambda>
File "gui\__init__.pyc", line 230, in onGeneralSettingsCommand
File "gui\blockAction.pyc", line 60, in funcWrapper
File "gui\__init__.pyc", line 166, in _popupSettingsDialog
File "gui\settingsDialogs.pyc", line 464, in __init__
File "gui\settingsDialogs.pyc", line 194, in __init__
File "gui\settingsDialogs.pyc", line 4131, in makeSettings
File "gui\settingsDialogs.pyc", line 533, in makeSettings
File "gui\settingsDialogs.pyc", line 642, in _doCategoryChange
File "gui\settingsDialogs.pyc", line 570, in _getCategoryPanel
File "gui\settingsDialogs.pyc", line 328, in __init__
File "gui\settingsDialogs.pyc", line 338, in _buildGui
File "gui\settingsDialogs.pyc", line 727, in makeSettings
IndexError: list index out of range
Additional notes
In the console:
>>> import globalVars
>>> globalVars.appArgs.language
'fr_FR'
So Windows indicates it uses fr_FR, but NVDA's translation corresponding language is only 'fr', i.e. no country code.
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
2022.4beta3
Windows version:
Windows 10 2004 (x64) build 19041.388
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?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
2022.1; same issue
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, but unrelated.