ERROR:root:Error occured!
Traceback (most recent call last):
File "/home/pi/jasper/jasper.py", line 143, in <module>
app = Jasper()
File "/home/pi/jasper/jasper.py", line 102, in __init__
tts_engine_class = tts.get_engine_by_slug(tts_engine_slug)
File "/home/pi/jasper/client/tts.py", line 665, in get_engine_by_slug
"missing dependencies, etc.)") % slug)
ValueError: TTS engine 'pico-tts' is not available (due to missing dependencies, etc.)
sudo apt-get update sudo apt-get install libttspico-utils
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ERROR:root:Error occured!
Traceback (most recent call last):
File "/home/pi/jasper/jasper.py", line 143, in <module>
app = Jasper()
File "/home/pi/jasper/jasper.py", line 105, in __init__
self.mic = Mic(tts_engine_class.get_instance(),
File "/home/pi/jasper/client/tts.py", line 58, in get_instance
instance = cls(**config)
File "/home/pi/jasper/client/tts.py", line 583, in __init__
self._pyvonavoice = pyvona.Voice(access_key, secret_key)
File "/usr/local/lib/python2.7/dist-packages/pyvona.py", line 234, in __init__
pygame.mixer.init()
error: No available audio device
Test the pico2wave from command line:
pico2wave -l en-GB -w test.wav "it works! "
aplay test.wav
If above will not work, which indicate below didn't work either...
sudo apt-get install libttspico-utils
You need to compile the code for libttspico-utils
mkdir pico_build
cd pico_build
apt-get source libttspico-utils
apt-get source libttspico-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'libttspico-utils' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/collab-maint/svox.git
Need to get 21.6 MB of source archives.
Err http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free svox 1.0+git20110131-2 (dsc)
Could not open file svox_1.0+git20110131-2.dsc - open (13: Permission denied) [IP: 163.1.221.67 80]
Err http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free svox 1.0+git20110131-2 (tar)
Could not open file svox_1.0+git20110131.orig.tar.gz - open (13: Permission denied) [IP: 163.1.160.163 80]
Err http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy/non-free svox 1.0+git20110131-2 (diff)
Could not open file svox_1.0+git20110131-2.debian.tar.gz - open (13: Permission denied) [IP: 163.1.221.67 80]
Failed to fetch http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/pool/non-free/s/svox/svox_1.0+git20110131-2.dsc Could not open file svox_1.0+git20110131-2.dsc - open (13: Permission denied) [IP: 163.1.221.67 80]
Failed to fetch http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/pool/non-free/s/svox/svox_1.0+git20110131.orig.tar.gz Could not open file svox_1.0+git20110131.orig.tar.gz - open (13: Permission denied) [IP: 163.1.160.163 80]
Failed to fetch http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/pool/non-free/s/svox/svox_1.0+git20110131-2.debian.tar.gz Could not open file svox_1.0+git20110131-2.debian.tar.gz - open (13: Permission denied) [IP: 163.1.221.67 80]
E: Failed to fetch some archives.
tts_engine: pico-tts
voice: 'Victoria'