lots of errors

Posted on
Fri Feb 22, 2019 9:57 am
koburg offline
Posts: 167
Joined: Jul 27, 2017

lots of errors

hi I suddenly got lots and lots of errors tried upgrade plugin no luck

Code: Select all
  piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon Error                  in Line '2757' has error=''Plugin' object has no attribute 'version''
   piBeacon                         ..  subscribing to indigo variable changes
   piBeacon Error                  Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 8715, in runConcurrentThread
  File "plugin.py", line 8738, in dorunConcurrentThread
  File "plugin.py", line 8547, in initConcurrentThread
  File "plugin.py", line 409, in getVendortName
AttributeError: 'Plugin' object has no attribute 'enableMACtoVENDORlookup'

   piBeacon Error                  plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   WebServer                       request to set variable "pi_IN_1" value to "{"pi":"1","sensors":{"BLEconnect":{"1544256260":{"F0:99:B6:18:0C:5C":{"txPower":12,"signal":-8,"byte2":0,"flag0ok":0}}}},"program":"BLEconnect","ipAddress":"192.168.2.103","ts":{"tz":"CEST","time":1550850955.34}}" from 192.168.2.103
   piBeacon Error                  in Line '10586' has error=''Plugin' object has no attribute 'piPosition''
   WebServer                       request to set variable "pi_IN_0" value to "{"msgs":[["56:5E:0C:AE:33:8B",1,"x-x-x",-64.8,4.0,163,"",11],["7A:AF:19:A3:91:62",1,"011a0aff4c001005-408-48353",-69.5,-106.0,162,"",14],["42:1D:A3:69:2C:EB",1,"x-x-x",-86.5,-13.0,38,"",14],["00:EA:24:33:21:04",1,"08885dd0111b11e491910800200c9a66-9267-8452",-58.0,-60.0,36,"",30],["5F:78:F0:BD:F1:8B",1,"x-x-x",-65.3,8.0,219,"",11]],"reason":1,"secsCol":60,"mac":"B8:27:EB:78:1F:22","program":"beaconloop","ts":{"tz":"CEST","time":1550850957.82},"pi":"0","ipAddress":"192.168.2.102"}" from 192.168.2.102
   piBeacon Error                  in Line '5183' has error=''Plugin' object has no attribute 'beaconsUUIDtoName''
   piBeacon Error                  in Line '5197' has error=''Plugin' object has no attribute 'beaconsUUIDtoIphone''
   piBeacon Error                  in Line '5183' has error=''Plugin' object has no attribute 'beaconsUUIDtoName''
   piBeacon Error                  in Line '5197' has error=''Plugin' object has no attribute 'beaconsUUIDtoIphone''
   piBeacon Error                  in Line '10586' has error=''Plugin' object has no attribute 'piPosition''
   WebServer                       request to set variable "pi_IN_Alive" value to "{"last_masterStart":"2019-02-22 01:02:55","temp":"69.8","rpi_type":"Pi 3 Model B Plus Rev 1.3; ser#1bc2e1fc","ts":{"tz":"CEST","time":1550850959.62},"program":"master","last_boot":"2019-02-22 01:02:46","pi":"1","ipAddress":"192.168.2.103","op_sys":"9 (stretch); 4.14.30-v7+; #1102 SMP Mon Mar 26 16:45:49 BST 2018","i2c_active":""}" from 192.168.2.103
   WebServer                       request to set variable "pi_IN_0" value to "{"pi":"0","sensors":{"BLEconnect":{"871599260":{"EC:AD:B8:3A:6A:C6":{"txPower":-999,"signal":-999,"byte2":0,"flag0ok":2}}}},"program":"BLEconnect","ipAddress":"192.168.2.102","ts":{"tz":"CEST","time":1550850962.82}}" from 192.168.2.102
   piBeacon                         ..  subscribing to indigo variable changes
   piBeacon Error                  Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 8715, in runConcurrentThread
  File "plugin.py", line 8738, in dorunConcurrentThread
  File "plugin.py", line 8547, in initConcurrentThread
  File "plugin.py", line 409, in getVendortName
