Error Message

Posted on
Mon Sep 04, 2017 12:55 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Error Message

I keep getting the following error on the second data line added.

Code: Select all
File "plugin.py", line 6386, in buttonConfirmDeviceStatesCALLBACK
KeyError: ('2',)


Can't get past it.

Posted on
Tue Sep 05, 2017 9:58 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Error Message

could you try this version. I added some debug statements and some error catching.

when you select a new / existing device you MUST click on CONFIRM first

anyway please try this one

Karl
https://www.dropbox.com/s/p625btnmyqcyfa2/INDIGOplotD-v-4-16-23.zip?dl=1

Posted on
Tue Sep 05, 2017 1:36 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Error Message

I'll try tonight. The sequence was : create first field - no problem. Select the add field for my second field, select the device/variable, click on confirm, select the value to record and configure, click on the second confirm button - error message.

Saving the device only saves the first entry.


Sent from my iPhone using Tapatalk

Posted on
Thu Sep 07, 2017 6:51 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Error Message

I am sorry which menu are you in?

-define/select data sources
-simple plot
- create plot

?
Karl

Posted on
Sat Sep 09, 2017 12:23 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Error Message IndigoPlotD

No change with new version

In the menu "Define/Select Data Sources":

create my first data source

1. click on add new data source
2. Select variable
3. click on confirm
4. State = "Value"
5. Measure = "Sum"
6. reset = " daily"
7. nickname = "Heat Duration"
8. confirm
--- data point is saved

Create my second data source
1. click on add new data source
2. Select variable
3. click on confirm
4. State = "Value"
5. Measure = "Sum"
6. reset = " daily"
7. nickname = "AC Duration"
8. confirm
--- data point is not saved
--- the status field at the top of data configuration says "E: DEVICE not selected"

Posted on
Sat Sep 09, 2017 2:21 pm
bkmar1192 offline
Posts: 274
Joined: Sep 12, 2015

Re: Error Message

I seemed to have gotten it to work finally. Not sure what I did though just saved the plugin configuration a couple of times and it finally started working...

Thanks

Posted on
Sat Sep 09, 2017 2:49 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Error Message

Ok will check.


Sent from my iPhone using Tapatalk

Posted on
Sat Sep 09, 2017 3:00 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Error Message

did exactly that .. no (error) message.. I guess we need to wait until it reappears..? don't know what to do if I can not replicate

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests