Python plug-in raising erros heck knows why - SOLVED, but... 2005-06-02 - By kim aldis
Back On occasion, but only on occasion and working in jscript, I've found that "//server/foo" gave problems where "\\\\server/foo" didn't. however, the problem was one of not finding the file. I've never seen it break things.
kim@(protected) kim@(protected)
> -- --Original Message-- -- > From: owner-xsi@(protected) > [mailto:owner-xsi@(protected)] On Behalf Of Bernard Lebel > Sent: 02 June 2005 23:20 > To: XSI@(protected) > Subject: Re: [script] Python plug-in raising erros heck knows > why - SOLVED, but... > > Ok after messing around with workgroup and user paths, I > found the problem was that I was using UNC paths for both my > workgroup and user paths. Setting them to use the mounted > drive path solved the isse. > > Now, I still don't get what happened here. Why would a UNC > path for plugins cause troubles while a mounted drive path would not? > > > Thanks > Bernard > > > > On 6/2/05, Bernard Lebel <3dbernard@(protected)> wrote: > > Hello, > > > > So I have a python self-installed custom command. > > For testing, I call it in a new fresh scene, works fine. > > > > bVerbose = xsi.GetVerbosity() > > > > Then I import a model. > > Call the command again, but now I get a COM error: > > > > #ERROR : 2290-CUST-GetVerbosity - This plug-in cannot be found: > > > V:\users\blebel\Softimage\XSI_4.2\Application\Plugins\scriptin > g\verbosity\GetVerbosity.pys. > > Application.GetVerbosity() > > #ERROR : Traceback (most recent call last): > > # File "<Script Block >", line 59, in ? > > # bVerbose = xsi.GetVerbosity() > > # File "<COMObject Application>", line 2, in GetVerbosity > #COM Error: > > Unspecified error (0x-7fffbffb) - [line 59] > > > > > > Then I go to the plugins manager, uncheck the involved plugins (the > > GetVerbosity thing calls another self-installed command), > run script > > again, but no go. > > > > Then I click the Update button (still in the Plugins > manager), and I > > get this log: > > > > > > #ERROR : 2315 - The plugin <GetVerbosity Plug-in> has already been > > loaded. The following version will be ignored > > > <V:\users\blebel\Softimage\XSI_4.2\Application\Plugins\scripting\verbo > > sity\GetVerbosity.pys> #ERROR : 2028 - Traceback (most recent call > > last): > > # File "<Script Block >", line 11, in XSILoadPlugin > > # in_reg.Name = "GetVerbosity Plug-in" > > # File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", > > line 527, in __setattr__ > > # self._oleobj_.Invoke(entry.dispid, 0, invoke_type, 0, value) > > #COM Error: Invalid argument specified. - [line 10] #ERROR : 2262 - > > This plug-in could not be loaded: > > #<path: > > > \\Linuxserver\COMP\users\blebel\Softimage\XSI_4.2\Application\Plugins\ > > scripting\verbosity\GetVerbosity.pys> > > # > > #ERROR : 2315 - The plugin <VerboseLocal> has already been > loaded. The > > following version will be ignored > > > <V:\users\blebel\Softimage\XSI_4.2\Application\Plugins\scripting\verbo > > sity\VerboseLocal.pys> #ERROR : 2028 - Traceback (most recent call > > last): > > # File "<Script Block >", line 10, in XSILoadPlugin > > # in_reg.Name = "VerboseLocal" > > # File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", > > line 527, in __setattr__ > > # self._oleobj_.Invoke(entry.dispid, 0, invoke_type, 0, value) > > #COM Error: Invalid argument specified. - [line 9] #ERROR : 2262 - > > This plug-in could not be loaded: > > #<path: > > > \\Linuxserver\COMP\users\blebel\Softimage\XSI_4.2\Application\Plugins\ > > scripting\verbosity\VerboseLocal.pys> > > # > > > > > > > > So I see something weird with paths, sometimes it's a mounted drive > > (wich our pipeline is pretty much based on), and sometimes > I get a UNC > > path. If I remove and manually load the plugin I get a > mounted drive > > path, wich works fine, but as soon as I relaunch XSI then > the UNC path > > is back again. > > > > > > Thanks for reading this far. Any suggestion? > > > > > > Thanks > > Bernard > > > > --- > Unsubscribe? Mail Majordomo@(protected) with the following > text in body: > unsubscribe xsi > >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|