Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Python plug-in raising erros heck knows why

Python plug-in raising erros heck knows why

2005-06-02       - By Bernard Lebel

 Back
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\scripting\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\verbosity
\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\verbosity
\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