Skip to content

Liblouis seems unstable on 64 bit builds of NVDA #19025

@LeonarddeR

Description

@LeonarddeR

Brief summary

Once in a while when starting a 64 bit build of NVDA with Braille, Braille seems stuck and liblouis generates errors.

Steps to reproduce

Start NVDA

Actual behavior

Errors, Braille doesn't work at all or starts working after a period of time

Expected behavior

NO errors, working braille

NVDA logs, crash dumps and other attachments

ERROR - Exception ignored on calling ctypes callback function <function louis_log at 0x0000022FCEA198A0>: None (13:54:49.127) - MainThread (34084):
Traceback (most recent call last):
  File "louisHelper.pyc", line 117, in louis_log
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 19: ordinal not in range(128)
ERROR - liblouis at internal log level 40000 (13:54:49.137) - MainThread (34084):
1 errors found.
ERROR - liblouis at internal log level 40000 (13:54:49.149) - MainThread (34084):
nl-comp8.utb,braille-patterns.cti could not be compiled
ERROR - core.main (13:54:49.157) - MainThread (34084):
Traceback (most recent call last):
  File "core.pyc", line 942, in main
  File "braille.pyc", line 2975, in message
  File "braille.pyc", line 609, in update
  File "louisHelper.pyc", line 155, in translate
  File "louis\__init__.pyc", line 322, in translate
RuntimeError: Can't translate: tables ['nl-comp8.utb', 'braille-patterns.cti'], inbuf b'N\x00\x00\x00V\x00\x00\x00D\x00\x00\x00A\x00\x00\x00 \x00\x00\x00s\x00\x00\x00t\x00\x00\x00a\x00\x00\x00r\x00\x00\x00t\x00\x00\x00e\x00\x00\x00d\x00\x00\x00', typeform None, cursorPos c_long(0), mode 4
INFO - core.main (13:54:49.176) - MainThread (34084):
NVDA initialized
ERROR - Exception ignored on calling ctypes callback function <function louis_log at 0x0000022FCEA198A0>: None (13:54:49.399) - MainThread (34084):
Traceback (most recent call last):
  File "louisHelper.pyc", line 117, in louis_log
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 20: ordinal not in range(128)
ERROR - liblouis at internal log level 40000 (13:54:49.407) - MainThread (34084):
1 errors found.
ERROR - liblouis at internal log level 40000 (13:54:49.416) - MainThread (34084):
nl-comp8.utb,braille-patterns.cti could not be compiled

NVDA type

installed copy, installer/launcher copy

NVDA version

alpha-52937,f535af1f (2026.1.0.52937)

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

Yes, doesn't occur on X86 versions

Windows version

Windows 11 25h2

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

No response

Other information about your system

No response

Does the issue still occur after restarting your computer?

I have not restarted my computer

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

I have restarted NVDA with add-ons disabled and the issue still occurs

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

I have not run the COM Registration Fixing Tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcomponent/braillecomponent/liblouisIssues related to liblouis, such as liblouis updates and braille table additions/changesepic/64bit-migrationp2https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions