repeating error repeats

Posted on
Thu Dec 15, 2016 9:19 pm
Different Computers offline
User avatar
Posts: 1832
Joined: Jan 02, 2016
Location: East Coast

repeating error repeats

Restarted the host machine for other reasons and looks like since then I've been getting this over and over. Unsure if this is IndigoplotD or MatplotLib.
Code: Select all
   INDIGOplotD Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Matplotlib                      Your plugin version, v0.2.04, is current.
   Indigo Cocoa client connected
   INDIGOplotD                     initialized
   INDIGOplotD Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 4794, in runConcurrentThread
  File "plugin.py", line 1078, in createPy
AttributeError: 'Plugin' object has no attribute 'gnuPlotBin'

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Fri Dec 16, 2016 11:55 am
kw123 offline
User avatar
Posts: 5726
Joined: May 12, 2013
Location: Dallas, TX

Re: repeating error repeats

see my other post regarding the indioplotD version.. upgrade to ==> 4.16.17

Posted on
Fri Dec 16, 2016 3:46 pm
Different Computers offline
User avatar
Posts: 1832
Joined: Jan 02, 2016
Location: East Coast

Re: repeating error repeats

Little help? Which other post?

Tried searching.

Also, I'm in some strange loop where every time I restart indigoplotD, it launches installgnuplot.scpt but when I run that I get ""xcode-select: error: command line tools are already installed, use "Software Update" to install updates"

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Fri Dec 16, 2016 4:31 pm
kw123 offline
User avatar
Posts: 5726
Joined: May 12, 2013
Location: Dallas, TX

Re: repeating error repeats

here the post:

Different Computers :
Traceback (most recent call last):
File "plugin.py", line 4794, in runConcurrentThread
File "plugin.py", line 1078, in createPy
AttributeError: 'Plugin' object has no attribute 'gnuPlotBin'

That seems to be a very old version(2 years old). This error has nothing to do with anything else but a variable was not declared in indigoplotD.
I suggest to upgrade to the most recent version.: 4.16.17
....

don't know how you got v 3.4, not on the download list anymore ..


Karl

Posted on
Fri Dec 16, 2016 4:54 pm
Different Computers offline
User avatar
Posts: 1832
Joined: Jan 02, 2016
Location: East Coast

Re: repeating error repeats

ha, sorry, I mean a post that explains where the downloads are. Because I can't find a newer version.

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Sat Dec 17, 2016 6:16 am
johnpolasek offline
Posts: 820
Joined: Aug 05, 2011
Location: Aggieland, Texas

Re: repeating error repeats

Different Computers wrote:
ha, sorry, I mean a post that explains where the downloads are. Because I can't find a newer version.


http://forums.indigodomo.com/viewtopic.php?f=165&t=15884

Posted on
Sun Dec 18, 2016 11:50 am
Different Computers offline
User avatar
Posts: 1832
Joined: Jan 02, 2016
Location: East Coast

Re: repeating error repeats

Different Computers wrote:
Little help? Which other post?

Tried searching.

Also, I'm in some strange loop where every time I restart indigoplotD, it launches installgnuplot.scpt but when I run that I get ""xcode-select: error: command line tools are already installed, use "Software Update" to install updates"



I got past this by copying this part of the script into a new script and running it:
Code: Select all
tell application "Finder"
   if not (exists POSIX file "/usr/local/bin/brew") then
      set cmd to "ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\";"
   end if
end tell

set cmd to cmd & "/usr/local/bin/brew remove gnuplot;" --                      remove gnuplot
set cmd to cmd & "/usr/local/bin/brew remove libgd;" --                      remove gd library 
set cmd to cmd & "/usr/local/bin/brew reinstall jpeg;" --                      reinstall jpg library
set cmd to cmd & "/usr/local/bin/brew install libgd --with-freetype;" --          reinstall gd library WITH font support for gnuplot
set cmd to cmd & "/usr/local/bin/brew install gnuplot;" --                   (re)install gnuplot
set cmd to cmd & "echo \"  \" ;" --                                                 
set cmd to cmd & "exit" --                                             stop termnial, but keep it open

--      now execute the commands in a terminal window
tell application "Terminal"
   do script cmd
   activate
end tell

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Mon Dec 19, 2016 12:41 am
kw123 offline
User avatar
Posts: 5726
Joined: May 12, 2013
Location: Dallas, TX

Re: repeating error repeats

Look at the indigoplotd PDF
It shows the 3-4 lines you actually have to use --- somewhere in the later pages of the PDF.


Sent from my iPhone using Tapatalk

Posted on
Mon Dec 19, 2016 11:00 am
Different Computers offline
User avatar
Posts: 1832
Joined: Jan 02, 2016
Location: East Coast

Re: repeating error repeats

It shows the 3-4 lines you actually have to use


Sorry, I'm lost. 3-4 lines of what I have to use to do what?

I'm now running the current version.

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Mon Dec 19, 2016 6:36 pm
kw123 offline
User avatar
Posts: 5726
Joined: May 12, 2013
Location: Dallas, TX

repeating error repeats

Sorry should have been more explicit:
on page 29 in the "how to PDF" file in indigoplotd in the download section: http://forums.indigodomo.com/viewtopic.php?f=165&t=15884
Code: Select all
And here the manual way to do it:
1.paste into a terminal window - this will install MAC’s Xcode installation tool:
xcode-select --install
2. paste into a terminal window to install homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )"
3. paste into a terminal window to finally install gnuplot:
/usr/local/bin/brew remove gnuplot
/usr/local/bin/brew remove libgd
/usr/local/bin/brew reinstall jpeg
/usr/local/bin/brew install libgd --with-freetype
/usr/local/bin/brew install gnuplot


Karl

Posted on
Tue Dec 20, 2016 9:13 am
Different Computers offline
User avatar
Posts: 1832
Joined: Jan 02, 2016
Location: East Coast

Re: repeating error repeats

Yup, that's what I did by pulling it from the script.

Alas, I'm still getting these a couple of times an hour or more:
Code: Select all
  INDIGOplotD                     restarting SQL import,    it seems to hang. If this happens several times reload INDIGOplotD :

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Tue Dec 20, 2016 10:02 am
kw123 offline
User avatar
Posts: 5726
Joined: May 12, 2013
Location: Dallas, TX

repeating error repeats

Could you share your menu print/log device/ variable source parameters output

You could try: reload data from sql database -- not the 2 days




Sent from my iPhone using Tapatalk

Posted on
Tue Dec 20, 2016 10:32 am
Different Computers offline
User avatar
Posts: 1832
Joined: Jan 02, 2016
Location: East Coast

Re: repeating error repeats

Code: Select all
ec 20, 2016, 11:31:58 AM
   INDIGOplotD                     command: PrintDeviceData
   INDIGOplotD                     plotting  GNUPLOT error/warning for /Users/macadmin/Documents/INDIGOplotD/gnu/Kphone-day-S1
   INDIGOplotD                     Warning: empty y range [1:1], adjusting to [0.99:1.01]

   INDIGOplotD                     plotting  GNUPLOT error/warning for /Users/macadmin/Documents/INDIGOplotD/gnu/Plots-minute-S1
   INDIGOplotD                     "/Users/macadmin/Documents/INDIGOplotD/gnu/Plots-minute-S1.gnu", line 32: undefined variable: using


   INDIGOplotD                     plotting  GNUPLOT error/warning for /Users/macadmin/Documents/INDIGOplotD/gnu/Plots-minute-S2
   INDIGOplotD                     "/Users/macadmin/Documents/INDIGOplotD/gnu/Plots-minute-S2.gnu", line 32: undefined variable: using


   INDIGOplotD                     plotting  GNUPLOT error/warning for /Users/macadmin/Documents/INDIGOplotD/gnu/Plots-hour-S1
   INDIGOplotD                     "/Users/macadmin/Documents/INDIGOplotD/gnu/Plots-hour-S1.gnu", line 32: undefined variable: using


   INDIGOplotD                     pending indigoCommands: ['PrintDeviceData']
    DevNo, Name, ID                State                 Measurement               offset   multipl  minValue  maxValue  ColfilGps   resetType                                     ---  nickName
   1 Current Energy                ok: 1
     # 1   Dev-ID: 933689469       accumEnergyTimeDelta  eEnergy                      0.0       1.0    -200.0   50000.0    1     1           0                     CurrentEnergy-accumEn-eEnergy
     # 2                           accumEnergyTotal      average                      0.0       1.0    -200.0   50000.0    2     1           0                      CurrentEnergy-Energy-average
     # 3                           curEnergyLevel        max                          0.0       1.0    -200.0   50000.0    3     1           0                           CurrentEnergy-Power-max
   2 K's phone                     ok: 1
     # 1   Dev-ID: 1145411558      status                average                      0.0       1.0    -200.0   50000.0    4     1           0                           K'sphone-status-average
   3 Mike's iPhone SE              ok: 1
     # 1   Dev-ID: 453179804       status                average                      0.0       1.0    -200.0   50000.0    5     1           0                     Mike'siPhoneSE-status-average
   4 K's phone                     ok: 1
     # 1   Dev-ID: 1145411558      status                eventUP                      0.0       1.0    -200.0   50000.0    6     1           0                           K'sphone-status-eventUP
     # 2                           uptimeWiFi            count                        0.0       1.0    -200.0   50000.0    7     1           0                            K'sphone-uptimeW-count
   5 Current Energy                ok: 1
     # 1   Dev-ID: 933689469       accumEnergyTimeDelta  eConsumption                 0.0       1.0    -200.0   50000.0    8     1                                   CurrentEnergy-accumEn-eCons
     # 2                           curEnergyLevel        average                      0.0       1.0      -0.0   50000.0    9     1           0                       CurrentEnergy-Power-average
     # 3                           accumEnergyTotal      average                      0.0       1.0       0.0   50000.0   10     1           0                      CurrentEnergy-Energy-average
   6 Current Conditions            ok: 1
     # 1   Dev-ID: 352738364       temp                  average                      0.0       1.0    -200.0   50000.0   11     1           0                    CurrentConditions-temp-average
   INDIGOplotD                     
   INDIGOplotD                     Index list for dataColumn to Device#/State#
   INDIGOplotD                     Column=Dev#/St#    Column=Dev#/St#    Column=Dev#/St#    Column=Dev#/St#    Column=Dev#/St#   
   INDIGOplotD                          1=   1/  1         2=   1/  2         3=   1/  3         4=   2/  1         5=   3/  1   
   INDIGOplotD                          6=   4/  1         7=   4/  2         8=   5/  1         9=   5/  2        10=   5/  3   
   INDIGOplotD                         11=   6/  1   
   INDIGOplotD                     
   INDIGOplotD                     
   INDIGOplotD                     Consumption Cost data;    type gConsumption WeekDay
   INDIGOplotD                      ...not defined
   INDIGOplotD                     Consumption Cost data;    type wConsumption WeekDay
   INDIGOplotD                      ...not defined
   INDIGOplotD                     Consumption Cost data;    type eConsumption WeekDay
   INDIGOplotD                      ...not defined
   INDIGOplotD                     Consumption Cost data;    type oConsumption WeekDay
   INDIGOplotD                      ...not defined
   INDIGOplotD                     --------------------------------------------------------------
   INDIGOplotD                     restarting SQL import,    it seems to hang. If this happens several times reload INDIGOplotD :
   INDIGOplotD                     --------------------------------------------------------------

and 2 minutes later:
Code: Select all
Dec 20, 2016, 11:35:52 AM
   INDIGOplotD                     --------------------------------------------------------------
   INDIGOplotD                     restarting SQL import,    it seems to hang. If this happens several times reload INDIGOplotD :
   INDIGOplotD                     --------------------------------------------------------------
   INDIGOplotD                     --------------------------------------------------------------
   INDIGOplotD                     Line '9911' has error='local variable 'resetType' referenced before assignment'
   INDIGOplotD                     --------------------------------------------------------------

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Thu Dec 22, 2016 2:24 pm
kw123 offline
User avatar
Posts: 5726
Joined: May 12, 2013
Location: Dallas, TX

Re: repeating error repeats

could you delete the last 3 devicestate defs and add them to the first one. The issue is that this iises the same device/state in 2 different definitions. If you move them all to one it should help.

As I am out of town it will take me some time to look at the code for the other issue.


Sent from my iPhone using Tapatalk

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest