Update eSpeak NG submodule to the latest master and try to build NVDA.
espeak_compileDict_buildAction(["include\espeak\espeak-ng-data\ur_dict"], ["include\espeak\dictsource\ur_list", "include\espeak\dictsource\ur_rules"])
Can't read dictionary file: 'C:\Users\Lukasz\nvda\include\espeak/espeak-ng-data\ur_dict'
Using phonemetable: 'ur'
Compiling: 'C:\Users\Lukasz\nvda\include\espeak\dictsource/ur_list'
3028 entries
Compiling: 'C:\Users\Lukasz\nvda\include\espeak\dictsource/ur_rules'
1488 rules, 62 groups (44)
Install file: "include\espeak\espeak-ng-data\ur_dict" as "source\synthDrivers\espeak-ng-data\ur_dict"
espeak_compileDict_buildAction(["include\espeak\espeak-ng-data\ar_dict"], ["include\espeak\dictsource\ar_listx", "include\espeak\dictsource\ar_list", "include\espeak\dictsource\ar_rules"])
Error: The requested functionality has not been built into espeak-ng.
scons: *** [include\espeak\espeak-ng-data\ar_dict] ValueError : 2 is not a valid espeak_ng_STATUS
ValueError: 2 is not a valid espeak_ng_STATUS
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Lukasz\nvda\.venv\lib\site-packages\SCons\Action.py", line 1279, in execute
result = self.execfunction(target=target, source=rsources, env=env)
File "C:\Users\Lukasz\nvda\build\x86\espeak\sconscript", line 325, in espeak_compileDict_buildAction
f"Failed to compile dictionary: '{target}'"
File "C:\Python37\lib\enum.py", line 315, in __call__
return cls.__new__(cls, value)
File "C:\Python37\lib\enum.py", line 569, in __new__
raise exc
File "C:\Python37\lib\enum.py", line 553, in __new__
result = cls._missing_(value)
File "C:\Python37\lib\enum.py", line 582, in _missing_
raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 2 is not a valid espeak_ng_STATUS
scons: building terminated because of errors.
Deactivating NVDA Python virtual environment
Steps to reproduce:
Update eSpeak NG submodule to the latest master and try to build NVDA.
Actual behavior:
Build fails with the following output:
Expected behavior:
Build succeeds
System configuration
NVDA installed/portable/running from source:
From source
NVDA version:
Latest master
Windows version:
N/A
Name and version of other software in use when reproducing the issue:
N/A
Other information about your system:
N/A
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.
N/A
If NVDA add-ons are disabled, is your problem still occurring?
N/A
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
N/A
Technical:
I've bisected the issue and it was introduced by espeak-ng/espeak-ng@572fe31
Frankly I do not understand why it affects us since we do not use Mbrola at all but perhaps the fact that we're excluding Mbrola files is the culprit here.
cc @sthibaul Since the eSpeak NG commit was written by you perhaps you have some ideas?