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
Hello, This Is The Following Python Code I Had Saved As Main.Py.

hello, this is the following python code i had saved as main.py.
` from clearml import Task
from clearml.automation.controller import PipelineController

task = Task.init(project_name="ClearML",
task_name="ClearML Pipeline Demo",
task_type=Task.TaskTypes.controller,
reuse_last_task_id=False)

pipe = PipelineController(default_execution_queue='default', add_pipeline_tags=False) i then ran python main.py `

I’m getting this error …
File "/Users/samuelthan/clearml-demo/.venv/lib/python3.8/site-packages/clearml/backend_api/session/session.py", line 631, in _do_refresh_token raise LoginError( clearml.backend_api.session.session.LoginError: Failed getting token (error 404 from ): NOT FOUND
i’ve check that i can login to the clearml UI via username and password. any thoughts what could be wrong here ?

  
  
Posted 3 years ago
Votes Newest

Answers 7


curl
results in this error:
` <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<title>405 Method Not Allowed</title> <h1>Method Not Allowed</h1> <p>The method is not allowed for the requested URL.</p> `

  
  
Posted 3 years ago

No worries 🙂 glad to hear it worked out 🙂

  
  
Posted 3 years ago

Seems like a okay clearml.conf file
Notice this is the error:
404can you curl to this address ? are you sure you have httpS and not http ? was the dns configured ?

  
  
Posted 3 years ago

Seems like credentials error
Do you have everything setup correctly in your ~/clearml.conf ?

  
  
Posted 3 years ago

i tried to run
clearml-inithowever i can’t seem to complete the process, it keeps telling me it could not verify credentials. the following is the example i copy and pasted from the credentials generated via the web ui
api { web_server: api_server: files_server: credentials { "access_key" = ** "secret_key" = ** } }reading from the forums here, i came across past users had this problem, and i decided to manually create the ~/clearml.conf file instead.

  
  
Posted 3 years ago

hm… after much digging around. I found the problem. A missed configured routing of http://api.testclearml.com to a wrong targetgroup in my ELB .

Once i’ve rerouted to the correct target-group. All is resolved.

Apologies on making a fuss about problem faced. … it’s a bit of a face-palm moment to myself …:)

  
  
Posted 3 years ago

yeah, i configured using this documentation https://allegro.ai/clearml/docs/docs/deploying_clearml/clearml_server_config.html#sub-domains-and-load-balancers
auth { cookies { httponly: true secure: true domain: ".testclearml.com" max_age: 99999999999 } }

  
  
Posted 3 years ago