error in panos_template_stack.py module xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 540 #545
sachinjose214
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
error in panos_template_stack.pyxml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 540
{
"module_stdout": "",
"module_stderr": "Traceback (most recent call last):\n File "/root/.ansible/tmp/ansible-tmp-1708102407.8004851-20308-75982064460810/AnsiballZ_panos_template_stack.py", line 102, in \n _ansiballz_main()\n File "/root/.ansible/tmp/ansible-tmp-1708102407.8004851-20308-75982064460810/AnsiballZ_panos_template_stack.py", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/root/.ansible/tmp/ansible-tmp-1708102407.8004851-20308-75982064460810/AnsiballZ_panos_template_stack.py", line 40, in invoke_module\n runpy.run_module(mod_name='ansible_collections.paloaltonetworks.panos.plugins.modules.panos_template_stack', init_globals=None, run_name='main', alter_sys=True)\n File "/usr/lib64/python3.6/runpy.py", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_template_stack.py", line 124, in \n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_template_stack.py", line 120, in main\n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/module_utils/panos.py", line 509, in process\n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/module_utils/panos.py", line 681, in apply_state\n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/module_utils/panos.py", line 79, in eltostr\n File "/usr/local/lib/python3.6/site-packages/panos/base.py", line 533, in element_str\n parsed = minidom.parseString(raw)\n File "/usr/lib64/python3.6/xml/dom/minidom.py", line 1968, in parseString\n return expatbuilder.parseString(string)\n File "/usr/lib64/python3.6/xml/dom/expatbuilder.py", line 925, in parseString\n return builder.parseString(string)\n File "/usr/lib64/python3.6/xml/dom/expatbuilder.py", line 223, in parseString\n parser.Parse(string, True)\nxml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 540\n",
"exception": "Traceback (most recent call last):\n File "/root/.ansible/tmp/ansible-tmp-1708102407.8004851-20308-75982064460810/AnsiballZ_panos_template_stack.py", line 102, in \n _ansiballz_main()\n File "/root/.ansible/tmp/ansible-tmp-1708102407.8004851-20308-75982064460810/AnsiballZ_panos_template_stack.py", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/root/.ansible/tmp/ansible-tmp-1708102407.8004851-20308-75982064460810/AnsiballZ_panos_template_stack.py", line 40, in invoke_module\n runpy.run_module(mod_name='ansible_collections.paloaltonetworks.panos.plugins.modules.panos_template_stack', init_globals=None, run_name='main', alter_sys=True)\n File "/usr/lib64/python3.6/runpy.py", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_template_stack.py", line 124, in \n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_template_stack.py", line 120, in main\n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/module_utils/panos.py", line 509, in process\n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/module_utils/panos.py", line 681, in apply_state\n File "/tmp/ansible_panos_template_stack_payload_evd08xi8/ansible_panos_template_stack_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/module_utils/panos.py", line 79, in eltostr\n File "/usr/local/lib/python3.6/site-packages/panos/base.py", line 533, in element_str\n parsed = minidom.parseString(raw)\n File "/usr/lib64/python3.6/xml/dom/minidom.py", line 1968, in parseString\n return expatbuilder.parseString(string)\n File "/usr/lib64/python3.6/xml/dom/expatbuilder.py", line 925, in parseString\n return builder.parseString(string)\n File "/usr/lib64/python3.6/xml/dom/expatbuilder.py", line 223, in parseString\n parser.Parse(string, True)\nxml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 540\n",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1,
"_ansible_no_log": false,
"changed": false
}
Beta Was this translation helpful? Give feedback.
All reactions