Exporter exception

View previous topic View next topic Go down

Exporter exception

Post  matt on Thu Oct 30, 2008 3:57 pm

I'm getting this exception on a blend file:

Code:
30.10.08 22:43:58 [0x0-0x2c02c].org.blenderfoundation.blender[1861] SIO2::Exporter v1.2.1
30.10.08 22:43:58 [0x0-0x2c02c].org.blenderfoundation.blender[1861] Copyright (C) 2008 SIO2 Interactive
30.10.08 22:43:58 [0x0-0x2c02c].org.blenderfoundation.blender[1861] Traceback (most recent call last):
30.10.08 22:43:58 [0x0-0x2c02c].org.blenderfoundation.blender[1861]  File "/Applications/blender.app/Contents/MacOS/.blender/scripts/sio2_exporter_v1.2.1.py", line 151, in event_gui
30.10.08 22:43:58 [0x0-0x2c02c].org.blenderfoundation.blender[1861]    if( event == EVENT_EXPORT      ): export()
30.10.08 22:43:58 [0x0-0x2c02c].org.blenderfoundation.blender[1861]  File "/Applications/blender.app/Contents/MacOS/.blender/scripts/sio2_exporter_v1.2.1.py", line 572, in export
30.10.08 22:43:58 [0x0-0x2c02c].org.blenderfoundation.blender[1861]    f = open( output + "material/" + mat.getName(), "w")
30.10.08 22:43:58 [0x0-0x2c02c].org.blenderfoundation.blender[1861] AttributeError: 'NoneType' object has no attribute 'getName'

I'm using Blender 2.48 with the exporter from SIO2_SDK_v1.2.1_REVISION_A.zip.

Apparently there's problem with a material. How can I find out what's going on? Unfortunately I cannot provide this blend file this time :-(

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: Exporter exception

Post  matt on Thu Oct 30, 2008 4:08 pm

Got it. There were some indexes on some objects which linked to "empty" materials. I had to delete them for all objects manually and then it went smooth.

Although it seems that the Blender scene is somehow faulty then, I think the exporter should gracefully ignore this and continue...

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: Exporter exception

Post  sio2interactive on Thu Oct 30, 2008 4:12 pm

I agree but, I never meet this situation... can you please reproduce the bug and send me a .blend so I can permanently fix it in the exporter.

Tks!
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Exporter exception

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum