Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error when trying to convert 2.1 template to 3.0 #5

Open
mlawday opened this issue Oct 20, 2017 · 1 comment
Open

Getting error when trying to convert 2.1 template to 3.0 #5

mlawday opened this issue Oct 20, 2017 · 1 comment

Comments

@mlawday
Copy link

mlawday commented Oct 20, 2017

Here is the command I'm trying to run: zabbix-template-converter -o 3.0 template-pfsense21.xml > template-pfsense3.xml

This is the error I'm getting:

Traceback (most recent call last):
File "/bin/zabbix-template-converter", line 343, in
main()
File "/bin/zabbix-template-converter", line 322, in main
doc = ET.parse(args.file)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 656, in parse
parser.feed(data)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 42, column 91

I've also attached the template I'm trying to convert

@hlovdal
Copy link

hlovdal commented Jan 31, 2022

This tool is only for downgrading (e.g. 2.1 to 3.0) and not the other way around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants