Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
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
Old 12-28-2022, 03:17 PM   #2
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,002
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
It's cloud based thus all is sent to Amazon and speech returned. Severe issues of privacy and needing always on Broadband. You also need an AWS account.

Install a local TTS for your OS for Calibre to use.

Even Spying Google allows a standalone speech engine on Android which works very well in the Pocketbook app to read epubs.
Quoth is offline   Reply With Quote
Advert
Old 12-28-2022, 10:13 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,337
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
wait for the next release: https://github.com/kovidgoyal/calibr...1d5f740549de7a
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing error cmgam Calibre 4 04-02-2022 02:52 PM
Error installing 5.28.0 Binome Calibre 3 09-29-2021 11:18 AM
Merge - is producing an error - KeyError: None cgrapski Library Management 3 05-15-2021 04:09 PM
Calibre error: KeyError: u'test1' deddajay Calibre 3 01-28-2018 10:50 AM
error installing gbkgbk Calibre 1 06-03-2009 12:32 PM


All times are GMT -4. The time now is 05:57 PM.


MobileRead.com is a privately owned, operated and funded community.