Re: XSI crashes on startup when updating a workgroup

Date : Thu, 28 Feb 2008 21:06:02 -0500
To : XSI(at)Softimage.COM
From : "Bernard Lebel" <3dbernard(at)gmail.com>
Subject : Re: XSI crashes on startup when updating a workgroup
Yeah I had similar symptoms recently. In my case it was because I was
calling UpdatePlugins() from a plugin to be updated.

What I did is I wrote a separate plugin that deals exclusively with
the synchronization of the workgroup. This plugin is never updated, so
no problem of having it crashing XSI, and I don't even need to call
UpdatePlugins() from it.

This plugin name is prefixed with an a, and not the other plugins, so
it always loads first. Then it copies the new files onto the local
workgroup. Because it all other plugins have not been loaded yet, I
don't need to call UpdatePlugins(), it just loads the fresh new
plugins.

Problem entirely solved.



Cheers
Bernard



On Thu, Feb 28, 2008 at 8:24 PM, Matt Lind <mlind(at)carbinestudios.com> wrote:
>
>
> Hello all,
>     I'm trying to develop a delivery system for our custom XSI tools, but am
> running into an issue with XSI crashing intermittently.
>
> Each of our artists has a workgroup on their computer which contains all our
> custom scripts and addons.  The latest published copy of each of our tools
> is located on a centralized server.  Every time an artist launches XSI, an
> XSI OnStartup event is triggered (Jscript) which deletes the contents of the
> artist's workgroup Plugins folder (everything except the startup event
> script, of course), then copies the latest published tools from the server
> into the workgroup and finishes off with a call to
> XSIApplication.UpdatePlugins().  For the most part this works.  However
> we're encountering a problem which I'm having difficulty solving.
>
> When the artist starts XSI for the first time in the morning, XSI crashes on
> startup.  The famliar XSI encountered an unexpected error and must close
> appears in a dialog.  If the artist restarts XSI, it loads just fine.  If
> the artist goes to lunch or takes an extended break from XSI, the first time
> they launch XSI after the break, XSI crashes on startup again.  But if the
> artist restarts XSI, it works fine.  If user exits XSI normally, then
> restarts XSI within 5 minutes, XSI works just fine.
>
> So the pattern is: if XSI is not in use for more than ~5 minutes and is then
> launched, it will crash on startup.  For the life of me I cannot figure out
> what's causing the problem as, to the best of my knowledge, I am not
> deleting any files that XSI would need upon startup.  I'm assuming there's a
> caching issue at play here and possibly an order of operations issue, but I
> don't know where to look as I don't have any error messages coming from XSI
> to point me in a particular direction.
>
> Anybody got any ideas?
>
> Running XSI 6.01 on Windows XP SP2 Intel (32 bit)
>
> Thanks,
>
> Matt
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.