You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
anta -i network-tests/demo.yml nrfu -c TestMalaga.yml table
Traceback (most recent call last):
File "/home/coder/.local/bin/anta", line 8, in<module>sys.exit(cli())
File "/home/coder/.local/lib/python3.9/site-packages/anta/cli/__init__.py", line 206, in cli
anta(obj={}, auto_envvar_prefix="ANTA") # pragma: no cover
File "/home/coder/.local/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/coder/.local/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/coder/.local/lib/python3.9/site-packages/click/core.py", line 1686, in invoke
sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)
File "/home/coder/.local/lib/python3.9/site-packages/click/core.py", line 943, in make_context
self.parse_args(ctx, args)
File "/home/coder/.local/lib/python3.9/site-packages/anta/cli/utils.py", line 154, in parse_args
returnsuper().parse_args(ctx, args)
File "/home/coder/.local/lib/python3.9/site-packages/click/core.py", line 1644, in parse_args
rest = super().parse_args(ctx, args)
File "/home/coder/.local/lib/python3.9/site-packages/click/core.py", line 1408, in parse_args
value, args = param.handle_parse_result(ctx, opts, args)
File "/home/coder/.local/lib/python3.9/site-packages/click/core.py", line 2400, in handle_parse_result
value = self.process_value(ctx, value)
File "/home/coder/.local/lib/python3.9/site-packages/click/core.py", line 2362, in process_value
value = self.callback(ctx, self, value)
File "/home/coder/.local/lib/python3.9/site-packages/anta/cli/utils.py", line 96, in parse_catalog
catalog: AntaCatalog = AntaCatalog.parse(value)
File "/home/coder/.local/lib/python3.9/site-packages/anta/catalog.py", line 226, in parse
catalog_data = AntaCatalogFile(**data)
TypeError: anta.catalog.AntaCatalogFile() argument after ** must be a mapping, not str
The text was updated successfully, but these errors were encountered:
When running anti in ATD with the following catalog, anta generates a traceback
Inventory
traceback
The text was updated successfully, but these errors were encountered: