Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey Guys! Has Anyone Ever Seen An Error Like This? I'M Using My Code In A

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

  
  
Posted one year ago
Votes Newest

Answers 7


hey SmugSnake6
Can you give some more precisions on your configuration please ? (clearml, agent, server versions)
Also, if you have some example code to share it could help us reproduce the issue and thus help you a lot faster 🙂 (script, command line for firing your agent)

  
  
Posted one year ago

Hey
I'll play a bit with what you sent, because reproducing the issues help a lot to solve them. I keep you updated 😊

  
  
Posted one year ago

Thank you very much!

  
  
Posted one year ago

Avec plaisir 😉

  
  
Posted one year ago

If you have any ideas as to what could go wrong, I'd be happy to look at it. But since my venv is rebuilt at each new agent run, I'm really struggling to debug it

  
  
Posted one year ago

Thanks for trying to help me out! Here's some code that should reproduce the error (at least, it did for me): https://github.com/allegroai/clearml-agent/issues/111

  
  
Posted one year ago

Hi SmugSnake6
I might have found you a solution 🎉 I answered on the GH thread https://github.com/allegroai/clearml-agent/issues/111

  
  
Posted one year ago
617 Views
7 Answers
one year ago
one year ago
Tags
Similar posts