Installation Problem

Helpful Plugins to contribute to the Indigo community.
cjp767
Posts: 136
Joined: Thu May 02, 2013 4:59 pm
Location: Gig Harbor, WA

Installation Problem

Post by cjp767 »

Clearly I've missed something. I installed the geopy library successfully, but the Life360 plugin did not install properly and gave this error in the log:

Mac Pro 5,1 (cheese grater) with Mac OS 10.14.6 and Indigo 2021.2

Starting plugin "Life360 0.2.2" (pid 72413)
Life360 Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 42, in __init__
KeyError: key authorizationtoken not found in dict

Can you offer any guidance? It's obviously my issue. Always is.
User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Installation Problem

Post by DaveL17 »

I don't use the plugin, so I'm shooting in the dark here.... There's every chance that the plugin installed correctly. The error message is being thrown right as the plugin is spooling up and it looks like it's expecting a token of some kind -- probably for authentication or at least identification.

If the plugin has a configuration menu, is there a field for entering an authentication token? Alternatively, does the plugin use virtual devices where the token might be entered into a settings dialog for an individual device?
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
cjp767
Posts: 136
Joined: Thu May 02, 2013 4:59 pm
Location: Gig Harbor, WA

Re: Installation Problem

Post by cjp767 »

Thank you for the guidance--- anything could help! Unfortunately, I was not thorough in my copy/paste from the log. Here's the full sequence:

Starting plugin "Life360 0.2.2" (pid 41713)
Life360 Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 42, in __init__
KeyError: key authorizationtoken not found in dict

Stopping plugin "Life360 0.2.2" (pid 41713)
Stopped plugin "Life360 0.2.2"

Note that it says "Stopped plugin"---- that means it's dead. The plugin is not running, so no configuration menu, no virtual device or anything, because the plugin did not start fully. Again, the issue is probably my own. I often miss something quite subtle. Thank you again!
User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Installation Problem

Post by DaveL17 »

If you haven't already, I would recommend trying to reinstall the plugin. If that doesn't work, you might need to completely uninstall the plugin before reinstalling it.

To completely uninstall,
  • stop the Indigo server,
  • delete the plugin file (it may be in the plugins folder or the disabled plugins folder).
  • delete the plugin's preferences file which should be located in the "/Library/Application Support/Perceptive Automation/Indigo XXXXX/Preferences/Plugins/" folder.
  • start the Indigo server and wait for it to fully spool up.
  • reinstall the plugin.
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
cjp767
Posts: 136
Joined: Thu May 02, 2013 4:59 pm
Location: Gig Harbor, WA

Re: Installation Problem

Post by cjp767 »

Thank you for that advice--- (Great idea, btw). I upgraded Indigo to 2021.2 and unfortunately I had the same result
User avatar
DaveL17
Posts: 6831
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Installation Problem

Post by DaveL17 »

I'm afraid I'm out of ideas. Hopefully, Ryan will spot this thread soon and get you sorted. You might try sending him a DM if you haven't already.

Good luck!
I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]
ryanbuckner
Posts: 1086
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: Installation Problem

Post by ryanbuckner »

I included the geopy library in the plugin package itself so it's no longer a requirement to install separately. I wonder if that's causing the problem.

Can you try to uninstall geopy and reinstall the plugin?
ryanbuckner
Posts: 1086
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: Installation Problem

Post by ryanbuckner »

By the way I think you're the first ever user of this plugin (besides myself) so I appreciate the note
ryanbuckner
Posts: 1086
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: Installation Problem

Post by ryanbuckner »

cjp767 wrote:Thank you for the guidance--- anything could help! Unfortunately, I was not thorough in my copy/paste from the log. Here's the full sequence:

Starting plugin "Life360 0.2.2" (pid 41713)
Life360 Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "plugin.py", line 42, in __init__
KeyError: key authorizationtoken not found in dict

Stopping plugin "Life360 0.2.2" (pid 41713)
Stopped plugin "Life360 0.2.2"

Note that it says "Stopped plugin"---- that means it's dead. The plugin is not running, so no configuration menu, no virtual device or anything, because the plugin did not start fully. Again, the issue is probably my own. I often miss something quite subtle. Thank you again!
So this error is being raised when trying to pull the authorization token from the plugin config. Are you getting this error before you're able to configure the plugin with username, password, etc..?
ryanbuckner
Posts: 1086
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: Installation Problem

Post by ryanbuckner »

I was able to replicate this error. I'll get a fix together (as soon as I figure out how).
ryanbuckner
Posts: 1086
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: Installation Problem

Post by ryanbuckner »

There's a new version in the Plugin Store.
Post Reply

Return to “Ryan Buckner's Plugins”