nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.1k stars 634 forks source link

Error in loading sapi5 voice #2005

Closed nvaccessAuto closed 8 years ago

nvaccessAuto commented 12 years ago

Reported by anila on 2011-12-19 05:39 I am trying to run a sapi5 compatible festival based voice in NVDA. It is giving me the following error in the log and not loading the voice. This same voice is working in TTSAPP.exe, the sample application that comes with the Microsoft Speech SDK 5.1. Also in the TTS tab in speech option of control panel, this voice is working. Can anyone please help me to solve this issue.

The log has the following entries, when I load the voice in voice settings.

eventHandler.executeEvent (11:56:49): error executing event: valueChange on <NVDAObjects.IAccessible.ComboBox object at 0x03079BD0> with extra args of {} Traceback (most recent call last): File "eventHandler.pyo", line 80, in executeEvent File "eventHandler.pyo", line 128, in executeEvent_appModuleLevel File "eventHandler.pyo", line 135, in executeEvent_virtualBufferLevel File "eventHandler.pyo", line 139, in executeEvent_NVDAObjectLevel File "NVDAObjects\IAccessibleinit.pyo", line 996, in event_valueChange File "NVDAObjectsinit.pyo", line 594, in event_valueChange File "speech.pyo", line 255, in speakObjectProperties File "speech.pyo", line 326, in speakText File "synthDrivers\sapi5.pyo", line 117, in speakText File "synthDrivers\sapi5.pyo", line 114, in performSpeak WindowsError: exception: access violation reading 0x00000000 ERROR - eventHandler.executeEvent (11:56:49): error executing event: gainFocus on <NVDAObjects.IAccessible.IAccessible object at 0x02495B30> with extra args of {} Traceback (most recent call last): File "eventHandler.pyo", line 80, in executeEvent File "eventHandler.pyo", line 126, in executeEvent_appModuleLevel File "appModules\nvda.pyo", line 18, in event_gainFocus File "eventHandler.pyo", line 126, in File "eventHandler.pyo", line 135, in executeEvent_virtualBufferLevel File "eventHandler.pyo", line 139, in executeEvent_NVDAObjectLevel File "NVDAObjects\IAccessibleinit.pyo", line 1072, in event_gainFocus File "NVDAObjectsinit.pyo", line 577, in event_gainFocus File "NVDAObjectsinit.pyo", line 526, in reportFocus File "speech.pyo", line 287, in speakObject File "speech.pyo", line 255, in speakObjectProperties File "speech.pyo", line 326, in speakText File "synthDrivers\sapi5.pyo", line 117, in speakText File "synthDrivers\sapi5.pyo", line 114, in performSpeak WindowsError: exception: access violation reading 0x00000000

I am attaching the exe file to install this voice also, the sapi5 code that generated the dll.

nvaccessAuto commented 12 years ago

Comment 1 by anila on 2011-12-19 05:53 Exe file for Sapi5 compatible Kal diphone festival english voice(testing version) and the code used to generate the sapi5 dll for this voice can be downloaded from the following link

http://www.lantana.tenet.res.in/resources-online.php

nvaccessAuto commented 12 years ago

Comment 2 by jteh on 2011-12-28 22:07 This is a bug in the synthesiser. The reason it occurs with NVDA and not with the test applications you mention probably relates to NVDA's use of markup such as setting the pitch, bookmarks, spelling mode, etc.

Also, I don't know what version of NVDA you're using, but it doesn't look like 2011.3 as you specified in the ticket. The sapi5 driver you're using is very old. Please upgrade to at least 2011.3 and test with that. Changes: Added labels: invalid State: closed