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.
Blender Exporter error.
-
aniasis
- Kobold
- Posts: 38
- Joined: Fri Dec 17, 2004 5:56 am
- Location: Texas
- Contact:
Blender Exporter error.
Sanisis Software...hot software gets done!
------------------------------------------------
<a>How I learned to stop worrying and love the MMO</a>
------------------------------------------------
<a>How I learned to stop worrying and love the MMO</a>
- IoN_PuLse
- Goblin
- Posts: 220
- Joined: Mon May 31, 2004 5:54 am
- Location: Canada
- Contact:
-
Timme
- Greenskin
- Posts: 122
- Joined: Sun Mar 13, 2005 8:23 pm
- Location: Germany
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
Take a look at these topic:
http://www.ogre3d.org/phpBB2/viewtopic.php?t=9089
-
reimpell
- OGRE Contributor

- Posts: 570
- Joined: Mon Mar 01, 2004 10:35 am
- Location: Hamburg, Germany
Re: Blender Exporter error.
Your model probably has empty actions (i.e. actions without ipocurves). It should work with the latest CVS script version.aniasis wrote:TypeError: int() argument must be a string or a number