Page 1 of 1

Blender XML exporter script error

Posted: Tue Nov 22, 2005 6:01 pm
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?

Re: Blender XML exporter script error

Posted: Tue Nov 22, 2005 6:17 pm
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.

Posted: Tue Nov 22, 2005 6:35 pm
by Ruel
Version 2.40a1. Thanks. I'll try switching backwards to 2.36.

Posted: Tue Nov 22, 2005 6:55 pm
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.

Posted: Tue Nov 22, 2005 6:58 pm
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.

Posted: Tue Nov 22, 2005 8:20 pm
by reimpell
Ruel wrote:Couldn't find 2.36 easily
Blender 2.36