Topics

comtypes/gen empty


derek riemer
 

I'm getting the following error, and comtypes/gen/ is empty besides the stub file. DOes anyone have a clue how to continue?
CRITICAL - external:__main__ (01:52:02.816) - MainThread (5800):
core failure
Traceback (most recent call last):
  File "C:/Users/driem/nvda\source\nvda.pyw", line 215, in <module>
    core.main()
  File "core.py", line 256, in main
    import appModuleHandler
  File "appModuleHandler.py", line 27, in <module>
    import NVDAHelper
  File "NVDAHelper.py", line 19, in <module>
    import eventHandler
  File "eventHandler.py", line 11, in <module>
    import api
  File "api.py", line 19, in <module>
    import NVDAObjects.IAccessible
  File "NVDAObjects\IAccessible\__init__.py", line 22, in <module>
    import IAccessibleHandler
  File "IAccessibleHandler\__init__.py", line 26, in <module>
    import UIAHandler
  File "UIAHandler.py", line 11, in <module>
    from _UIAHandler import *  # noqa: F403
  File "_UIAHandler.py", line 29, in <module>
    from comtypes.gen import UIAutomationClient as UIA
ImportError: cannot import name 'UIAutomationClient' from 'comtypes.gen' (C:\Users\driem\nvda\include\comtypes\comtypes\gen\__init__.py)


--
Derek Riemer
Improving the world one byte at a time!        ⠠⠊⠍⠏⠗⠕⠧⠬ ⠮ ⠸⠺ ⠐⠕ ⠃⠽⠞⠑ ⠁⠞ ⠁ ⠐⠞⠖
•    Accessibility enthusiast.
•    Proud user of the NVDA screen reader.
•    Open source enthusiast.
•    Skier.

•    Personal website: https://derekriemer.com





derek riemer
 

never mind. I deleted a file in source/comTypes on accident. I just did a git checkout source/comTypes/

On Fri, Jul 17, 2020 at 1:53 AM Derek Riemer <driemer.riemer@...> wrote:
I'm getting the following error, and comtypes/gen/ is empty besides the stub file. DOes anyone have a clue how to continue?
CRITICAL - external:__main__ (01:52:02.816) - MainThread (5800):
core failure
Traceback (most recent call last):
  File "C:/Users/driem/nvda\source\nvda.pyw", line 215, in <module>
    core.main()
  File "core.py", line 256, in main
    import appModuleHandler
  File "appModuleHandler.py", line 27, in <module>
    import NVDAHelper
  File "NVDAHelper.py", line 19, in <module>
    import eventHandler
  File "eventHandler.py", line 11, in <module>
    import api
  File "api.py", line 19, in <module>
    import NVDAObjects.IAccessible
  File "NVDAObjects\IAccessible\__init__.py", line 22, in <module>
    import IAccessibleHandler
  File "IAccessibleHandler\__init__.py", line 26, in <module>
    import UIAHandler
  File "UIAHandler.py", line 11, in <module>
    from _UIAHandler import *  # noqa: F403
  File "_UIAHandler.py", line 29, in <module>
    from comtypes.gen import UIAutomationClient as UIA
ImportError: cannot import name 'UIAutomationClient' from 'comtypes.gen' (C:\Users\driem\nvda\include\comtypes\comtypes\gen\__init__.py)


--
Derek Riemer
Improving the world one byte at a time!        ⠠⠊⠍⠏⠗⠕⠧⠬ ⠮ ⠸⠺ ⠐⠕ ⠃⠽⠞⠑ ⠁⠞ ⠁ ⠐⠞⠖
•    Accessibility enthusiast.
•    Proud user of the NVDA screen reader.
•    Open source enthusiast.
•    Skier.

•    Personal website: https://derekriemer.com






--
Derek Riemer
Improving the world one byte at a time!        ⠠⠊⠍⠏⠗⠕⠧⠬ ⠮ ⠸⠺ ⠐⠕ ⠃⠽⠞⠑ ⠁⠞ ⠁ ⠐⠞⠖
•    Accessibility enthusiast.
•    Proud user of the NVDA screen reader.
•    Open source enthusiast.
•    Skier.

•    Personal website: https://derekriemer.com