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
Hi, I Was Some How Able To Get A Project Running Yesturday, However Now I Am Unable To Get It Running, I Keep Getting An Failed Getting Token Error

hi, I was some how able to get a project running yesturday, however now I am unable to get it running, i keep getting an failed getting token error

  
  
Posted 3 years ago
Votes Newest

Answers 34


image

  
  
Posted 3 years ago

yup!

  
  
Posted 3 years ago

Ohh yes, if you deleted the token then you have to recreate the cleaml.conf
BTW: no need to generate a token, it will last 🙂

  
  
Posted 3 years ago

seems working to me

  
  
Posted 3 years ago

so this is how i have it in my code and for some reason that does not work?

  
  
Posted 3 years ago

is it because it is not a python file?

  
  
Posted 3 years ago

Jupyter Notebook is fully supported.
Could you try and restart the notebook kernel?

  
  
Posted 3 years ago

very weird I changed to the original folder I had used to run this, and it works? For some reason copying over everything and making another file and running it there does not allow it to run

  
  
Posted 3 years ago

might be my folder permissions hmm

That actually makes sense, also notice that if you are running under a diff user, the ~ (home folder) is different

  
  
Posted 3 years ago

from the notebook run !ls ~/clearml.conf

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

i keep getting an failed getting token error

MiniatureCrocodile39 what's the server you are using ?

  
  
Posted 3 years ago

MiniatureCrocodile39 from the screen shot I imagine you are running inside a docker, this means that when you restart the docker, the configuration file is lost.
Could that be the case ?

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

the community server

  
  
Posted 3 years ago

Can you login to it?

  
  
Posted 3 years ago

For some reason copying over everything and making another file and running it there does not allow it to run

Not sure i follow...
you should only have one ~/clearml.conf nad from wherever you are running your code it will always read the configuration from the same file

  
  
Posted 3 years ago

might be my folder permissions hmm

  
  
Posted 3 years ago

(So it re-reads the configuration file)

  
  
Posted 3 years ago

via the website?

  
  
Posted 3 years ago

yes 🙂

  
  
Posted 3 years ago

seems like it, i deleted the token and made a new one incase the community one needs a new generated one since its cleaned every 24 hours

  
  
Posted 3 years ago

And your ~/clearml,conf ?

  
  
Posted 3 years ago

is it there ?

  
  
Posted 3 years ago

And generated a new toek on the web UI?
If cleaml-init finished it means that everyhting should be fine.
You can test it by starting python and testing:
from clearml import Task Task.init('examples', 'test')

  
  
Posted 3 years ago

i deleted the token, then used clear ml-init to establish a connection again,

  
  
Posted 3 years ago

intersting that worked

  
  
Posted 3 years ago

I am not running via docker, through jupyter nb, but I am not usig the git method. I installed clearml-init directly onto the machine

  
  
Posted 3 years ago
2K Views
34 Answers
3 years ago
23 days ago
Tags