Sorry to drag this one up after so long, thought I'd state the resolution. Essentially it was due to pywin32 post install function wigging out, but this never materialized as an issue since everything else relying on it works fine. So if you ever find XSI does not start up after flicking over to external python:
- try reinstalling pywin32 (it will probably state there was an exception running the postinstall functionality). - copy python27.dll to windows/system32/ Should be alright from then on. hth someone, it's been a right pita for us. Jules On Wed, Nov 28, 2012 at 10:44 AM, Stephen Blair <[email protected]>wrote: > You could also try using Process Monitor to see what's going on, and to > compare with a working install. > > > > On 27/11/2012 9:48 PM, Konstantin Levinski wrote: > >> Hi Jules, >> >> The crash might be caused by wrong python dll's in the path, or incorrect >> registry entries for them. >> >> Does simple COM example like this: >> >> import win32com.client >> o = win32com.client.Dispatch("**Excel.Application") >> o.Visible = 1 >> o.Workbooks.Add() >> o.Cells(1,1).Value = "Hello" >> >> work from inside plain python (No XSI) on your affected machine? >> >> Are there other python versions on the same machine? >> You could check which python27.dll, pythoncom27.dll and pywintypes27.dll >> are in the path. >> >> Konstantin. >> >> From: >> softimage-bounces@listproc.**autodesk.com<[email protected]>[mailto: >> softimage-bounces@**listproc.autodesk.com<[email protected]>] >> On Behalf Of Jules Stevenson >> Sent: Monday, November 26, 2012 8:36 PM >> To: [email protected].**com <[email protected]> >> Subject: External Python not working on some machines >> >> Hey List, we're having some issues where attempting to use external >> python on *some* machines means soft crashes on startup. What's wierd is >> all machines are the same hardware, and the same python install. Python >> install is 2.7.4, pywin32-217. >> >> Anyone got any ideas what could be causing the crash - I'm getting >> nothing from soft as it crashes on startup. >> >> Many thanks, >> >> Jules >> > >

