Plug in busted

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
Forum rules
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
pgershon
Posts: 534
Joined: Sat Jul 10, 2004 1:07 am

Plug in busted

Post by pgershon »

I was editing a plugin and must have done something to it as the configure script stopped working. I figured no big deal as I would go back to an older version of the plugin. I am unable to do that however as my busted plugin is stuck somewhere. I can enable or disable it, but I cannot make it go away. I do not see the plugin file in the enabled or disabled plugins folders for Indigo anymore. Not sure how my Mac even knows this plugin exists anymore and I would be happy to eliminate it altogether if I could, and then start all over. Any ideas what I am doing wrong?

Here is the Indigo log when I try to configure the plugin:


Error (client) getXmlFromPlugin() caught exception: empty XML string returned
NuVo Grand Concerto Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 146, in runConcurrentThread
<type 'exceptions.UnboundLocalError'>: local variable 'sleeptime' referenced before assignment

NuVo Grand Concerto Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
NuVo Grand Concerto Error Error in plugin execution CallPluginFunc:

Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 5/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 526, in getPrefsConfigUiXml
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 1925, in parseString
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/expatbuilder.py", line 940, in parseString
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/expatbuilder.py", line 223, in parseString
<class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 27, column 1

Here is the log when I enable the plugin:


Enabling plugin "NuVo Grand Concerto 1.1"
Starting plugin "NuVo Grand Concerto 1.1" (pid 4411)
Plugin "NuVo Grand Concerto" connected
Plugin "NuVo Grand Concerto 1.1" started
Error (client) getXmlFromPlugin() caught exception: empty XML string returned
NuVo Grand Concerto Error valid serial port not selected for "NuVo Concerto"
NuVo Grand Concerto Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 146, in runConcurrentThread
<type 'exceptions.UnboundLocalError'>: local variable 'sleeptime' referenced before assignment

NuVo Grand Concerto Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
NuVo Grand Concerto Error Error in plugin execution CallPluginFunc:

Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 5/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 526, in getPrefsConfigUiXml
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 1925, in parseString
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/expatbuilder.py", line 940, in parseString
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/expatbuilder.py", line 223, in parseString
<class 'xml.parsers.expat.ExpatError'>: not well-formed (invalid token): line 27, column 1

NuVo Grand Concerto Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 146, in runConcurrentThread
<type 'exceptions.UnboundLocalError'>: local variable 'sleeptime' referenced before assignment

NuVo Grand Concerto Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

PLEASE HELP
User avatar
matt (support)
Site Admin
Posts: 21542
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: Plug in busted

Post by matt (support) »

Indigo loads the enabled/disabled plugin folders when the Indigo Server starts up, so try shutting down the Indigo Server and restarting it.
Image
pgershon
Posts: 534
Joined: Sat Jul 10, 2004 1:07 am

Re: Plug in busted

Post by pgershon »

I tried that. Finally found the problem. I had changed the name of the file and it no longer matched the plugin name (not good design, I know). Finally deleted the bad file and it works.
Locked

Return to “Extending Indigo with Plugins and Python”