Skip to content

NVDA AddOn load/import error on fresh install. #117

Open

Description

@qoala

Trying to figure out why I don't see "MathCAT Settings" in the preferences menu, I finally thought to check NVDA's log for errors, and it turns out the MathCAT plugin I installed from source isn't working. With my level of familiarity, this is pretty opaque, but I'll spend some time digging in to see if I can figure out what's wrong. (If nobody here has seen anything like this and I don't turn up anything myself, then I can escalate this up to the NVDA side)

ERROR - globalPluginHandler.listPlugins (11:43:06.427) - MainThread (20412):
Error importing global plugin MathCAT
Traceback (most recent call last):
  File "globalPluginHandler.pyc", line 23, in listPlugins
  File "importlib\__init__.pyc", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1395, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\Users\edgon\AppData\Roaming\nvda\addons\MathCAT\globalPlugins\MathCAT\__init__.py", line 20, in <module>
    from .MathCAT import MathCAT
  File "C:\Users\edgon\AppData\Roaming\nvda\addons\MathCAT\globalPlugins\MathCAT\MathCAT.py", line 25, in <module>
    from ._libmathcat_loader import libmathcat
  File "C:\Users\edgon\AppData\Roaming\nvda\addons\MathCAT\globalPlugins\MathCAT\_libmathcat_loader.py", line 18, in <module>
    libmathcat = importlib.util.module_from_spec(_spec)
ImportError: DLL load failed while importing libmathcat_py: The specified module could not be found.

I installed the MathCAT addon by building it from source using the steps I described in #115.

The addon failing to load explains my confusion in #114, since I wasn't looking at the addon's settings in the first place.

NVDA version: 2026.2
MathCAT version: cfc8c99 (whatever was HEAD when I built it ~1 month ago)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions