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, Following My Previous Post, I Managed To Fix Several Problems I Had. It Seems A Little Left To Get Things Working. My Problem Now Is I Get This Error Message When Running

Hey, guys, following my previous post, I managed to fix several problems I had. It seems a little left to get things working. My problem now is I get this error message when running clearml-agent daemon --foreground . Tried to peek into a source code but couldn't resolve the issue. Any help?
type_checker=validator.TYPE_CHECKER.redefine_many({
AttributeError: type object 'Draft4Validator' has no attribute 'TYPE_CHECKER'

  
  
Posted one year ago
Votes Newest

Answers 9


My pleasure

  
  
Posted one year ago

SmugDolphin23 That fixed the issue, thank you very much!

  
  
Posted one year ago

Right, seems the lib was severely outdated

  
  
Posted one year ago

Can you please update it to the latest version? pip install -U jsonschema

  
  
Posted one year ago

jsonschema 2.6.0

  
  
Posted one year ago

Hi BoredBat47 ! What jsonschema version are you using?

  
  
Posted one year ago

Traceback (most recent call last):
File "/home/<home>/.local/bin/clearml-agent", line 8, in <module>
sys.exit(main())
File "/home/<home>/.local/lib/python3.8/site-packages/clearml_agent/__main__.py", line 83, in main
return run_command(parser, args, command_name)
File "/home/<home>/.local/lib/python3.8/site-packages/clearml_agent/__main__.py", line 46, in run_command
return func(**args_dict)
File "/home/<home>/.local/lib/python3.8/site-packages/clearml_agent/commands/worker.py", line 1440, in daemon
queues = self.resolve_daemon_queue_names(queues, create_if_missing=kwargs.get('create_queue', False))
File "/home/<home>/.local/lib/python3.8/site-packages/clearml_agent/commands/worker.py", line 1396, in resolve_daemon_queue_names
return self._resolve_queue_names(queues=queues, create_if_missing=create_if_missing)
File "/home/<home>/.local/lib/python3.8/site-packages/clearml_agent/commands/worker.py", line 4085, in _resolve_queue_names
default_queue = self._session.send_api(queues_api.GetDefaultRequest())
File "/home/<home>/.local/lib/python3.8/site-packages/clearml_agent/session.py", line 296, in send_api
result = self.send(request)
File "/home/<home>/.local/lib/python3.8/site-packages/clearml_agent/backend_api/session/session.py", line 488, in send
self.validate_request(req_obj)
File "/home/<home>/.local/lib/python3.8/site-packages/clearml_agent/backend_api/session/session.py", line 467, in validate_request
validate()
File "/home/<home>/.local/lib/python3.8/site-packages/clearml_agent/backend_api/session/datamodel.py", line 75, in validate
type_checker=validator.TYPE_CHECKER.redefine_many({
AttributeError: type object 'Draft4Validator' has no attribute 'TYPE_CHECKER'

  
  
Posted one year ago

CostlyOstrich36
The error appears regardless of --foreground tag. This is not full stacktrace, I will provide it with the next message.
clearml 1.9.0
clearml-agent 1.5.1
Ubuntu1 8.04.6 LTS

  
  
Posted one year ago

Hi BoredBat47 , this happens only when you use the --foreground flag?
Is this the full error? What version of clearml-agent are you using? What OS are you on?

  
  
Posted one year ago
1K Views
9 Answers
one year ago
one year ago
Tags