Drawable won't export (unknown error code)

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Drawable won't export (unknown error code)

Postby Aloys » Sat May 10, 2008 8:16 am

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:
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.. :? 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. :(
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: Drawable won't export (unknown error code)

Postby teedyo » Sat May 10, 2008 11:25 am

Perhaps that should be "self.obj" instead of "self,obj" ??? Just guessing.
teedyo
 
Posts: 212
Joined: Tue Oct 09, 2007 5:47 pm

Re: Drawable won't export (unknown error code)

Postby Paradox » Sat May 10, 2008 11:46 am

This is now fixed in the trunk. You can grab the file from the SVN yourself, or wait until tomorrow when the snapshot is generated.
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada

Re: Drawable won't export (unknown error code)

Postby D'Lanor » Mon May 12, 2008 3:02 pm

And now it has been unfixed in the trunk again! :o
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Drawable won't export (unknown error code)

Postby Nadnerb » Mon May 12, 2008 3:04 pm

Uhm, are you looking at the actual trunk? it looks fine from here..
Code: Select all
drawi=page.prp.find(0x16,name,1)
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: Drawable won't export (unknown error code)

Postby D'Lanor » Mon May 12, 2008 3:08 pm

Yes, I am. Or at least Tortoise is... :?

line 1553

Code: Select all
drawi=self.prp.findref(drawiref)
Last edited by D'Lanor on Mon May 12, 2008 3:09 pm, edited 1 time in total.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Drawable won't export (unknown error code)

Postby Nadnerb » Mon May 12, 2008 3:11 pm

oh.. two lines after. Let's have a little look at this log..

Edit: rats.. ok, my last commit unfixed it. ... fixing again.
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)


Return to Building

Who is online

Users browsing this forum: No registered users and 2 guests