Re: Urgent! Random Python errors
| Date : Fri, 28 Mar 2008 14:21:45 -0600 |
| To : XSI(at)Softimage.COM |
| From : "Bradley Gabe" <withanar(at)gmail.com> |
| Subject : Re: Urgent! Random Python errors |
It is only consistent, apparently, in that it happens at random on Python scripts. Sometimes a command will run, other times not.
The very fact that I have no consistent, reliable repro steps is why I haven't logged it.
That said, you could try the following and maybe repro at some point:
1) Build an XSI rig
2) Add various custom PSets to the rig with different names and different custom parameters
3) Write a python script that grabs a pointer to the various parameters using the direct name shortcut (obj = Prop.paramName) and does a LogMessage of the parameter value.
On a complex enough rig, or run enough times, eventually you should raise the error. Your script may run all the way through on the first try, if so... try again in an hour after you've worked on other Python things. Keep trying over the course of a week. If the script eventually crashes then you've repro'd in the same way we have. :-)
I've even run into this issue with pipeline scripts that were written and used here at Janimation for over a year. I imported and use someone else's module and it worked fine a dozen times, until suddenly one day I got a dispatch error that wasn't there a moment ago in a script that worked. I was able to track it down, exactly, to a custom parameter being referenced by shortcut. I quietly changed it in the source file and it immediately started working again.
On Fri, Mar 28, 2008 at 1:50 PM, Marc-André Belzile <mbelzile(at)softimage.com> wrote:
If you ever come up with solid repros please file a bug. I've been chasing this one for ages but never succeeded to pin point the problem.thanks-mab
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Bradley Gabe
Sent: March 28, 2008 2:05 PMFor anyone keeping track, I initially ran into this dispatch bug on linux, but I have also been hitting it in Windows. So it's not a platform issue.
On Fri, Mar 28, 2008 at 11:39 AM, Raffaele Fragapane <raffsxsilist(at)googlemail.com> wrote:
Of course you'd know better than I do how Python can screw up since you write some of the most convention violating, brutal, PEP vulgar python code ever produced. No wonders you saw all the problems already and then some.
As for my boots, you're welcome to come over and lick them clean again :p
On Fri, Mar 28, 2008 at 5:27 PM, Nick <nick.petit(at)gmail.com> wrote:
He really thinks python is what his
boots are made of.
- Follow-Ups:
- Re: Urgent! Random Python errors
- From: "Steven Caron" <carons(at)gmail.com>
- Re: Urgent! Random Python errors
- References:
- Re: Urgent! Random Python errors
- From: "Bradley Gabe" <withanar(at)gmail.com>
- RE: Urgent! Random Python errors
- From: Marc-André Belzile <mbelzile(at)Softimage.COM>
- Re: Urgent! Random Python errors
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Re: Urgent! Random Python errors
- Next by Date: Re: Urgent! Random Python errors
- Previous by Thread: Re: Urgent! Random Python errors
- Next by Thread: Re: Urgent! Random Python errors
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |