|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2024
Device: Steamdeck (Arch Linux)
|
Read Aloud error
I was attempting to setup the 'Read Aloud' feature on Calibre on my Steamdeck when I encountered an error. It keeps giving me a KeyError:'dummy' when I attempt to access the settings, so I am unable to change any of the Text To Speech settings.
I can't seem to find where my settings are saved, or I would simply delete the settings and start over, but I'm unable to locate them on Linux. Code:
calibre, version 7.20.0
ERROR: Unhandled exception: <b>KeyError</b>:'dummy'
calibre 7.20 embedded-python: True
Linux-6.5.0-valve22-1-neptune-65-g9a338ed8a75e-x86_64-with-glibc2.39 Linux ('64bit', 'ELF')
('Linux', '6.5.0-valve22-1-neptune-65-g9a338ed8a75e', '#1 SMP PREEMPT_DYNAMIC Mon, 21 Oct 2024 19:06:57 +0000')
Python 3.11.5
Interface language: None
EXE path: /opt/calibre/bin/calibre-parallel
Traceback (most recent call last):
File "calibre/gui2/viewer/tts.py", line 40, in action
File "calibre/gui2/viewer/tts.py", line 65, in configure
File "calibre/gui2/tts/manager.py", line 222, in configure
File "calibre/gui2/tts/config.py", line 448, in __init__
File "calibre/gui2/widgets2.py", line 267, in __init__
File "calibre/gui2/tts/config.py", line 464, in setup_ui
File "calibre/gui2/tts/config.py", line 467, in set_engine
File "calibre/gui2/tts/config.py", line 385, in set_engine
File "calibre/gui2/tts/config.py", line 397, in rebuild_voices
KeyError: 'dummy'
|
|
|
|
|
|
#2 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2024
Device: Steamdeck (Arch Linux)
|
Of course right after this I find the config folder (home/.config/calibre) anytime I select 'The Speech Dispatcher Engine' as the Text To Speech Engine it begins spitting that error though.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,600
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's caused by having speech dispatcher on your system with only a dummy output module. Uninstall speech dispatcher and you should be fine. Next calibre release will handle this case more gracefully.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Read aloud problem | skil-phil | Viewer | 16 | 10-20-2024 12:35 PM |
| Read-Aloud suggestion | ElectricOutcast | Viewer | 0 | 05-12-2023 10:05 PM |
| Read Aloud in Japanese | magphil | Calibre | 1 | 02-07-2023 11:27 AM |
| Center read text when auto scrolling and Read Aloud | Revolving Pixel | Viewer | 1 | 07-17-2021 09:04 PM |
| KF8 and read-aloud | marcelo2605 | Amazon Fire | 5 | 04-12-2012 01:34 PM |