Collada export problems

For some reason I just can’t figure out why my collada export doesn’t work at all.

I’ve searched the forums and Google and can’t find anything to help me.

here’s the error message. Please point me to a solution :smiley:

FEEDBACK: Illusoft Collada 1.4 Plugin v0.3.159 started
Traceback (most recent call last):
File “C:\Program Files\Blender Foundation\Blender.blender\scripts\bpymodules
colladaImEx\cstartup.py”, line 609, in ButtonEvent
transl = translator.Translator(doImport,version,debug,fileName, useTrian
gles, usePolygons, bakeMatrices, exportSelection, newScene, clearScene, lookAt,
usePhysics, exportCurrentScene, exportRelativePaths, useUV, sampleAnimation, onl
yMainScene)
File “C:\Program Files\Blender Foundation\Blender.blender\scripts\bpymodules
colladaImEx ranslator.py”, line 63, in init
self.__Export(fileName)
File “C:\Program Files\Blender Foundation\Blender.blender\scripts\bpymodules
colladaImEx ranslator.py”, line 71, in __Export
documentTranslator.Export(filename)
File “C:\Program Files\Blender Foundation\Blender.blender\scripts\bpymodules
colladaImEx ranslator.py”, line 346, in Export
scenesList = sceneGraph.SaveToDae(bScene)
File “C:\Program Files\Blender Foundation\Blender.blender\scripts\bpymodules
colladaImEx ranslator.py”, line 516, in SaveToDae
nodeResult = sceneNode.SaveSceneToDae(rootNode,self.childNodes,daePhysicsMod
el,daePhysicsModelInstance)
File “C:\Program Files\Blender Foundation\Blender.blender\scripts\bpymodules
colladaImEx ranslator.py”, line 1879, in SaveSceneToDae
bindMaterials = meshNode.GetBindMaterials(bNode.getData(), daeGeometry.uvTex
tures, daeGeometry.uvIndex)
File “C:\Program Files\Blender Foundation\Blender.blender\scripts\bpymodules
colladaImEx ranslator.py”, line 2848, in GetBindMaterials
daeMaterial = materialNode.SaveToDae(bMaterial)
File “C:\Program Files\Blender Foundation\Blender.blender\scripts\bpymodules
colladaImEx ranslator.py”, line 3106, in SaveToDae
textureNode.AddImageTexture(daeEffect, texture.image);
File “C:\Program Files\Blender Foundation\Blender.blender\scripts\bpymodules
colladaImEx ranslator.py”, line 2911, in AddImageTexture
surfaceId = self.document.CreateID(bImage.name,’-surface’);
AttributeError: ‘NoneType’ object has no attribute ‘name’

Use Only Export Selection and deselect Empties.

I’m still getting the same problem

Using the latest version of Blender? What version?

yeah 2.49a. but I fixed it. All I had to do was totally uninstall blender including deleting all the folders (keeping the .blends of course), and do the same with python. In other words I just needed to start fresh. I betcha it was getting confused by all the python versions and scripts I had. So…all is well, thanks for the help :slight_smile:

Yeah, it’s the updated scripts. Whenever I build a new version from svn or download a new build I’ll copy over the scripts to my user’s .blend/ directory.

Do you know how to export a dae with animations? This says there’s a problem (http://cast3d.org/fixes:blenderfix) but is this problem fixed in 2.49a?

I’m trying, and failing to get my animated dae to play in flash. I’ve got some code that works with a dae from Maya but not from blender. My dae has <library_animations> but nothing is happening?!?

Honestly I can’t get the bone animations to work at all. It seems to really screw up. Hopefully (cross fingers) all this should be fixed in 2.5. They are working on a better collada import export script from what I understand.

Thanks Nayshun. I’ll just stick to non-animated projects for now and keep my fingers crossed too.

Mine doesn’t seem to “screw up” it just doesn’t do anything. :frowning: