rsa2elk icon indicating copy to clipboard operation
rsa2elk copied to clipboard

ElementTree ParseError

Open getkub opened this issue 3 years ago • 0 comments

hi Getting Errors while running the script as follows

# rsa2elk.py -p -q -e -f -r -t -z -i ./devices/ciscoasa/v20_ciscoasamsg.xml 

 conversion for devices/ciscoasa/v20_ciscoasamsg.xml
Traceback (most recent call last):
  File "/Users/test/git/rsa2elk/rsa2elk.py", line 29, in <module>
    convert.convertFile()
  File "/Users/test/git/rsa2elk/convert.py", line 55, in convertFile
    tree = et.parse(xml_file,parser=xmlp)
  File "/usr/local/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/xml/etree/ElementTree.py", line 1229, in parse
    tree.parse(source, parser)
  File "/usr/local/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/xml/etree/ElementTree.py", line 586, in parse
    parser.feed(data)
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0

getkub avatar Dec 10 '21 14:12 getkub