SmugDolphin23 That fixed the issue, thank you very much!
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?
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'
Can you please update it to the latest version? pip install -U jsonschema
Hi BoredBat47 ! What jsonschema
version are you using?
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