Plugin Error

Posted on
Fri Apr 14, 2017 5:46 pm
aldera offline
User avatar
Posts: 188
Joined: Aug 30, 2016
Location: Michigan, USA

Plugin Error

Hello,

Whenever a trigger event occurs that has an action of "Sonos: group announcement MP3 (Sonos Actions)", I get the following error:

Code: Select all
   Apr 14, 2017, 7:35:52 PM
   Trigger                         tOfficeDoorOpens
   Pushover Debug                 
   Z-Wave                          sent "Module_Indoor_MasterBedroom " on
   Pushover Debug                  The office door was just opened.
   Pushover Debug                 
   Pushover Debug                 
   Z-Wave                          sent "Light_Hallway" on
   Sonos                           Announcement: FILE [office door just opened.mp3], Volume: 50
   Sonos                           remove zone from group: SonosSpeaker_BackBedroom
   Sonos                           remove zone from group: SonosSpeaker_Kitchen
   Sonos                           remove zone from group: SonosSpeaker_MasterBedroom
   Sonos                           remove zone from group: SonosSpeaker_Office
   Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 198, in actionZP_announcementMP3
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1814, in actionAnnouncement
KeyError: key id 705012413 not found in database

   Email Sent                      to "xxxxx@xxxxxx.com"; subject "Office Door Just Opened"

Apr 14, 2017, 7:36:28 PM
   Trigger                         tBeaconEvent_Arriving
   Sonos                           Announcement: FILE [ralph arriving home.mp3], Volume: 50
   Sonos                           remove zone from group: SonosSpeaker_Office
   Sonos                           remove zone from group: SonosSpeaker_MasterBedroom
   Sonos                           remove zone from group: SonosSpeaker_Kitchen
   Sonos                           remove zone from group: SonosSpeaker_BackBedroom
   Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 198, in actionZP_announcementMP3
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1814, in actionAnnouncement
KeyError: key id 1284425401 not found in database

   Email Sent                      to "xxx@xxxxxx.com"; subject "Mail Delivered"


I've reloaded the plugin, v1.0.2. The mp3 files that are being called are in the designated directory. Any ideas? Thanks.

Posted on
Mon Apr 17, 2017 5:52 pm
aldera offline
User avatar
Posts: 188
Joined: Aug 30, 2016
Location: Michigan, USA

Re: Plugin Error

To troubleshoot this problem, I ended up rebuilding my Sonos system. After doing this and loading the latest version, v1.0.3, I get the following error message when a trigger activates a sonos group announcement:

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

Traceback (most recent call last):
  File "plugin.py", line 198, in actionZP_announcementMP3
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1905, in actionAnnouncement
UnboundLocalError: local variable 'l2p' referenced before assignment


Any suggestions on what this might be? Thanks.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests