Development nit - no notification of plugin.py failure

Posted on
Fri Mar 03, 2023 2:40 pm
nathanw offline
Posts: 153
Joined: Sep 05, 2011
Location: Boston, MA

Development nit - no notification of plugin.py failure

So I'm starting a new plugin, and somehow I typo the "Server Plugin" directory in the bundle as "ServerPlugin", without the space.

I am mystified why my new devices and actions aren't appearing. Or, for that matter debug messages. Or any complaints about the syntax errors I inject into my plugin.py file. All I see in the Indigo log is "Reloading plugin "DimmerRampingProxy 0.1" using API v3.0".

Eventually I run the IndigoPluginHost3 directly:
Code: Select all
automation@Automation2 ServerPlugin % '/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/MacOS/IndigoPluginHost3' -p1176 -fDimmerRampingProxy.indigoPlugin
could not find/access main plugin source file: /Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/DimmerRampingProxy.indigoPlugin/Contents/Server Plugin/plugin.py
and some eyeballing and copy-and-paste leads me to find the error.

However, it seems like something Indigo-side should surface this error and/or failure to start the IndigoPluginHost process?
Thanks.

Posted on
Fri Mar 03, 2023 3:01 pm
jay (support) offline
Site Admin
User avatar
Posts: 18221
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Development nit - no notification of plugin.py failure

Noted.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 20 guests