Closed mjsobrep closed 5 years ago
It seems like your boto3 package may be out of date. Could you try running pip3 install -U boto3
and see if that resolves the issue.
Does the following work for you after starting the nodes?
rosservice call /polly SynthesizeSpeech 'hello polly' '' '' '' '' '' '' '' '' [] [] 0 '' '' '' '' '' '' false
Cool, that seemed to solve the problem. I did get a warning when installing that it might cause some problems with breaking compatibility with the aws-cli, but I am not having any problems.
Yes, after escaping the [
and ]
, the service call now works too.
Thanks for the help
I am having problems getting the tts-ros1 code to work. I have permissions setup through the aws-cli and can do something like:
aws polly synthesize-speech --output-format mp3 --voice-id Ivy --text 'hello, this is a test' test.mp3
which will work. I can also run the demo from the polly docs without any problem.Running in kinetic, I have made my own config file to have the region as "us-east-1" and have modified the sample launch file to use the new config file.
I then run the launch file and get logging info that the synthesizer is running, polly is running, sound play is running. I send in a command using the voicer.py, I get some info about the text that was received, that it will use Polly, the request. And then the actual request which will be sent to aws:
But then the request fails to return properly and I get this error:
Any thoughts on what I am doing wrong?