Game Development Community

Exporter Error

by Owyn Murtason · in Artist Corner · 03/27/2008 (5:19 am) · 9 replies

I've been using the PG MMOKit for a while, and just noticed that Mr. Greenawalt posted the Blender source files for the MMO Kit characters. I tried exporting them as is into the DTS format, and they worked fine. However, if I add another armature, Mount4, onto the rigging it crashes the exporter with the following error:

Exporting...
Dumping traceback to log...
Dumping output to console
Traceback (most recent call last):
File "C:\Program Files\Blender\.blender\scripts\Common_Gui.py", line 1406, in
button_event
c.onAction(evt, curMousePos, -1)
File "C:\Program Files\Blender\.blender\scripts\Common_Gui.py", line 666, in o
nAction
control.onAction(evt, newpos, value)
File "C:\Program Files\Blender\.blender\scripts\Common_Gui.py", line 155, in o
nAction
if self.callback: self.callback(self)
File "", line 1369, in guiBaseCallback
File "", line 1308, in export
File "", line 908, in process
File "", line 1096, in process
File "C:\Program Files\Blender\.blender\scripts\DtsShape_Blender.py", line 705
, in addAllArmatures
if nodeOrderDict[bone.name] < nodeOrderDict[bone.parent.name]:
KeyError: 'Mount4'
Dumping output to file 'C:\Users\Taylor\Game\human_male_thin\human_male_thin.log
'
Dumping output to console


I'm using the latest export, version .96, to export the model.

Thanks,
Owyn M.

About the author

Recent Threads


#1
03/27/2008 (6:16 am)
...
#2
03/27/2008 (6:40 am)
Thanks for replying so quickly Joseph. I appreciate you looking into the code.

Owyn M.
#3
03/27/2008 (6:55 am)
...
#4
03/27/2008 (7:20 am)
Thanks, I'll give that a try once I get home.

Owyn M.
#5
03/27/2008 (7:33 am)
I am now recieving a different error. It looks quite similar to the previous one, though. Here is the log file:

Exporting...
Dumping traceback to log...
Dumping output to console
Traceback (most recent call last):
File "C:\Program Files\Blender\.blender\scripts\Common_Gui.py", line 1406, in
button_event
c.onAction(evt, curMousePos, -1)
File "C:\Program Files\Blender\.blender\scripts\Common_Gui.py", line 666, in o
nAction
control.onAction(evt, newpos, value)
File "C:\Program Files\Blender\.blender\scripts\Common_Gui.py", line 155, in o
nAction
if self.callback: self.callback(self)
File "", line 1369, in guiBaseCallback
File "", line 1308, in export
File "", line 908, in process
File "", line 1096, in process
File "C:\Program Files\Blender\.blender\scripts\DtsShape_Blender.py", line 705
, in addAllArmatures
for bone in armData.bones.values():
KeyError: 'Mount4'


Owyn M.
#6
03/27/2008 (7:46 am)
...
#7
03/27/2008 (8:01 am)
Ok, I'll give that shot.
#8
03/28/2008 (4:28 am)
Sorry it took so long to get back to you. The Python script works, I just had to get rid of the .pyc files. Thanks a bunch for all your help Joseph.

Owyn M.
#9
03/28/2008 (4:32 am)
...