.98 Announcement problems

Posted on
Tue May 17, 2016 6:04 pm
roussell offline
User avatar
Posts: 1108
Joined: Aug 18, 2008
Location: Alabama

.98 Announcement problems

Hey Nick, just installed 0.98 and thought I'd give announcements a try. I've played with them before but never had a real need until now. Anyway, I had Ivona working once before but now when I try A time speak "Test" to a ZP, I get he following error:

Code: Select all
Sonos Error                     IVONA Input: GDNAJ6JF4Y2FDZB452TA
  Sonos Error                     IVONA Input: Ti9n3mWGKmcikhCyozbaF7DqYTcOxh8Atv+LGrU2
  Sonos Error                     IVONA Input: Emma
  Sonos Error                     IVONA Input: 400
  Sonos Error                     IVONA Input: medium
  Sonos Error                     IVONA Input: This is a test message
  Sonos Error                     IVONA Error: Traceback (most recent call last):
  Sonos Error                     IVONA Error:   File "./pyvona_voices.py", line 31, in <module>
  Sonos Error                     IVONA Error:     v.fetch_voice(announcement, 'announcement')
  Sonos Error                     IVONA Error:   File "./lib/pyvona/pyvona.py", line 109, in fetch_voice
  Sonos Error                     IVONA Error:     raise PyvonaException('Error fetching voice: {}'.format(r.content))
  Sonos Error                     IVONA Error: pyvona.pyvona.PyvonaException: Error fetching voice: {"Message":"Authentication failed"}

Given the "Authentication failed" portion of the error, I thought that my key may have expired so I created a new one and verified that it was entered correctly. Sadly, I still get the same error...

So I thought I'd try Google TTS, but it errors as well:

Code: Select all
  Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 189, in actionZP_announcementMP3
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1627, in actionAnnouncement
  File "./lib/gtts/tts.py", line 94, in save
  File "./lib/gtts/tts.py", line 118, in write_to_fp
  File "./lib/requests/models.py", line 840, in raise_for_status
<class 'requests.exceptions.HTTPError'>: 403 Client Error: Forbidden for url: https://translate.google.com/translate_tts?q=This+is+a+test+message&tl=en&client=t&textlen=22&idx=0&total=1&ie=UTF-8&tk=806343.686528

Any clues as to what I'm doing wrong? I've had this working before, but it's been a while since I played with it. All other Sonos plugin functions seem to work well for the 7 ZPs in my home. I'm running the 0.98 plugin in Indigo 6.1.7 on OS X 10.9.5

Thanks in advance!
Terry

Posted on
Wed May 18, 2016 8:38 am
roussell offline
User avatar
Posts: 1108
Joined: Aug 18, 2008
Location: Alabama

Re: .98 Announcement problems

As an update, I installed the latest Indigo 6.1.9 and rebooted. With no other changes Ivona is working again but I still get the same error above when trying to use Google.

Terry

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests

cron