Japple55 wrote:nlagaros wrote:What version of OS X are you running? The IVONA announcements require Python 2.7.
El Capitan,
Python 2.7.10 (default, Jul 14 2015, 19:46:27)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Japple55 wrote:nlagaros wrote:What version of OS X are you running? The IVONA announcements require Python 2.7.
El Capitan,
Python 2.7.10 (default, Jul 14 2015, 19:46:27)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
wideglidejrp wrote:The Sonos plugin does not show any detail inside of action groups. For lighting and switches, I can see what the device is. For a Sonos Player, I cannot see which one it is. Notice the volume settings for various rooms in the screenshot. When I want to make changes to the volume settings, I can't tell which one is which except by opening the actions. This is not productive. See screenshot.
nlagaros wrote:There should be a file called pyvona.input in the Sonos plugin directory as well as a script called pyvona_voices.py. The script will take the input file, make the call out and create the mp3 announcement. Would you try running that in a terminal and checking the output. The result should be the creation of a file called announcement.mp3 that is greater than zero bytes.
nlagaros wrote:You have to change to the directory with the script in it and run from there.
nlagaros wrote:Don't apologize. I'm a rookie myself. Would you download the latest update to the plugin and try the announcement again? I added a bunch of logging that makes the error pop-out more gracefully. We can examine the error output and hopefully figure out what is going on. Just one note: if it does error out, your Ivona key and password will be printed in the log .. don't want you pasting those in the forum!
Thanks!
Japple55 wrote:nlagaros wrote:Don't apologize. I'm a rookie myself. Would you download the latest update to the plugin and try the announcement again? I added a bunch of logging that makes the error pop-out more gracefully. We can examine the error output and hopefully figure out what is going on. Just one note: if it does error out, your Ivona key and password will be printed in the log .. don't want you pasting those in the forum!
Thanks!
Thanks for the warning. Here is what I got:
Trigger Alexa turn on switch announce to Sonos
Sonos Error IVONA Input: xxx
Sonos Error IVONA Input: xxx
Sonos Error IVONA Input:xxx
Sonos Error IVONA Input: Jennifer
Sonos Error IVONA Input: 400
Sonos Error IVONA Input: medium
Sonos Error IVONA Input: This is a test of Ivona text to speech
Sonos Error IVONA Error: Traceback (most recent call last):
Sonos Error IVONA Error: File "./pyvona_voices.py", line 13, in <module>
Sonos Error IVONA Error: IVONAsentence_break = int(f.readline().rstrip('\n'))
Sonos Error IVONA Error: ValueError: invalid literal for int() with base 10: 'Jennifer'
Japple55 wrote:I assume you're referring to these lines: Sonos Error IVONA Input: xxx
I just ran it again and it appears to be 3 separate lines. Line 1 is the Ivona access key and lines 2 and 3 are the secret code, and they are identical.
Hope that helps.
Jim
nlagaros wrote:Can you check your plugin configuration and make sure you didn't type in the secret code twice - perhaps hidden with a carriage return??Japple55 wrote:I assume you're referring to these lines: Sonos Error IVONA Input: xxx
I just ran it again and it appears to be 3 separate lines. Line 1 is the Ivona access key and lines 2 and 3 are the secret code, and they are identical.
Hope that helps.
Jim
Users browsing this forum: No registered users and 4 guests