Hey guys! Has anyone ever seen an error like this? I'm using my code in a clearml-agent
and it looks like something is breaking with click
bindings.
Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/aurelien/.clearml/venvs-builds/3.8/task_repository/auto-train.git/autotrain/__main__.py", line 92, in <module> cli(obj={}) File "/home/aurelien/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/home/aurelien/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/click/core.py", line 1054, in main with self.make_context(prog_name, args, **extra) as ctx: File "/home/aurelien/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/click/core.py", line 920, in make_context self.parse_args(ctx, args) File "/home/aurelien/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/click/core.py", line 1613, in parse_args rest = super().parse_args(ctx, args) File "/home/aurelien/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/binding/frameworks/__init__.py", line 36, in _inner_patch raise ex File "/home/aurelien/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/binding/frameworks/__init__.py", line 34, in _inner_patch ret = patched_fn(original_fn, *args, **kwargs) File "/home/aurelien/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/binding/click_bind.py", line 100, in _parse_args command = PatchClick._load_task_params() File "/home/aurelien/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/binding/click_bind.py", line 152, in _load_task_params p.name for p in params['Args'].values() KeyError: 'Args'
I'm really struggling debugging this since I'm running the code in a clearml-agent
😕 It's working fine outside of it! I'm not sure what to look for