Weird error message

jmdraper
Posts: 103
Joined: Thu Sep 11, 2014 3:49 pm
Location: Surrey, UK

Weird error message

Post by jmdraper »

I have a super conditions action set up that appears to be functioning properly but every time it runs, it produces this error message in the logs. Any ideas what's wrong? Thanks!

Code: Select all

   EPS - Super Conditions Error    Exception in conditions.conditionEquals line 520: invalid literal for int() with base 10: ''
							 CODE: devEx = indigo.devices[int(propsDict["device" + str(index)])]
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Weird error message

Post by Colorado4Wheeler »

I need to give a bit of love to an update for Super Conditions and Powermiser. That being said, from looking at the code block that message refers to it looks like perhaps that device you were once referencing in that condition may no longer exist. Is it possible you changed or removed something the condition was looking to? I need to go through some of these and try to (forgive the phrase) idiot proof the code a bit to look specifically for things like this rather than pop a generic message.
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
bsp9493
Posts: 153
Joined: Thu Nov 30, 2017 12:09 pm
Location: Kelowna, BC

Re: Weird error message

Post by bsp9493 »

I too have recently been getting a strange error message... I'm guessing it is related.

Anything I need to worry about?

See below

Code: Select all

 EPS - Super Conditions Error    Exception in plugcache._parsePlist line 585: [Errno 2] No such file or directory: u'/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin/Contents/Info.plist'
							 CODE: plist = open(path + "/Contents/Info.plist")

   EPS - Super Conditions Error    Exception encountered with /Library/Application Support/Perceptive Automation/Indigo 7/Plugins/EPS Homebridge.indigoPlugin (this error is NOT critical)
   EPS - Super Conditions Error    Exception in plugcache.refresh line 534: 'key id not found in dict'
							 CODE: if plugInfo["id"] == self.factory.plugin.pluginId:
Thanx

dave
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Weird error message

Post by Colorado4Wheeler »

That's nothing to worry about, and will only pop up when you start the plugin. Interesting it's bombing on the HKB plugin, I'll have to look into that one.
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
Post Reply

Return to “Super Conditions (IF-THEN-ELSE)”