Steps to reproduce:
- Clone NVDA GIT repo
- Run
scons --clean
- Build and run NVDA alpha.
Actual behavior:
Critical error. Here is the log:
Log
INFO - __main__ (18:18:04.681) - MainThread (4004):
Starting NVDA version source-master-1e139d4
INFO - core.main (18:18:04.919) - MainThread (4004):
Config dir: D:\Cyrille\Dev\GIT\nvdaNew\source\userConfig
INFO - config.ConfigManager._loadConfig (18:18:04.919) - MainThread (4004):
Loading config: .\userConfig\nvda.ini
INFO - core.main (18:18:05.036) - MainThread (4004):
Using Windows version 10.0.18362 workstation
INFO - core.main (18:18:05.036) - MainThread (4004):
Using Python version 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 14 2019, 23:09:19) [MSC v.1916 32 bit (Intel)]
INFO - core.main (18:18:05.036) - MainThread (4004):
Using comtypes version 1.1.7
INFO - core.main (18:18:05.036) - MainThread (4004):
Using configobj version 5.1.0 with validate version 1.0.1
CRITICAL - __main__ (18:18:05.451) - MainThread (4004):
core failure
Traceback (most recent call last):
File "source\nvda.pyw", line 215, in
File "core.py", line 256, in main
import appModuleHandler
File "appModuleHandler.py", line 27, in
import NVDAHelper
File "NVDAHelper.py", line 19, in
import eventHandler
File "eventHandler.py", line 9, in
import api
File "api.py", line 19, in
import NVDAObjects.IAccessible
File "NVDAObjects\IAccessible\__init__.py", line 22, in
import IAccessibleHandler
File "IAccessibleHandler.py", line 18, in
import UIAHandler
File "UIAHandler.py", line 11, in
from _UIAHandler import * # noqa: F403
File "_UIAHandler.py", line 29, in
from comtypes.gen import UIAutomationClient as UIA
ImportError: cannot import name 'UIAutomationClient' from 'comtypes.gen' (D:\Cyrille\Dev\GIT\nvdaNew\include\comtypes\comtypes\gen\__init__.py)
Expected behavior:
A build after scons --clean should be able to generate an NVDA version able to start correctly.
System configuration
NVDA installed/portable/running from source:
Source
NVDA version:
Alpha (commit 1e139d4)
Windows version:
Win 10 1903
Name and version of other software in use when reproducing the issue:
Visual Studio 2019.
Other information about your system:
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
Running other versions from source is also failing. I did not succeed in running from source since I have built with VS2019.
Steps to reproduce:
scons --cleanActual behavior:
Critical error. Here is the log:
Log
INFO - __main__ (18:18:04.681) - MainThread (4004): Starting NVDA version source-master-1e139d4 INFO - core.main (18:18:04.919) - MainThread (4004): Config dir: D:\Cyrille\Dev\GIT\nvdaNew\source\userConfig INFO - config.ConfigManager._loadConfig (18:18:04.919) - MainThread (4004): Loading config: .\userConfig\nvda.ini INFO - core.main (18:18:05.036) - MainThread (4004): Using Windows version 10.0.18362 workstation INFO - core.main (18:18:05.036) - MainThread (4004): Using Python version 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 14 2019, 23:09:19) [MSC v.1916 32 bit (Intel)] INFO - core.main (18:18:05.036) - MainThread (4004): Using comtypes version 1.1.7 INFO - core.main (18:18:05.036) - MainThread (4004): Using configobj version 5.1.0 with validate version 1.0.1 CRITICAL - __main__ (18:18:05.451) - MainThread (4004): core failure Traceback (most recent call last): File "source\nvda.pyw", line 215, in File "core.py", line 256, in main import appModuleHandler File "appModuleHandler.py", line 27, in import NVDAHelper File "NVDAHelper.py", line 19, in import eventHandler File "eventHandler.py", line 9, in import api File "api.py", line 19, in import NVDAObjects.IAccessible File "NVDAObjects\IAccessible\__init__.py", line 22, in import IAccessibleHandler File "IAccessibleHandler.py", line 18, in import UIAHandler File "UIAHandler.py", line 11, in from _UIAHandler import * # noqa: F403 File "_UIAHandler.py", line 29, in from comtypes.gen import UIAutomationClient as UIA ImportError: cannot import name 'UIAutomationClient' from 'comtypes.gen' (D:\Cyrille\Dev\GIT\nvdaNew\include\comtypes\comtypes\gen\__init__.py)Expected behavior:
A build after
scons --cleanshould be able to generate an NVDA version able to start correctly.System configuration
NVDA installed/portable/running from source:
Source
NVDA version:
Alpha (commit 1e139d4)
Windows version:
Win 10 1903
Name and version of other software in use when reproducing the issue:
Visual Studio 2019.
Other information about your system:
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
Running other versions from source is also failing. I did not succeed in running from source since I have built with VS2019.