How to determine plugin Python 2 dependencies

Discuss any issues you may run across installing, moving, upgrading, or uninstalling Indigo.
User avatar
kw123
Posts: 8453
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: How to determine plugin Python 2 dependencies

Post by kw123 »

It was the first plugin that supported Shelly.
When the other plugin appeared I renamed it as Shelly direkt to indicate that is does not go through middle ware


Sent from my iPhone using Tapatalk
User avatar
FlyingDiver
Posts: 7323
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: How to determine plugin Python 2 dependencies

Post by FlyingDiver »

But the plugin store has the old name? No "direct"?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
kw123
Posts: 8453
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: How to determine plugin Python 2 dependencies

Post by kw123 »

I just renamed the plugin


Sent from my iPhone using Tapatalk
DVDDave
Posts: 470
Joined: Sun Feb 26, 2006 6:33 pm
Location: San Jose, CA

Re: How to determine plugin Python 2 dependencies

Post by DVDDave »

kw123 wrote:It was the first plugin that supported Shelly.
When the other plugin appeared I renamed it as Shelly direkt to indicate that is does not go through middle ware
Version 7.20.55 works now and shows the green dot. For some reason the plugin management list didn't indicate there was an update. Thanks!

--Dave
DVDDave
Posts: 470
Joined: Sun Feb 26, 2006 6:33 pm
Location: San Jose, CA

Re: How to determine plugin Python 2 dependencies

Post by DVDDave »

autolog wrote:The nanoleaf plugin has already been converted to Python 3 and is available as a pre-release on Github: Convert to Python 3 for Indigo 2022.1+
Thanks, but I tried the pre-release version but it won't start up. Gives an error in the log: Error in plugin execution InitializeMain
Went back to released version and it works again.

--Dave
autolog
Posts: 4000
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK [GMT aka UTC]
Contact:

Re: How to determine plugin Python 2 dependencies

Post by autolog »

Hi Dave,
DVDDave wrote:
autolog wrote:The nanoleaf plugin has already been converted to Python 3 and is available as a pre-release on Github: Convert to Python 3 for Indigo 2022.1+
Thanks, but I tried the pre-release version but it won't start up. Gives an error in the log: Error in plugin execution InitializeMain
Went back to released version and it works again.
Did you report that in the Nanoleaf sub-forum ?

I had a look but couldn't see a report of the error, but I could have missed it?

Could you try the Python 3 version again and post the contents of the the Indigo Event Log when it fails, so that I can try to resolve it for you. :)
DVDDave
Posts: 470
Joined: Sun Feb 26, 2006 6:33 pm
Location: San Jose, CA

Re: How to determine plugin Python 2 dependencies

Post by DVDDave »

autolog wrote:Hi Dave,
DVDDave wrote:
autolog wrote:The nanoleaf plugin has already been converted to Python 3 and is available as a pre-release on Github: Convert to Python 3 for Indigo 2022.1+
Thanks, but I tried the pre-release version but it won't start up. Gives an error in the log: Error in plugin execution InitializeMain
Went back to released version and it works again.
Did you report that in the Nanoleaf sub-forum ?

I had a look but couldn't see a report of the error, but I could have missed it?

Could you try the Python 3 version again and post the contents of the the Indigo Event Log when it fails, so that I can try to resolve it for you. :)
I didn't post it there since there's been no mention of this new pre-release version and I didn't want to confuse people. Of course, this thread is confusing as well and I'll move further discussion soon to the relevant threads now that the initial discussion of Python 2 incompatibilities has run its course.

Here is the Event Log from when I upgraded the version. It includes an expansion of the initialization error which I didn't notice before. Hope it helps. BTW, I would rather not try again unless it's necessary since it took many tries to get the plugin to recognize my device again. Thanks!

Code: Select all

2023-07-13 14:32:45.607	Application	Stopping plugin Nanoleaf (pid 880)
2023-07-13 14:32:45.716	Nanoleaf	Autolog 'Nanoleaf V1 Controller' Plugin shutdown requested
2023-07-13 14:32:45.846	Nanoleaf	Stopping 'Nanoleaf'
2023-07-13 14:32:45.853	Nanoleaf	Autolog 'Nanoleaf V1 Controller' Plugin shutdown complete
2023-07-13 14:32:46.838	Application	Stopped plugin Nanoleaf
2023-07-13 14:32:46.838	Application	Upgrading plugin Nanoleaf to newer version 2022.0.2 (previous version moved to trash)
2023-07-13 14:32:47.287	Application	Loading plugin "Nanoleaf 2022.0.2" using API v3.0
2023-07-13 14:32:47.292	Application	Starting plugin "Nanoleaf 2022.0.2" (pid 74355)
2023-07-13 14:32:47.486	Nanoleaf Error	Error in plugin execution InitializeMain:

  File "plugin.py", line 20, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/nanoleaf.indigoPlugin/Contents/Server Plugin/nanoleafapi/nanoleaf.py", line 12, in <module>
type: No module named 'sseclient'

2023-07-13 14:32:47.486	Application	Stopping plugin "Nanoleaf 2022.0.2" (pid 74355)
2023-07-13 14:32:48.436	Application	Stopped plugin "Nanoleaf 2022.0.2"
DVDDave
Posts: 470
Joined: Sun Feb 26, 2006 6:33 pm
Location: San Jose, CA

Re: How to determine plugin Python 2 dependencies

Post by DVDDave »

autolog wrote:The nanoleaf plugin has already been converted to Python 3 and is available as a pre-release on Github: Convert to Python 3 for Indigo 2022.1+
This version of the plugin now works after I ran the command

Code: Select all

pip3 install sseclient
Post Reply

Return to “Installing/Moving/Upgrading/Uninstalling Questions”