SC2Mapster / m3addon

Blender Addon to import and export m3 files
GNU General Public License v2.0
49 stars 18 forks source link

There and back again (M3 to XML and back) issue with Archon #9

Closed emnh closed 5 years ago

emnh commented 5 years ago
emh@multicom:/mnt/e/sc2e/dev2/m3addon$ ./m3ToXml.py ../models/Archon.m3
Converting files..
../models/Archon.m3 -> ../models/Archon.m3.xml
1 files found, 1 converted, 0 failed in 0.32 s
emh@multicom:/mnt/e/sc2e/dev2/m3addon$ ./xmlToM3.py ../models/Archon.m3.xml
Converting ../models/Archon.m3.xml -> ../models/Archon.m3
Traceback (most recent call last):
  File "./xmlToM3.py", line 218, in <module>
    convertFile(filePath, outputDirectory)
  File "./xmlToM3.py", line 166, in convertFile
    doc = xml.dom.minidom.parse(inputFilePath)
  File "/usr/lib/python3.6/xml/dom/minidom.py", line 1958, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python3.6/xml/dom/expatbuilder.py", line 911, in parse
    result = builder.parseFile(fp)
  File "/usr/lib/python3.6/xml/dom/expatbuilder.py", line 207, in parseFile
    parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 146284, column 24