Can import a psk file but not fully export?

I have a Unreal 3 game character mesh in .psk format that I’ve imported into blender just fine. I made some minor adjustments to a few vertices, changing nothing else, and then have been trying to export it back to psk for use in the game from which I pulled it. I cannot get it to successfully export, however. It doesn’t produce any errors but when I try to import the psk file I just exported from blender, it fails. Is there some particular magic trick to exporting a UE psk mesh w/armatures/bones?

More data. As far as I can tell, there are no errors or problems during export:

_________________________________ Exporting ________________
Skeletal mesh data…
Points 6525
Wedges 7530
Faces 12821
Materials 2
Bones 119
Influences 15461
Exported: C:\Users\Praedor\Blender\Projects\Ashley-mesh.psk
Export completed in 160.63 seconds

But it is impossible to import the psk that I just exported:


vertex: 6525 faces: 12821
vertex2: 6525
Traceback (most recent call last):
File “C:\Program Files\Blender Foundation\Blender\2.66\scripts\addons\io_impor”, line 780, in execute
File “C:\Program Files\Blender Foundation\Blender\2.66\scripts\addons\io_impor”, line 720, in getInputFilenamepsk
pskimport(filename, importmesh, importbone, bDebugLogPSK, importmultiuvtextu
File “C:\Program Files\Blender Foundation\Blender\2.66\scripts\addons\io_impor”, line 587, in pskimport
File “C:\Program Files\Blender Foundation\Blender\2.66\scripts\modules\bpy\ops
.py”, line 188, in call
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.object.mode_set.poll() failed, context is incorre
location: <unknown location>:-1
location: <unknown location>:-1

Deleted by poster