Blender XML exporter script error

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
Ruel
Gnoblar
Posts: 3
Joined: Tue Nov 22, 2005 5:51 pm

Blender XML exporter script error

Post by Ruel »

I'm trying to figure out how to use the Blender Mesh and Armature Exporter. I've exported to other formats with Python scripting in the past, but I can't get this one to work. Regardless of the options that I select, when I click the "Export" button, I get a script error message. The Python console then shows this error message:

Using Python version 2.4
Traceback (most recent call last):
File "<string>", line 3507, in buttonCallback
File "<string>", line 3160, in export
File "<string>", line 3009, in export_mesh
SystemError: error return without exception set

I have some experience with Blender and some experience with Python, but a script this size is just too big for me to approach easily. Any ideas what I'm doing wrong?
reimpell
OGRE Contributor
OGRE Contributor
Posts: 570
Joined: Mon Mar 01, 2004 10:35 am
Location: Hamburg, Germany

Re: Blender XML exporter script error

Post by reimpell »

Do you use a stable Blender version (latest stable is 2.37a)? The latest Blender version with a stable armature python api is 2.36, though.
Ruel
Gnoblar
Posts: 3
Joined: Tue Nov 22, 2005 5:51 pm

Post by Ruel »

Version 2.40a1. Thanks. I'll try switching backwards to 2.36.
Ruel
Gnoblar
Posts: 3
Joined: Tue Nov 22, 2005 5:51 pm

Post by Ruel »

Couldn't find 2.36 easily, so I tried 2.37. Had to get a copy of Python 2.3 again (I've been using 2.4 for a while now). In any case, it appears to now be functional. At least, it created an XML file. Next, I convert that to a .mesh and try it out.
User avatar
Jerky
Orc Shaman
Posts: 791
Joined: Wed Mar 02, 2005 4:13 am
Location: Springville, Utah
Contact:

Post by Jerky »

The problem was your version of Python. I recently saw the same errors and Python was the culprit. Glad you got it fixed.
Erik Briggs (Jerky)
My Blog
Project Wish
Image
reimpell
OGRE Contributor
OGRE Contributor
Posts: 570
Joined: Mon Mar 01, 2004 10:35 am
Location: Hamburg, Germany

Post by reimpell »

Ruel wrote:Couldn't find 2.36 easily
Blender 2.36
Post Reply