Closed BrushLee90 closed 5 years ago
In case you can not see the error snipping picture, I copy the error text as following:
Exception has occurred: IndexError
list index out of range
File "D:\cantestpython\d\canmatrix\arxml.py", line 897, in getArPath
baseElement = tree.xpath(xbasePath, namespaces=namespaceMap)[0]
File "D:\cantestpython\d\canmatrix\arxml.py", line 928, in arGetChild
ret = getArPath(xmlRoot, ret.text, namespace)
File "D:\cantestpython\d\canmatrix\arxml.py", line 1033, in getSignals
baseType = arGetChild(isignal,"BASE-TYPE", xmlRoot, ns)
File "D:\cantestpython\d\canmatrix\arxml.py", line 1369, in getFrame
getSignals(pdusigmapping, newFrame, xmlRoot, ns, None, float_factory)
File "D:\cantestpython\d\canmatrix\arxml.py", line 1612, in load
frameObject = getFrame(frameTrig,searchPoint,multiplexTranslation,ns, float_factory)
File "D:\cantestpython\d\canmatrix\formats.py", line 74, in load
dbs = moduleInstance.load(fileObject, **options)
File "D:\cantestpython\d\canmatrix\formats.py", line 67, in loadp
return None
File "D:\cantestpython\d\temprun.py", line 11, in
@BrushLee90 Thanks for your bug report. please give me a few days to analyze and fix. Did you try
arxmlobj = canmatrix.formats.loadp("test_GEE.arxml", arxmlUseXpath = False)
?
ok, it works when I add the parameter ! thanks a lot~
After upgrading to the release 0.7 version, there is an index error occurring as below:
The using test arxml file is listed:
test_GEE.zip