Thanks Danny.
Bernard
On 7/14/05, Danny Yoo <[EMAIL PROTECTED]> wrote:
>
> > > So the errors are getting raised before Python even knows there is a
> > > problem, so it cannot catch them in an except block. From my very
> > > limited expoerience of COM programming I'd guess that there is a typ
> > So the errors are getting raised before Python even knows there is a
> > problem, so it cannot catch them in an except block. From my very
> > limited expoerience of COM programming I'd guess that there is a type
> > mismatch somewhere either in the data you are passing in or in the
> > data y
Thanks Alan,
I'll check it out.
Cheers
Bernard
On 7/14/05, Alan G <[EMAIL PROTECTED]> wrote:
> > Isn't the OLEError alike the ValueError, KeyError and so on?
> > If so shouldn't it go before the colon?
>
> The problem, as I understand it, is that OLEError is not coming
> from Python but from
> Isn't the OLEError alike the ValueError, KeyError and so on?
> If so shouldn't it go before the colon?
The problem, as I understand it, is that OLEError is not coming
from Python but from COM.
So the errors are getting raised before Python even knows there
is a problem, so it cannot catch th
> I just noticed you put OLEError before the colon you should have
> except: OLEError print "ole"
I doubt if that would work effectively.
> if that doesn't work you could just get rid of the OLEError bit
> and all errors will be ignored.
And that is decidedly dangerous unless you are sure that
Isn't the OLEError alike the ValueError, KeyError and so on? If so
shouldn't it go before the colon?
Thanks
Bernard
On 7/14/05, Adam Bark <[EMAIL PROTECTED]> wrote:
> I just noticed you put OLEError before the colon you should have
> except:
> OLEError
> print "ole"
>
> if that do
I just noticed you put OLEError before the colon you should have
except:
OLEError
print "ole"
if that doesn't work you could just get rid of the OLEError bit and all errors will be ignored.On 7/14/05, Bernard Lebel <
[EMAIL PROTECTED]> wrote:Very well.#INFO : < NewRenderShot > importAnimat
Very well.
#INFO : < NewRenderShot > importAnimation> :: Import action for character ""...
#ERROR : 2000 - Argument 0 (Source) is invalid
#ERROR : 2001-ANIM-ApplyAction - Argument 0 is invalid - [line 3543 in
D:\Software\Softimage\XSI_4.2\Application\DSScripts\action.vbs]
#ERROR : 21000-ANIM-Impo