Not sure what's going on here, but periodically when I calling one of our plugins in Softimage, I get the error message below. I can always reload the plugin from the plugin manager and it will work fine. And it fact, everything usually goes swimmingly. But it's happened 3-4 times in the last couple of hours now and I'm just not sure what's causing it. Restarting Soft or reloading the plugin 'fixes' it. Something basic I'm not grasping, no doubt...

/# ERROR : Traceback (most recent call last)://
//# File "<Script Block 2>", line 272, in MD_PublishRenderLayers_Qt_Execute//
//#     sianchor = Application.getQtSoftimageAnchor()//
//#   File "<COMObject Application>", line 2, in getQtSoftimageAnchor//
//# COM Error: Out of present range. (0x-7ffdfff6) - [line 271 in /pathToMyPlugin.py]//(see below for the code)/
//# ERROR : OLE error 0x80020101//
//Application.MD_PublishRenderLayers_Qt()//
//# ERROR : Traceback (most recent call last)://
//#   File "<Script Block >", line 1, in <module>//
//#     Application.MD_PublishRenderLayers_Qt()//
//#   File "<COMObject Application>", line 2, in MD_PublishRenderLayers_Qt//
//# COM Error: Exception occurred. (0x-7ffdfff7) - [line 1]//
//# ERROR :  (Python ActiveX Scripting Engine)//
//# ERROR :   >[1] Application.MD_PublishRenderLayers_Qt()//
//# ERROR :    [2] (null)//
//# ERROR :     Traceback (most recent call last)://
//#   File "<Script Block >", line 1, in <module>//
//#     Application.MD_PublishRenderLayers_Qt()//
//#   File "<COMObject Application>", line 2, in MD_PublishRenderLayers_Qt//
//# COM Error: Exception occurred. (0x-7ffdfff7)/

And here's the block it's complaining about:

/269.    def MD_PublishRenderLayers_Qt_Execute()://
//270. uifilepath = os.path.join(Application.Plugins( 'MD_PublishRenderLayers_Qt' ).OriginPath , 'MD_PublishRenderLayers_UI.ui')//
//271.//
//272.        sianchor = Application.getQtSoftimageAnchor()//
//273.        sianchor = sip.wrapinstance( long(sianchor), QWidget )//
//274.//
//275. for child in sianchor.children(): # Prevent multiple instances.//
//276.            if isinstance(child, PublishRenderLayersDialog )://
//277.                return//
//278.         dialog = PublishRenderLayersDialog(uifilepath, sianchor) //
//279.         dialog.show()/

--
Signature

*Tim Crowson
*/Lead CG Artist/

*Magnetic Dreams Animation Studio, Inc.
*2525 Lebanon Pike, Building C. Nashville, TN 37214
*Ph*  615.885.6801 | *Fax*  615.889.4768 | www.magneticdreams.com
[email protected]

/Confidentiality Notice: This email, including attachments, is confidential and should not be used by anyone who is not the original intended recipient(s). If you have received this e-mail in error please inform the sender and delete it from your mailbox or any other storage mechanism. Magnetic Dreams, Inc cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of Magnetic Dreams, Inc or one of its agents./

Reply via email to