Blender crashing with faulity python scripts.

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

ideasman
Posts: 1000
Joined: Tue Feb 25, 2003 2:37 pm

Blender crashing with faulity python scripts.

Postby ideasman » Tue Jul 15, 2003 7:27 am

I have just started programming in python form withing blender and I have noticed that errors in python code SOMETIMES crash blender.

Is there a way around this?

Its not too bad in linux because you just start blender again but in win2k blender takes about 2m to close after a crash.

Does anybody have a workaround?

SirDude
Posts: 941
Joined: Sun Oct 13, 2002 7:37 pm
Location: University of Minnesota (USA)
Contact:

Postby SirDude » Tue Jul 15, 2003 3:41 pm

I haven't played around with many python scripts lately.
Is it repeatable with the same script?
If so could you post one thats giving you problems...

Also what version of blender are you using with it...

ideasman
Posts: 1000
Joined: Tue Feb 25, 2003 2:37 pm

Postby ideasman » Wed Jul 16, 2003 12:37 pm

It heppens quite frequently and often because of syntax errors.

you could try doing a

print 2 / 0

Sometimes this crashes blender, other times not.
I know devide by zero is BAD but it should still never crash blender (just the script).


Return to “Python”

Who is online

Users browsing this forum: No registered users and 0 guests