Amazon Polly - Voices do not appear in Control Panel in Windows, and Exception error occurs when running Polly Player

0

I've followed the instructions for installing the Polly plugin (https://docs.aws.amazon.com/polly/latest/dg/install-voice-plugin2.html) but the voices are not listed in the Polly Player or in the Control Panel.

When I run "aws --profile polly-windows polly describe-voices" at the command prompt, the voices do appear.

Any idea why the voices are not available?

FYI, when I type text and click "Say It" in the Polly Player, I get the following error:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at PollyPlayer.MainForm.SayItButton_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4614.0 built by: NET48REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

PollyPlayer Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/Amazon%20Polly%20TTS%20for%20Windows/PollyPlayer.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4550.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4605.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

CrowdStrike.Sensor.ScriptControl Assembly Version: 6.51.16510.0 Win32 Version: 6.51.16510.0 CodeBase: file:///C:/WINDOWS/System32/CrowdStrike.Sensor.ScriptControl16510.dll

System.Speech Assembly Version: 4.0.0.0 Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll

************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

<configuration> <system.windows.forms jitDebugging="true" /> </configuration>

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

asked 10 months ago487 views
1 Answer
0

Hello,

Thank you for contacting us.

Please see the exact steps mentioned below, which are recommended to follow in order to see the Polly voices under Windows speech properties and within Polly Player. [1]


  1. Create a IAM User for the AWS client.
  2. Download the AWS CLI MSI installer for Windows (64-bit). [2]
  3. Then, create a profile for AWS Client and verify the profile by running the "aws --profile polly-windows polly describe-voices" command. This should display the list of available Amazon Polly voice names.
  4. Next, install Amazon Polly for Windows plug-in. [1]
  5. Under Control Panel, search for speech properties.
  6. Change text to speech.
  7. Under the voice selection drop-down, the Polly voices should appear.

I request that you re-check the steps taken from your side vs. the steps listed above and see if it helps resolve the issue.

Moreover, according to the articles in the links [3] and [4], a similar issue has been previously observed. It seems that it was due to the 32- or 64-bit engines or an issue with downloading the CLI installation after the plugin. Therefore, I request that you try the following:

  1. Try reinstalling the appropriate AWS CLI MSI installer for Windows 32-bit or 64-bit.
  2. Try installing the CLI before the plugin and check if you face the same issue.

I hope the above information helps you. In case you still continue to face the issue, I recommend that you consider opening a case with AWS Support [5] so that our engineers can help you further.

Thank you.

References: [1] Installing and Configuring Amazon Polly for Windows (SAPI): https://docs.aws.amazon.com/polly/latest/dg/install-voice-plugin2.html [2] Install, Update, and Uninstall the AWS CLI version 1 on Windows: https://docs.aws.amazon.com/cli/v1/userguide/install-windows.html#msi-on-windows
[3] Voices appear in CLI but not in Polly Player (or Windows Voices): https://github.com/awslabs/amazon-polly-tts-for-windows/issues/3 [4] AWS Polly TTS for Windows 10 SAPI - voices not appearing in control panel: https://stackoverflow.com/questions/61595513/aws-polly-tts-for-windows-10-sapi-voices-not-appearing-in-control-panel
[5] https://support.console.aws.amazon.com/

AWS
answered 10 months ago
  • Thank you for your assistance. We followed the above steps and unfortunately the issue still persists. Any other thoughts on why this might be happening? (I don't even need Polly Player installed - I just need the voices available in Windows so I can use them in Captivate!) Thank you.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions