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?
 
XSI Python error log (kinda OT)

XSI Python error log (kinda OT)

2004-04-27       - By Christian Rittener

 Back
After much testing and installing-uninstalling, I found that the problem was
due to this: the desktop shortcut I was using to start XSI was not pointing
to the XSI directory ("Start in:  (C:\Softimage\XSI_3.5.1\Application\bin").
It was calling a .ksh batch file, which did a couple of things then called
C:\Softimage\XSI_3.5.1\Application\bin\xsi.bat.

After correcting this, no more 222 lines of error messages when I start XSI.
The latest version I installed (Python 2.3.3 and pywin/win32all 201, as
suggested by Aloys) also showed this behavior. Not anymore.



Thanks to all who helped,

Christian


nJerry Gamache wrote:
> Hello Christian,
>
> Python is supported via the ActiveScripting interface provided by the
> win32all package (now called PyWin32). This package is as dynamically
> developped as XSI and sometimes small changes in win32all can cause
> our scripting code to fail by basically exposing some unexpected way
> we talk to the ActiveScripting interface.
>
> I spent some time installing multiple versions of Python and win32all
> so I can say that for XSI version 3.5.1 you should use Python version
> 2.2.3 with win32all version 148.
>
> Locations:
>
> Python 2.2.3: http://www.python.org/2.2.3/
> more specifically:
> http://www.python.org/ftp/python/2.2.3/Python-2 (See http://hon-2.ora-code.com).2.3.exe
> win32all 148:
> http://starship.python.net/crew/mhammond/win32/Downloads.html
> more specifically:
> http://starship.python.net/crew/mhammond/downloads/win32all-148 (See http://all-148.ora-code.com).exe
>
> The errors first appeared in win32all 150.
>
> For XSI 4.0, we corrected these issues and you should be able to use
> more recent versions of Python and win32all.
>
> If someone intends to use both versions of XSI in parallel, they can
> put a call to the proper version of pyscript.py in the XSI startup
> batch file to update the registry before the application starts.
>
> i.e.:
>
> @(protected) off
> rem XSI 3.5.1 Startup batch file
> rem Set ActiveScripting to use Python 2.2.3 and win32all 148:
> C:\Python22\Lib\site-packages\win32comext\axscript\client\pyscript.py
> @(protected) Now we can start XSI:
> call C:\Softimage\XSI_3.5.1\Application\bin\setenv.bat
> start "" C:\Softimage\XSI_3.5.1\Application\bin\xsi.exe %1 %2 %3 %4
> %5 %6 %7 %8 %9

---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi