Skip to content

ocr dont work in latest alpha #15148

@mjonsson1986

Description

@mjonsson1986

when you try to do ocr the error log says

ERROR - vision.visionHandler._getProvidersFromFileSystem (19:08:56.997) - MainThread (15564):
Error while importing vision enhancement provider module NVDAHighlighter
Traceback (most recent call last):
File "vision\visionHandler.pyc", line 58, in _getProvidersFromFileSystem
File "vision\visionHandler.pyc", line 36, in getProviderClass
File "importlib_init
.pyc", line 127, in import_module
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in _load_backward_compatible
File "visionEnhancementProviders\NVDAHighlighter.pyc", line 242, in
AttributeError: module 'gui' has no attribute 'AutoSettingsMixin'
ERROR - vision.visionHandler._getProvidersFromFileSystem (19:08:57.012) - MainThread (15564):
Error while importing vision enhancement provider module screenCurtain
Traceback (most recent call last):
File "vision\visionHandler.pyc", line 58, in _getProvidersFromFileSystem
File "vision\visionHandler.pyc", line 36, in getProviderClass
File "importlib_init
.pyc", line 127, in import_module
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in _load_backward_compatible
File "visionEnhancementProviders\screenCurtain.pyc", line 218, in
AttributeError: module 'gui' has no attribute 'AutoSettingsMixin'
ERROR - queueHandler.flushQueue (19:08:57.032) - MainThread (15564):
Error in func VisionHandler.postGuiInit
Traceback (most recent call last):
File "queueHandler.pyc", line 64, in flushQueue
File "vision\visionHandler.pyc", line 96, in postGuiInit
File "vision\visionHandler.pyc", line 119, in _updateAllProvidersList
File "vision\visionHandler.pyc", line 103, in _getBuiltInProviderIds
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in _load_backward_compatible
File "visionEnhancementProviders\NVDAHighlighter.pyc", line 242, in
AttributeError: module 'gui' has no attribute 'AutoSettingsMixin'
ERROR - scriptHandler.executeScript (19:09:10.693) - MainThread (15564):
error executing script: <bound method GlobalCommands.script_recognizeWithUwpOcr of <globalCommands.GlobalCommands object at 0x042DEA10>> with gesture 'NVDA+r'
Traceback (most recent call last):
File "scriptHandler.pyc", line 295, in executeScript
File "globalCommands.pyc", line 4066, in script_recognizeWithUwpOcr
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in _load_backward_compatible
File "visionEnhancementProviders\screenCurtain.pyc", line 218, in
AttributeError: module 'gui' has no attribute 'AutoSettingsMixin'
it worked fine before this alpha version

Steps to reproduce:

Actual behavior:

Expected behavior:

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

NVDA version:

Windows version:

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?

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

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

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

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