Skip to content

_get_mathMl fails to get MathML #18766

@davidcarlisle

Description

@davidcarlisle

Steps to reproduce:

With MathCAT add on installed, read any PDF file with tagged MathML in acrobat or Foxit,

Actual behavior:

With read-all the math is not read and an exception is shown in the log

Expected behavior:

The PDDom query should succeed and pass the MathML to MathCAT

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

NVDA installed version

NVDA version:

Log file from 2025.2 although same originally seen with 2025.3 beta

Windows version:

11

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

Foxit 2025.2.0.33046
MathCAT 0.6.10 installed from nvda (also occurs with 0.7.x installed directly from @NSoiffer 's github)

Other information about your system:

I think the problem started after a foxit update but persists after uninstalling Foxit and testing with acrobat, and after completely uninstalling NVDA and re-installing

(I say "think" as I updated foxit and also nvda to 2025.3 beta at the same time, and things broke, but stayed broken even after reverting both programs, so I can not be sure exactly which update causes this)

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.

Yes originally observed with 2025.3beta but still now shows with 2025.2

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

Only MathCAT is installed, which is needed to see the issue.

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

I think so, running this is a bit tricky as I'm not aware of a commandline call.

Due to company policies I need to install nvda under Windows "elevated access" but run it and other applications as normal user.

This means (for example) to uninstall nvda (as I have done while testing this) I can't use the "uninstall" menu as it prompts for admin password, but I can run the nvda uninstall program from program files x86 under elevated access.

the com registration fix appeared to run if I start nvda under elevated access just to select that option.

It had no observable effect on behaviour.

Given that this behaviour wasn't observable on this machine previously but now is observable even after full uninstall and re-install, is there a registry setting that is being used here or some other global setting that is not cleared by uninstall?

It is observable with any pdf file that has math tagged with mathml, but a small example is attached

It reads

text and math

when it should read

text and math fraction x over y end fraction

(or similar, depending on mathcat settings)

test-af.pdf

nvda.log

basically any math produces a log that looks like

Speaking [LangChangeCommand ('en_US'), 'August 11, 2025', CallbackCommand(name=say-all:lineReached)]
DEBUGWARNING - NVDAObjects.IAccessible.adobeAcrobat.AcrobatNode.initOverlayClass (10:41:51.981) - MainThread (15156):
FAILED: QueryService(SID_GetPDDomNode, IGetPDDomNode)
DEBUGWARNING - NVDAObjects.IAccessible.adobeAcrobat.AcrobatNode.initOverlayClass (10:41:51.981) - MainThread (15156):
FAILED: get_PDDomNode
DEBUGWARNING - NVDAObjects.IAccessible.adobeAcrobat.AcrobatNode._get_mathMl (10:41:51.981) - MainThread (15156):
_get_mathMl: self.pdDomNode is None!

So the PDDom query fails with both acrobat and foxit

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/adobe/acrobatfeature/mathp2https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions