Collada 1.4.0 Plugin for Blender : Collada Plugin for Blender Forum The fastest message board....ever.
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Collada not working at all 2.49a
Posted by: nayshun (IP Logged)
Date: July 4, 2009 03:52AM

I have know clue what is wrong with my collada exporter. I try exporting a simple cube and here's the error that I get. Something about an attribute error.

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\translator.py", line 63, in __init__
self.__Export(fileName)
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\bpymodules\
colladaImEx\translator.py", line 71, in __Export
documentTranslator.Export(filename)
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\bpymodules\
colladaImEx\translator.py", line 346, in Export
scenesList = sceneGraph.SaveToDae(bScene)
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\bpymodules\
colladaImEx\translator.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\translator.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\translator.py", line 2848, in GetBindMaterials
daeMaterial = materialNode.SaveToDae(bMaterial)
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\bpymodules\
colladaImEx\translator.py", line 3106, in SaveToDae
textureNode.AddImageTexture(daeEffect, texture.image);
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\bpymodules\
colladaImEx\translator.py", line 2911, in AddImageTexture
surfaceId = self.document.CreateID(bImage.name,'-surface');
AttributeError: 'NoneType' object has no attribute 'name'


Any idea's on what's going on here? Thanks for the help. smiling smiley

Re: Collada not working at all 2.49a
Posted by: J0seph (IP Logged)
Date: September 3, 2009 05:34PM

Unfortunately, this plugin is dead for all Blender versions that don't use it's associated python generation. This is actually pretty common. As anyone who's been in the 3d community a while can attest, often developers get bored updating their scripts and modules and slowly abandon them.

Not real sure why they included it with 249. Maybe for sentimental purposes. But don't give up hope, collada is extremely popular so inevitably someone will take up the cause. In the meantime rolling back your py/blender package seems to be the only option.




Sorry, only registered users may post in this forum.
This forum powered by Phorum.