Blender Exporter error.

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
aniasis
Kobold
Posts: 38
Joined: Fri Dec 17, 2004 5:56 am
Location: Texas
Contact:

Blender Exporter error.

Post by aniasis »

I have been trying to assemble a tech demo using Blender + Ogre. My modeler has created several models for me. Not being familiar with Ogre I told him just to give me the model files and I would export to the engine. When I attempt to use the OgreExporter script for Blender I run into a Python error...

Traceback (most recent call last):
File "<string>", line 3795, in ?
File "<string>", line 3436, in initGUI
File "<string>", line 3425, in refreshGUI
File "<string>", line 615, in __init__
File "<string>", line 846, in _addArmatureActionActuator
TypeError: int() argument must be a string or a number

Apparently it is a type mismatch error. After debugging the script I noticed that one of the key frames has a value of None instead of an integer. The only wierd thing though is that I has comparable models which export successfully. I don't know how that frame key could have hat value. I am using the version 1.0.0 of the OgreExporter.

If there are any ideas contact me ASAP because I am really trying to put this demo together.
Sanisis Software...hot software gets done!
------------------------------------------------
<a>How I learned to stop worrying and love the MMO</a>
User avatar
IoN_PuLse
Goblin
Posts: 220
Joined: Mon May 31, 2004 5:54 am
Location: Canada
Contact:

Post by IoN_PuLse »

What is the version of Blender you are using, what OS are you using, what version of Python do you have installed...

Check the names of your actions, perhaps one of them has character in them that the export script is getting confused about...
Timme
Greenskin
Posts: 122
Joined: Sun Mar 13, 2005 8:23 pm
Location: Germany

Post by Timme »

Blender doesn't work with Python 2.4. Check whether your PYTHON_PATH is set, please.

Take a look at these topic:

http://www.ogre3d.org/phpBB2/viewtopic.php?t=9089
reimpell
OGRE Contributor
OGRE Contributor
Posts: 570
Joined: Mon Mar 01, 2004 10:35 am
Location: Hamburg, Germany

Re: Blender Exporter error.

Post by reimpell »

aniasis wrote:TypeError: int() argument must be a string or a number
Your model probably has empty actions (i.e. actions without ipocurves). It should work with the latest CVS script version.
Post Reply