BrailleExtender dev version: Error when switching profiles with different Braille tables


Daniel Gartmann
 

 

Hello,

 

I hasten to post a log fragment that I got while running the development version of Braille Extender with NVDA 2019.3 Beta 1, in case it’s relevant.

 

When I switch between profiles that use different Braille tables, this error log is apparently produced and I am getting an error message saying there was an unexpected error and Braille output stops.

 

Do write back if further info is needed. In the meantime, the log is here:

 

INFO - __main__ (11:27:45.812) - MainThread (4664):

Starting NVDA version 2019.3beta1

INFO - core.main (11:27:45.904) - MainThread (4664):

Config dir: C:\Users\Daniel\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (11:27:45.904) - MainThread (4664):

Loading config: C:\Users\Daniel\AppData\Roaming\nvda\nvda.ini

INFO - core.main (11:27:45.964) - MainThread (4664):

Using Windows version 10.0.18362 workstation

INFO - core.main (11:27:45.964) - MainThread (4664):

Using Python version 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 14 2019, 23:09:19) [MSC v.1916 32 bit (Intel)]

INFO - core.main (11:27:45.964) - MainThread (4664):

Using comtypes version 1.1.7

INFO - core.main (11:27:45.964) - MainThread (4664):

Using configobj version 5.1.0 with validate version 1.0.1

INFO - synthDriverHandler.setSynth (11:27:46.260) - MainThread (4664):

Loaded synthDriver vocalizer

INFO - core.main (11:27:46.261) - MainThread (4664):

Using wx version 4.0.3 msw (phoenix) wxWidgets 3.0.5 with six version 1.12.0

INFO - brailleInput.initialize (11:27:46.262) - MainThread (4664):

Braille input initialized

INFO - braille.initialize (11:27:46.263) - MainThread (4664):

Using liblouis version 3.10.0

INFO - braille.initialize (11:27:46.265) - MainThread (4664):

Using pySerial version 3.4

INFO - braille.BrailleHandler.setDisplayByName (11:27:46.269) - MainThread (4664):

Loaded braille display driver noBraille, current display has 0 cells.

INFO - brailleDisplayDrivers.freedomScientific.BrailleDisplayDriver.__init__ (11:27:46.279) - braille._BgThread (4764):

Found Focus 40 connected via custom (\\?\usb#vid_0f4e&pid_0114#0123456#{a5dcbf10-6530-11d2-901f-00c04fb951ed})

INFO - braille.BrailleHandler.setDisplayByName (11:27:46.282) - braille._BgThread (4764):

Loaded braille display driver freedomScientific, current display has 40 cells.

INFO - core.main (11:27:46.390) - MainThread (4664):

Java Access Bridge support initialized

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (11:27:46.398) - _UIAHandler.UIAHandler.MTAThread (15676):

UIAutomation: IUIAutomation6

INFO - external:globalPlugins.brailleExtender.GlobalPlugin.__init__ (11:27:46.703) - MainThread (4664):

BrailleExtender 19.12.15-214605 loaded

INFO - core.main (11:27:46.720) - MainThread (4664):

NVDA initialized

INFO - config.ConfigManager._loadConfig (11:27:57.690) - MainThread (4664):

Loading config: C:\Users\Daniel\AppData\Roaming\nvda\profiles\Udvikling.ini

INFO - synthDrivers.espeak.SynthDriver.__init__ (11:27:57.718) - MainThread (4664):

Using eSpeak NG version b'1.49.3 dev'

INFO - synthDriverHandler.setSynth (11:27:57.760) - MainThread (4664):

Loaded synthDriver espeak

INFO - config.ConfigManager._loadConfig (11:29:09.731) - MainThread (4664):

Loading config: C:\Users\Daniel\AppData\Roaming\nvda\profiles\Engelsk.ini

INFO - synthDriverHandler.setSynth (11:29:09.834) - MainThread (4664):

Loaded synthDriver eloquence

INFO - synthDrivers.espeak.SynthDriver.__init__ (11:30:07.411) - MainThread (4664):

Using eSpeak NG version b'1.49.3 dev'

INFO - synthDriverHandler.setSynth (11:30:07.453) - MainThread (4664):

Loaded synthDriver espeak

ERROR - external:globalPlugins.brailleExtender.patchs.Region.update (11:30:07.554) - MainThread (4664):

Unable to translate with tables: ['louis\\tables\\da-dk-g18.ctb', 'louis\\tables\\braille-patterns.cti']

Details: exception: access violation reading 0x00000000

ERROR - eventHandler.executeEvent (11:30:07.567) - MainThread (4664):

error executing event: gainFocus on <NVDAObjects.Dynamic_UIItemListItemUIA object at 0x081AA810> with extra args of {}

Traceback (most recent call last):

  File "eventHandler.pyc", line 155, in executeEvent

  File "eventHandler.pyc", line 92, in __init__

  File "eventHandler.pyc", line 100, in next

  File "C:\Users\Daniel\AppData\Roaming\nvda\addons\BrailleExtender\globalPlugins\brailleExtender\__init__.py", line 252, in event_gainFocus

    nextHandler()

  File "eventHandler.pyc", line 100, in next

  File "appModules\explorer.pyc", line 337, in event_gainFocus

  File "eventHandler.pyc", line 100, in next

  File "NVDAObjects\__init__.pyc", line 1103, in event_gainFocus

  File "braille.pyc", line 1905, in handleGainFocus

Join nvda-addons@nvda-addons.groups.io to automatically receive all group messages.