after moving to new machine pibeacon not working

immergruen
Posts: 17
Joined: Sun Jan 31, 2016 7:52 am

after moving to new machine pibeacon not working

Post by immergruen »

Hi @ all,

after moving from my Mac mini to Mac Pro I cannot start pibeacon.

I tried so far to configure everything new, did downgrades to the last 3 versions, but that didn't solve the problem.
When I start the plugin I get this error
nabling plugin "piBeacon 7.91.225"
Starting plugin "piBeacon 7.91.225" (pid 1637)
piBeacon setting parameters for indigo version: >>7<<; my PID=1637
piBeacon pluginId: com.karlwachs.piBeacon
Started plugin "piBeacon 7.91.225"
piBeacon starting piBeacon
piBeacon logfile handling to : /Users/thomas/indigo/piBeacon/piBeacon.log
piBeacon myLogSet settting parameters -- logFileActive= user; logFile= /Users/thomas/indigo/piBeacon/piBeacon.log; debugLevel= []; maxFileSize= 5000000
piBeacon --V 7.91.225 initializing
piBeacon Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 7990, in runConcurrentThread
File "plugin.py", line 7966, in initConcurrentThread
KeyError: (u'0',)
piBeacon Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

This is the log:

09:00:58 -fixConfig in Line '2346' has error='u'1''
09:00:58 -unknown error
09:00:58 -checkPiEnabled in Line '8825' has error='u'0''
09:00:58 - .. startup() finished
09:00:58 - .. starting tcpip stack
09:00:59 - .. tcpip stack started
09:00:59 - .. checking sensors
09:00:59 -checkSensortoPi in Line '8908' has error='u'0''
09:00:59 -checkSensortoPi in Line '8908' has error='u'0''
09:00:59 -mkSensorList in Line '9034' has error='u'0''
09:00:59 -checkSensortoPi in Line '8908' has error='u'1''
09:00:59 -checkSensortoPi in Line '8908' has error='u'1''
09:00:59 -mkSensorList in Line '9034' has error='u'1''
09:00:59 -checkSensortoPi in Line '8908' has error='u'2''
09:00:59 -checkSensortoPi in Line '8908' has error='u'2''
09:00:59 -mkSensorList in Line '9034' has error='u'2''
09:00:59 -checkSensortoPi in Line '8908' has error='u'3''
09:00:59 -checkSensortoPi in Line '8908' has error='u'3''
09:00:59 -mkSensorList in Line '9034' has error='u'3''
09:00:59 -checkSensortoPi in Line '8908' has error='u'4''
09:00:59 -checkSensortoPi in Line '8908' has error='u'4''
09:00:59 -mkSensorList in Line '9034' has error='u'4''
09:00:59 -checkSensortoPi in Line '8908' has error='u'5''
09:00:59 -checkSensortoPi in Line '8908' has error='u'5''
09:00:59 -mkSensorList in Line '9034' has error='u'5''
09:00:59 -checkSensortoPi in Line '8908' has error='u'6''
09:00:59 -checkSensortoPi in Line '8908' has error='u'6''
09:00:59 -mkSensorList in Line '9034' has error='u'6''
09:00:59 -checkSensortoPi in Line '8908' has error='u'7''
09:00:59 -checkSensortoPi in Line '8908' has error='u'7''
09:00:59 -mkSensorList in Line '9034' has error='u'7''
09:00:59 -checkSensortoPi in Line '8908' has error='u'8''
09:00:59 -checkSensortoPi in Line '8908' has error='u'8''
09:00:59 -mkSensorList in Line '9034' has error='u'8''
09:00:59 -checkSensortoPi in Line '8908' has error='u'9''
09:00:59 -checkSensortoPi in Line '8908' has error='u'9''
09:00:59 -mkSensorList in Line '9034' has error='u'9''
09:00:59 -checkSensortoPi in Line '8908' has error='u'10''
09:00:59 -checkSensortoPi in Line '8908' has error='u'10''
09:00:59 -mkSensorList in Line '9034' has error='u'10''
09:00:59 -checkSensortoPi in Line '8908' has error='u'11''
09:00:59 -checkSensortoPi in Line '8908' has error='u'11''
09:00:59 -mkSensorList in Line '9034' has error='u'11''
09:00:59 -checkSensortoPi in Line '8908' has error='u'12''
09:00:59 -checkSensortoPi in Line '8908' has error='u'12''
09:00:59 -mkSensorList in Line '9034' has error='u'12''
09:00:59 -checkSensortoPi in Line '8908' has error='u'13''
09:00:59 -checkSensortoPi in Line '8908' has error='u'13''
09:00:59 -mkSensorList in Line '9034' has error='u'13''
09:00:59 -checkSensortoPi in Line '8908' has error='u'14''
09:00:59 -checkSensortoPi in Line '8908' has error='u'14''
09:00:59 -mkSensorList in Line '9034' has error='u'14''
09:00:59 -checkSensortoPi in Line '8908' has error='u'15''
09:00:59 -checkSensortoPi in Line '8908' has error='u'15''
09:00:59 -mkSensorList in Line '9034' has error='u'15''
09:00:59 -checkSensortoPi in Line '8908' has error='u'16''
09:00:59 -checkSensortoPi in Line '8908' has error='u'16''
09:00:59 -mkSensorList in Line '9034' has error='u'16''
09:00:59 -checkSensortoPi in Line '8908' has error='u'17''
09:00:59 -checkSensortoPi in Line '8908' has error='u'17''
09:00:59 -mkSensorList in Line '9034' has error='u'17''
09:00:59 -checkSensortoPi in Line '8908' has error='u'18''
09:00:59 -checkSensortoPi in Line '8908' has error='u'18''
09:00:59 -mkSensorList in Line '9034' has error='u'18''
09:00:59 -checkSensortoPi in Line '8908' has error='u'19''
09:00:59 -checkSensortoPi in Line '8908' has error='u'19''
09:00:59 -mkSensorList in Line '9034' has error='u'19''
09:00:59 - .. checking devices tables
09:00:59 - .. checking BLEconnect
09:00:59 - .. checking beacons
09:00:59 -setupFilesForPi in Line '12236' has error='u'0''
09:00:59 - .. new py programs etc will be send to rPis
09:01:09 - .. starting tcpip stack

I hope that somebody can help me, as I'm using this great plugin since many years.
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: after moving to new machine pibeacon not working

Post by kw123 »

this looks as if something is not initialized. if it is not it should do it automatically.. (important is only the first error message everything is a result of that )

anyway, did you copy the piBeacon directory to the new MAC?
could you post the files RPIconfig and beacons?

Karl
immergruen
Posts: 17
Joined: Sun Jan 31, 2016 7:52 am

Re: after moving to new machine pibeacon not working

Post by immergruen »

Dear Karl,

thank you for your quick reply.
I copied only the Perceptive Automation directory and I don´t find the rpiconfig and beacons files.
Maybe they are missing?

Is it possible to start completely new and reset everything?

Thomas
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: after moving to new machine pibeacon not working

Post by kw123 »

If you still have that directory just copy it.
That should get things back to normal

Starting with a mixed bag is difficult.

To stayer from scratch:

Stop pibeacon
Delete all pibeacon devices variables etc
Stop indigo server
Delete the pibeacon prefs file in the indigo server directory.
Start indigo server
Start pibeacon


Again if you have the ~/indigo/pibeacon directory you can keep all defs etc.

Karl.


Sent from my iPhone using Tapatalk
immergruen
Posts: 17
Joined: Sun Jan 31, 2016 7:52 am

Re: after moving to new machine pibeacon not working

Post by immergruen »

Thank you Karl,
Will try to recover the old hdd.
immergruen
Posts: 17
Joined: Sun Jan 31, 2016 7:52 am

Re: after moving to new machine pibeacon not working

Post by immergruen »

Dear Karl,

thank you so much.
Recovered from old Mac the Pibeacon Directory and copied it to the new Mac.
After a restart everything is working fine. :mrgreen:
Post Reply

Return to “piBeacon”