AttributeTrouble Importing Collada Files from Maya 2011 into Blender

AttributeTrouble Importing Collada Files from Maya 2011 into Blender

Anonymous
Not applicable
274 Views
0 Replies
Message 1 of 1

AttributeTrouble Importing Collada Files from Maya 2011 into Blender

Anonymous
Not applicable
I'm rather unfamiliar with Python, but whenever I go to import a Collada file that I made with Maya 2011 into Blender, I get an "AttributeError: 'NoneType' object has no attribute 'split'".

To resolve this problem, I tried to install a Maya to Blender Collada Plugin that I happened to have found. After opening the colladaImport41.py in Blender's text editor and then running the script, I then tried to import my Maya collada file into Blender. However, the results were still the same as before - except that the line-numbers changed.

Here's a copy of my traceback that was printed onto the console after I failed to import a collada from Maya into Blender:
  File "C:�HO;MEPATH%\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\bpymodules\colladaImEx\cstartup.py", line 610, 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:\Users\<USERNAME>\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\bpymodules\colladaImEx\translator.py", line 61, in __init__
self.__Import(fileName)
File "C:\Users\<USERNAME>\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\bpymodules\colladaImEx\translator.py", line 67, in __Import
documentTranslator.Import(fileName)
File "C:\Users\<USERNAME>\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\bpymodules\colladaImEx\translator.py", line 247, in Import
self.colladaDocument.LoadDocumentFromFile&#40;fileName&#41;
File "C:\Users\<USERNAME>\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\bpymodules\colladaImEx\collada.py", line 86, in LoadDocumentFromFile
self.asset.LoadFromXml(self,xmlUtils.FindElementByTagName(colladaNode,DaeSyn
tax.ASSET))
File "C:\Users\<USERNAME>\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\bpymodules\colladaImEx\collada.py", line 294, in LoadFromXml
self.keywords = xmlUtils.GetStringArrayFromNodes(xmlNode.getElementsByTagNam
e(DaeSyntax.KEYWORDS))
File "C:\Users\<USERNAME>\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\bpymodules\colladaImEx\xmlUtils.py", line 111, in GetStringArrayFromNodes
stringvals = ReadContents(xmlNode).split( )
AttributeError: 'NoneType' object has no attribute 'split'


I'm hoping that someone on this forum has solved this same problem and can just tell me what I can do to fix it. Thanks in advanced.
0 Likes
275 Views
0 Replies
Replies (0)