Skip to content

ModuleNotFoundError: No module named 'comtypes.gen.MathPlayer' when import MathPlayer module #12281

@tsengwoody

Description

@tsengwoody

Steps to reproduce:

  1. Activates the NVDA Python Console
  2. input "from mathPres.mathPlayer import MathPlayer"

NVDA Python Console show "ModuleNotFoundError: No module named 'comtypes.gen.MathPlayer'module"

Actual behavior:

NVDA Python Console show "ModuleNotFoundError: No module named 'comtypes.gen.MathPlayer' when import MathPlayer module"

Expected behavior:

NVDA Python Console should import and no error

System configuration

NVDA installed/portable/running from source:

NVDA portable/NVDA running from source

NVDA version:

NVDA portable(nvda_snapshot_alpha-22260,62eaba52)
NVDA running from source(commit 62eaba5)

Windows version:

Windows 7 SP1/Windows 10 pro 20H2 (19042.867)

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

Other information about your system:

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, it worked in NVDA 2020.4.

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

Yes

Did you try to run the COM registry fixing tool in NVDA menu / tools?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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