Blender Export Script: Seg Fault

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
User avatar
Jelly
Halfling
Posts: 41
Joined: Sat Jun 25, 2005 5:07 am
Location: London, UK
Contact:

Blender Export Script: Seg Fault

Post by Jelly »

Hi, I'm having trouble getting the blender exporter to work consistantly. I'm running blender 2.37a (static) under linux (ubuntu 5.04) with python 2.3. I select a mesh, run the export script, press 'Export' and blender shuts down with a segmentation fault. There doesn't appear to be any extra information either, which is annoying.

Is there some way I can get extra information to be produced? Are there any key things that I should be careful of when creating models to be exported? Sometimes it crashes when I'm setting up which actions to export, pressing the delete button seems to be a common trigger there. Although now I can't even just export the mesh. It did actually work once, after many times trying to get it to work.. but I can't get it to work again (using the exact same settings).

Anyway, I'm about to work through step by step creating a new mesh to see if I can identify where the problem occurs. But if anyone has any pointers that would be great.

Also, other scripts do seem to work fine.

Thanks,

- Jelly.
MWeb
Halfling
Posts: 45
Joined: Fri Sep 24, 2004 10:04 am
Location: Luzern, Switzerland
Contact:

Post by MWeb »

I had just the same problem try to use blender 2.36. This solved the problem for me.

Exportring meshs with animtions leaded always to a segfault. Meshs without animations worked most of the time.

I hope this helps.
User avatar
discipline
OGRE Community Helper
OGRE Community Helper
Posts: 766
Joined: Mon May 16, 2005 12:09 am

Post by discipline »

Did you compile blender yourself? Maybe try the binary version available from their site.
MWeb
Halfling
Posts: 45
Joined: Fri Sep 24, 2004 10:04 am
Location: Luzern, Switzerland
Contact:

Post by MWeb »

I did try both, compiling it my self and using the binary version. Also i tried to use the windows version. Allways the same problem. But no segfault with 2.36.
User avatar
discipline
OGRE Community Helper
OGRE Community Helper
Posts: 766
Joined: Mon May 16, 2005 12:09 am

Post by discipline »

Maybe it's your mesh. I haven't had any problems on debian or windows. Try playing with a basic cube, with a material.
reimpell
OGRE Contributor
OGRE Contributor
Posts: 570
Joined: Mon Mar 01, 2004 10:35 am
Location: Hamburg, Germany

Re: Blender Export Script: Seg Fault

Post by reimpell »

Jelly wrote:Hi, I'm having trouble getting the blender exporter to work consistantly. I'm running blender 2.37a (static) under linux (ubuntu 5.04) with python 2.3. I select a mesh, run the export script, press 'Export' and blender shuts down with a segmentation fault.
There seem to be serious flaws with Blender's Python interface in 2.37/2.37a on all platforms. As soon as armature animations are used, I get a lot of random segmentation faults. Since Blender's armature animation code changed in CVS, I hope this problems will vanish with the next Blender release. If you need armature animations, please use Blender 2.36 for now.
User avatar
sunetos
Greenskin
Posts: 101
Joined: Fri Sep 09, 2005 11:00 pm

Post by sunetos »

Just to throw a random comment in the other direction, we have exported baked armature animations with no problems on either osx and windows.
MWeb
Halfling
Posts: 45
Joined: Fri Sep 24, 2004 10:04 am
Location: Luzern, Switzerland
Contact:

Post by MWeb »

Maybe it's your mesh. I haven't had any problems on debian or windows. Try playing with a basic cube, with a material.
I did exatctli this, it worked just perfect until i added some bones, attached theme to the cube and did some kind of animation. I get only problems with the cube if i have animtions, the bones it self aren't the problem.
I have no idea what i may do wrong but maybe i do, but since it works with 2.36. I don't care.
User avatar
Jelly
Halfling
Posts: 41
Joined: Sat Jun 25, 2005 5:07 am
Location: London, UK
Contact:

Post by Jelly »

Thanks all, I'll use 2.36 for my mesh / animation exporting. I just tried with a simple mesh and it's fine, but as soon as you add an armature with animation it does indeed start to cause problems. Shame.

Anyway, as long as I know.. it isn't a problem. Thanks,

- Jelly.
Post Reply