-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update eSpeak NG used with NVDA #13295
Comments
I don't see how the execution can end up in that part of the code since it's only reached in the |
No - this log has been taken with the clean master branch of the eSpeak NG repo. Reverting 572fe31 allowed eSpeak to build as it should. |
My best guess at this point is that somehow the voice files are parsed incorrectly and somehow end up seeing an |
The following languages compiled fine before "ar":
No - while a next wave of languages compiles build eventually fails in the same way.
Commenting out the following languages results in a successful build: |
Uh. I don't really see a pattern here :) It would be really helpful if somebody could put a breakpoint on the (note: erroneously ending up here doesn't seem like a new thing, if you look at the build logs with the older espeak-ng, you will see that |
(just to make it clear:
doesn't spit any error on Linux, so there must be something misbehaving on Windows) |
This is very unlikely - as discussed above the error in eSpeak was always there it just was not causing a failure before espeak-ng/espeak-ng@572fe31 was introduced.
There were no changes to makefile between the commit of eSpeak we're currently using in master and espeak-ng/espeak-ng@572fe31 which causes a failure so no updates to our sconstruct file were necessary. |
By "fixing" I only meant to make the build pass, I didn't mean a proper fix. My best guess at the moment is that somehow the voice files are getting parsed in a bizarre way that makes somehow the "mbrola" word showing for whatever reason, and thus the mbrola code be hit. That's why a backtrace would be very precious to replace all the "somehow" words in the previous sentence. |
Closes #13295 #Summary of the issue: eSpeak is updated using the steps outlined in espeak.md. Build issues fixed: 1. When a language dictionary fails to compile, an `errno` is raised. our `IntEnum` implementation of `espeak_ng_STATUS` doesn't correctly capture `errno`. Usage of `IntFlag` is required. 1. The dictionary compilation action did not specify the name of the language. This used to be handled by eSpeak implicitly through getting a mapping using the rules path. This is no longer the case for some languages. 1. eSpeak added `CLEANFILES` for certain language dictionary components. This can be mirrored by `env.Clean` or `os.remove`. 1. A PR to eSpeak was created to fix building Malay (ms) espeak-ng/espeak-ng#1225. # Description of user facing changes Added languages: - Belarusian - Luxembourgish - Totontepec Mixe # Description of development approach New languages were added to the compile dictionary.
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?
The text was updated successfully, but these errors were encountered: