View Single Post
Old 12-28-2022, 02:02 PM   #1
rrhpablo
Junior Member
rrhpablo began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2022
Device: none
Error: KeyError language after installing Amazon Polly SAPI

Hi there!
I'm trying to use Amazon Polly voices on Calibre, so I installed the Amazon Polly SAPI software that AWS provides. But after it, I get the following error after trying to choose a voice on Calibre's Viewer:

Code:
calibre, version 6.10.0
ERROR: Excepción no considerada: <b>KeyError</b>:'language'

calibre 6.10  embedded-python: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 3.10.1
Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
Interface language: es
Successfully initialized third party plugins: TTS to MP3 (0, 6, 0)
Traceback (most recent call last):
  File "calibre\gui2\viewer\tts.py", line 92, in action
  File "calibre\gui2\viewer\tts.py", line 134, in configure
  File "calibre\gui2\viewer\tts.py", line 22, in __init__
  File "calibre\gui2\widgets2.py", line 222, in __init__
  File "calibre\gui2\viewer\tts.py", line 26, in setup_ui
  File "calibre\gui2\tts\windows.py", line 274, in config_widget
  File "calibre\gui2\tts\windows_config.py", line 88, in __init__
  File "calibre\gui2\tts\windows_config.py", line 25, in __init__
  File "calibre\gui2\tts\windows_config.py", line 25, in <genexpr>
  File "calibre\gui2\tts\windows_config.py", line 23, in language
KeyError: 'language'
Amazon Polly voices are listed in the Narrator windows 11 app and in Polly Player. Is there something I can do to fix it?
rrhpablo is offline   Reply With Quote