AttributeError: 'Plugin' object has no attribute 'enableMACtoVENDORlookup'

   piBeacon Error                  plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   WebServer                       request to set variable "pi_IN_0" value to "{"msgs":[["5F:78:F0:BD:F1:8B",1,"010607ff4c-16-513",-65.6,8.0,13,"",11],["7A:AF:19:A3:91:62",1,"x-x-x",-67.4,-106.0,11,"",14],["42:1D:A3:69:2C:EB",1,"x-x-x",-85.0,-13.0,3,"",14],["00:EA:24:33:21:04",1,"x-x-x",-57.0,-60.0,1,"",30],["66:E0:E2:6D:3C:DF",5,"x-x-x",-94.0,-5.0,1,"",14],["56:5E:0C:AE:33:8B",1,"x-x-x",-67.5,4.0,8,"",11]],"reason":5,"secsCol":8,"mac":"B8:27:EB:78:1F:22","program":"beaconloop","ts":{"tz":"CEST","time":1550850966.23},"pi":"0","ipAddress":"192.168.2.102"}" from 192.168.2.102
   piBeacon Error                  in Line '5183' has error=''Plugin' object has no attribute 'beaconsUUIDtoName''
   piBeacon Error                  in Line '5197' has error=''Plugin' object has no attribute 'beaconsUUIDtoIphone''
   piBeacon Error                  in Line '10586' has error=''Plugin' object has no attribute 'piPosition''

Posted on
Fri Feb 22, 2019 10:26 pm
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: lots of errors

1. which version
2. could you post the log /Library/Application Support/Perceptive Automation/Indigo 7.2/Logs/com.karlwachs.piBeacon/plugin.log
from the point where the plugin starts. I need to see the >>>>FIRST<<<< error message.

Karl

Posted on
Sat Feb 23, 2019 1:32 am
koburg offline
Posts: 167
Joined: Jul 27, 2017

Re: lots of errors

version plugin 7.103.273

i have attached the file log from yesterday day not sure where the start is.

im only using the plugin with beacons nothing else like senors etc.

from drop box https://www.dropbox.com/s/4yvnq58nzlz4ekp/plugin.log.2019-02-22.zip?dl=0

Posted on
Sat Feb 23, 2019 7:49 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: lots of errors

Sorry did not express my self clearly:

1. stop pibeacon
2. delete file /Library/Application Support/Perceptive Automation/Indigo 7.2/Logs/com.karlwachs.piBeacon/plugin.log
3. start pibeacon
4. send
A) file /Library/Application Support/Perceptive Automation/Indigo 7.2/Logs/com.karlwachs.piBeacon/plugin.log
B) standard logfile;
should start with
Starting plugin "piBeacon 7.103.273" (pid 55173)
piBeacon initializing ...
piBeacon path To files: =================
piBeacon indigo /Library/Application Support/Perceptive Automation/
....

all the repeating errors do not tell me anything .. need the very FIRST error message

Karl

Posted on
Sun Feb 24, 2019 3:19 am
koburg offline
Posts: 167
Joined: Jul 27, 2017

Re: lots of errors

ok no problem

the file is attached to this thread.

plugin.log
(363.9 KiB) Downloaded 82 times


thanks

Posted on
Sun Feb 24, 2019 6:56 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: lots of errors

7.103.274

Should catch that one.

It looks as if an indigo iBeacon device was deleted while the plugin was not running.
Then at startup it tries to read that indigo device... and crashes, everything else is the result of that
Code: Select all
2019-02-24 10:16:07.570   ERROR          Plugin.readConfig                in Line '1910' has error=''key id 1052843479 not found in database''

This version should check for that.

Karl

Posted on
Sun Feb 24, 2019 7:14 am
koburg offline
Posts: 167
Joined: Jul 27, 2017

Re: lots of errors

Great thanks

now it is loading and then it show the beacons with are not in data base

Code: Select all
piBeacon Error                  in Line '1913' has error=''key id 1653735345 not found in database''
   piBeacon Error                  beacon63:D4:69:70:51:11 not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 821653247 not found in database''
   piBeacon Error                  beacon59:54:6F:BA:3B:07 not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 41648204 not found in database''
   piBeacon Error                  beacon4F:C0:36:54:AD:7B not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 435516212 not found in database''
   piBeacon Error                  beacon71:DE:7C:33:71:44 not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 97857374 not found in database''
   piBeacon Error                  beacon48:D1:27:D9:42:EC not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 1205884782 not found in database''
   piBeacon Error                  beacon7E:77:9B:43:F1:86 not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 935192514 not found in database''
   piBeacon Error                  beacon70:85:74:A2:01:19 not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 1699552847 not found in database''
   piBeacon Error                  beacon5A:B8:D8:11:AC:60 not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 91669963 not found in database''
   piBeacon Error                  beacon49:DE:CA:8A:59:AF not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 101418665 not found in database''
   piBeacon Error                  beacon4C:99:DC:D6:DE:D2 not an indigo device removing from beacon list
   piBeacon Error                  in Line '1913' has error=''key id 853384944 not found in database''
   piBeacon Error                  beacon68:77:A0:F3:39:7B not an indigo device removing from beacon list


it the loads take some seconds and indigos kinda freeze and then all good.

but I get som other strange things I tried to save after disable the "find new beacons"
but then it says like pictures.

Skærmbillede 2019-02-24 kl. 14.07.39.png
Skærmbillede 2019-02-24 kl. 14.07.39.png (37.72 KiB) Viewed 3040 times

Skærmbillede 2019-02-24 kl. 14.07.25.png
Skærmbillede 2019-02-24 kl. 14.07.25.png (253.23 KiB) Viewed 3040 times


and there is no "red" fields.

Posted on
Sun Feb 24, 2019 11:05 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: lots of errors

Anything in the logfile?

Could email me print
Config
Beacons
Etc
It in the menu /print ....
It has password etc. you might want to xxx them.


Sent from my iPhone using Tapatalk

Posted on
Sun Feb 24, 2019 11:21 am
koburg offline
Posts: 167
Joined: Jul 27, 2017

Re: lots of errors

ok where is the logs placed can not find them in your log folder and not in the running log either ?

your email ?

also I have xy find it version 3 they have started not to update the status just stay up all the time. (also the buttons)

Posted on
Sun Feb 24, 2019 11:23 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: lots of errors

Karl wachs at me com


Sent from my iPhone using Tapatalk

Posted on
Sun Feb 24, 2019 11:53 am
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: lots of errors

kw123 wrote:
7.103.274

Should catch that one.

It looks as if an indigo iBeacon device was deleted while the plugin was not running.
Then at startup it tries to read that indigo device... and crashes, everything else is the result of that
Code: Select all
2019-02-24 10:16:07.570   ERROR          Plugin.readConfig                in Line '1910' has error=''key id 1052843479 not found in database''

This version should check for that.

Karl


I've had this exact problem all weekend. Trying to delete them to start again without RTFM.
Got it all sorted in end by deleting config folder and restarting the server


Sent from my iPhone using Tapatalk

Posted on
Sun Feb 24, 2019 12:33 pm
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: lots of errors

I would be interested in how that happens

Yes delete the prefs folder makes it start from almost scratch and it should recover most info automatically.

But never the less what happened before ?


Sent from my iPhone using Tapatalk

Posted on
Wed Feb 27, 2019 1:08 pm
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: lots of errors

Hi Karl. I had deactivated the plugin that was setup before and deleted the pi devices. When I've tried to activate it and create the pi devices it was either not finding them, or would but would then not control them or would refuse to properly remove them when I tried to delete the pi from within the config screen.
Eventually deleting the folder, and rebooting the Mac worked.

However weird things today. 2 X RPI and 2x beacons set up, named and moved into new folder.
Yesterday one of the Pis moved automatically back to the pibeacon_new folder and was renamed to it's Mac address. Today the other pi has done the same and one of the beacons has completed disappeared.

Any ideas what has happened?


Sent from my iPhone using Tapatalk

Posted on
Wed Feb 27, 2019 2:43 pm
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: lots of errors

could you check if you have any of these statements in the plugin.log file?
Code: Select all
"dev :" + dev.name + " has no address field, please do NOT manually create beacon devices"
u"fixDevProps " + dev.name + " props" + unicode(props))

"=== replaced MAC number "+oldMAC+"  of device "+oldName +" with "+ newMAC+" --and deleted device "+newName+"    ==="

"buttonConfirmMACIgnoreCALLBACK deleting dev  MAC#"+ MAC+"  indigoID ==0"

"deleting device: " + dev.name + " beacon to be ignored, clean up "

"deleting beacon: " + dev.name + u"  expired, no messages for > 1 hour and still old name, if you want to keep beacons, you must rename them after they are created"

u"deleting beacon: " + dev.name + " replacing simple beacon with rPi model(1)"

"deleting beacon: " + devx.name + " replacing simple beacon with rPi model(2)"
these are ALL places where an indigo device gets deleted in the plugin.

my experience from the host is APPLESCRIPT. when indigo times out it does not return device info . It looks similar to does not exist. )(yes, one could parse the error timeout, does not exist, other errors..)
There are several hundred places when the plugin reads indigo and adding complicated IF's to catch these is a real bear.
Once the plugin thinks a device is gone. it ignores it and eventually treats that device as unwanted and deletes it.

I know this can be a problem, But I have not come up with an easy fix for that = a function that does all the checking and can be called in one simple statement..

Karl

Posted on
Fri Mar 01, 2019 4:14 pm
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: lots of errors

I see these that probably explain it

2019-02-27 06:39:24.658 ERROR Plugin.updateBeaconStates in Line '12557' has error='ServerCommunicationError -- timeout waiting for response'
2019-02-27 06:39:26.698 ERROR Plugin.updateBeaconStates communication to indigo is interrupted
2019-02-27 07:01:58.752 ERROR Plugin.fixConfig in Line '2179' has error='ServerCommunicationError -- timeout waiting for response'
2019-02-27 07:02:00.909 ERROR Plugin.fixConfig communication to indigo is interrupted
executeUpdateStatesDict: key: closestiBeacon not in states for dev:Car beacon
27 07:05:17 significant internal delay occured digesting data from rPi: 1 4.9042555.1 [secs]
2019-02-27 07:50:09.947 ERROR Plugin.BLEconnectCheckPeriod in Line '9162' has error='ServerCommunicationError -- timeout waiting for response'
27 07:50:45 significant internal delay occured digesting data from rPi: 0 15.9346855.1 [secs]
27 07:50:45 significant internal delay occured digesting data from rPi: 1 15.9094445.1 [secs]
2019-02-27 07:52:13.921 ERROR Plugin.BLEconnectCheckPeriod in Line '9162' has error='ServerCommunicationError -- timeout waiting for response'
07:53:11 deleting beacon: Car beacon replacing simple beacon with rPi model(1)
deleting beacon: piBeacon-Pantry replacing simple beacon with rPi model(2)
creating new pi 3-- 0 0 B8:27:EB:32:D2:3B
27 07:53:11 -setting beacon device in internal tables to 0: Car beacon 61452173 enabled:True pluginState:run
27 07:53:17 significant internal delay occured digesting data from rPi: 1 6.6333955.1 [secs]
27 07:53:18 significant internal delay occured digesting data from rPi: 0 6.0374505.1 [secs]
27 07:53:18 significant internal delay occured digesting data from rPi: 1 5.6138995.1 [secs]
27 07:53:18 significant internal delay occured digesting data from rPi: 1 5.6353205.1 [secs]


27 07:55:02 significant internal delay occured digesting data from rPi: 0 10.9508115.1 [secs]
please do "sudo raspi-config" on rPi: 0, set time, reboot ... send: TIME-Tsend= 2220 /epoch seconds UTC/ timestamp send=1551251882.7; TZ send is=BST
please do "sudo raspi-config" on rPi: 0, set time, reboot ... send: TIME-Tsend= 2212 /epoch seconds UTC/ timestamp send=1551251890.89; TZ send is=BST
2019-02-27 08:54:08.234 ERROR Plugin.updateBeaconStates in Line '12557' has error='ServerCommunicationError -- timeout waiting for response'
2019-02-27 08:54:25.815 ERROR Plugin.updateBeaconStates communication to indigo is interrupted
27 08:56:44 significant internal delay occured digesting data from rPi: 0 13.3925535.1 [secs]
2019-02-27 09:55:58.621 ERROR Plugin.updateAlive in Line '10305' has error='ServerCommunicationError -- timeout waiting for response'
2019-02-27 09:56:55.057 ERROR Plugin.updateAlive communication to indigo is interrupted
2019-02-27 09:56:38.633 ERROR Plugin.updateBeaconStates in Line '12557' has error='ServerCommunicationError -- timeout waiting for response'
2019-02-27 09:56:55.058 ERROR Plugin.updateBeaconStates communication to indigo is interrupted
27 09:56:55 significant internal delay occured digesting data from rPi: 1 16.4271635.1 [secs]
2019-02-27 10:00:48.233 ERROR Plugin.updateBeaconStates in Line '12557' has error='ServerCommunicationError -- timeout waiting for response'
2019-02-27 10:00:51.041 ERROR Plugin.updateBeaconStates communication to indigo is interrupted
fixing: Pi_00:19:86:00:08:93 beaconDEV:00:19:86:00:08:93 beacon:B8:27:EB:32:D2:3B beacon wrong, using current beacon-mac
setting beacon: B8:27:EB:32:D2:3B to ignore was set to indigo-id=0 before
{u'minSignalCutoff': u'-999', u'receivedSignals': [{'rssi': -999, 'lastSignal': 0, 'distance': 99999}, {'rssi': -89.9, 'lastSignal': 1551261651.429288, 'distance': 99999.0}, {'rssi': -999, 'lastSignal': 0, 'distance': 99999}, {'rssi': -999, 'lastSignal': 0, 'distance': 99999}, {'rssi': -999, 'lastSignal': 0, 'distance': 99999}, {'rssi': -999, 'lastSignal': 0, 'distance': 99999}, {'rssi': -999, 'lastSignal': 0, 'distance': 99999}, {'rssi': -999, 'lastSignal': 0, 'distance': 99999}, {'rssi': -999, 'lastSignal': 0, 'distance': 99999}, {'rssi': -999, 'lastSignal': 0, 'distance': 99999}], u'showBeaconSymboluseErrorSize': u'1', 'showBeaconNickName': u'', u'PosZ': 0.0, u'PosX': 0.0, u'PosY': 0.0, u'signalDelta': u'999', u'updateFING': 0, u'showBeaconSymbolColor': u'b', u'beaconTxPower': 999, u'note': u'Pi-1', u'expirationTime': 90.0, u'batteryLevel': '', u'status': u'ignored', u'updateSignalValuesSeconds': 300.0, u'indigoId': 0, u'fastDownMinSignal': -999, u'fastDown': u'0', u'created': u'2019-02-26 13:26:33', u'lastUp': 1551261651.429063, u'updateWindow': 1551261427.946211, u'showBeaconOnMap': u'0', u'ignore': 0, u'showBeaconSymbolAlpha': u'0.5', u'typeOfBeacon': u'rPI'}
2019-02-27 10:36:20.008 ERROR Plugin.fixConfig in Line '2249' has error='ServerCommunicationError -- timeout waiting for response'

Who is online

Users browsing this forum: No registered users and 6 guests