Skip to content

wx.Locale: Aragonese does not have wx.LanguageInfo #9089

@josephsl

Description

@josephsl

Hi,

Reported on NvDA translations mailing list and subsequently confirmed: NVDA 2018.4 fails to start properly if UI language is set to Aragonese.

Steps to reproduce:

  1. Install NVDA 2018.4 and current alpha.
  2. From NVDA settings/General, switch language to "Aragonese" and press Enter, and confirm if asked to restart.

Actual behavior:

The following traceback is recorded:

CRITICAL - main (11:26:22.013):
core failure
Traceback (most recent call last):
File "nvda.pyw", line 233, in
File "core.pyc", line 390, in main
AttributeError: 'NoneType' object has no attribute 'Language'

Expected behavior:

NVDA starts properly with language set to Aragonese.

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

2018.4

Windows version:

Windows 10 Version 1809

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

None

Other information about your system:

None

Other questions

Does the issue still occur after restarting your PC?

Yes

Have you tried any other versions of NVDA?

Yes - alpha.16458.

Technical information:

Not all languages come with wx.LanguageInfo, and Aragonese is one of those that isnt' supported by wxPython natively. Thus see if wxLang itself is something and act accordingly.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions