Drawable won't export (unknown error code)

I'm trying to export a shell for Ahra Pahts (which I haven't done in a while) and I get this unknown error message on the very first drawable:
I've eliminated the usual suspects and I can't find what's wrong.. This is a very basic drawable, I've checked the material, the various properties, the alcscript, everything I could think of, I've been at it for two days and I just can't find what wrong..
I'm worried because this is part of the Ahra shells, and I've handed out quite a couple of them and they used to export fine..
I haven't exported one myself in a while so I don't know if this is a recent problem or not..
Any help would be welcome.
- Code: Select all
Traceback (most recent call last):
File "<string>", line 173, in open_file
File "<string>", line 88, in export_age
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alcresmanager.py", line 666, in export_all
plDrawInterface.Export(self,obj,scnobj,name,SceneNodeRef,isdynamic,softVolumeParser)
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alc_DrawClasses.py", line 1549, in _Export
drawi=self.prp.findref(drawiref)
NameError: global name 'self' is not defined
I've eliminated the usual suspects and I can't find what's wrong.. This is a very basic drawable, I've checked the material, the various properties, the alcscript, everything I could think of, I've been at it for two days and I just can't find what wrong..
I'm worried because this is part of the Ahra shells, and I've handed out quite a couple of them and they used to export fine..

Any help would be welcome.
