Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23160

cantools Error: ARXML: "File contains multiple elements with path ..."

$
0
0

How can I suppress/ avoid/ skip the Error:

cantools.database.UnsupportedDatabaseFormatError: ARXML: "File contains multiple elements with path X"

X stands for actual path.

while running this code:

import cantoolsarxml_path = "test.arxml"arxml = cantools.db.load_file(arxml_path)

Why is it a problem, that multiple elements with the same path exist?Can I edit the arxml file without altering its functionality?

Note: I did not create the arxml file and unfortunately can't share it.Maybe someone has a hint.


Viewing all articles
Browse latest Browse all 23160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>