Hi all,
For me (actually SVN-1570, Solaris), the MH Collada export looks good, i have my four collada files as well. But at the Blender (2.49) import (dae-1.4), i get :
Traceback (most recent call last):
File "/.blender/scripts/bpymodules/colladaImEx/cstartup.py", line 681, in ButtonEvent
File "/.blender/scripts/bpymodules/colladaImEx/translator.py", line 111, in __init__
File "/.blender/scripts/bpymodules/colladaImEx/translator.py", line 118, in __Import
File "/.blender/scripts/bpymodules/colladaImEx/translator.py", line 298, in Import
File "/.blender/scripts/bpymodules/colladaImEx/collada.py", line 89, in LoadDocumentFromFile
File "/.blender/scripts/bpymodules/colladaImEx/collada.py", line 295, in LoadFromXml
File "/.blender/scripts/bpymodules/colladaImEx/xmlUtils.py", line 70, in ReadDateTime
File "/.blender/scripts/bpymodules/colladaImEx/xmlUtils.py", line 105, in GetDateTime
IndexError: list index out of range
GetDateTime... Solaris related ? My Blender a bit too old ? Or ? Other hand, i can import other Collada files like Google 3D models successfully.
As GetDateTime in my Blender config i have this :
def GetDateTime(xmlvalue):
vals = xmlvalue.split('T')
datestr = vals[0]
timestr = vals[1] <------------------ Line 105
date = datestr.split('-')
time = timestr.split(':')
time[2]=time[2].rstrip('Z')
return datetime(int(date[0]), int(date[1]), int(date[2]),int(time[0]), int(time[1]), int(float(time[2])))
In the MH case, i also tried to import in Blender as dae-1.3 : no error message in the console, but also no model in the scene.
Greatings,
Sergio