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 Upgraded Some Of My K8S Glue To Use The Latest Clearml-Agent 1.1.0 And Receive This Error When The Agent Pulls A Task. Pulling Task Xxxbbbxxxbb Launching On Kubernetes Cluster Pushing Task Xxxbbbxxxbb Into Temporary Pending Queue Kubernetes Scheduli

Hi I upgraded some of my k8s glue to use the latest clearml-agent 1.1.0 and receive this error when the agent pulls a task.

Pulling task xxxbbbxxxbb launching on kubernetes cluster
Pushing task xxxbbbxxxbb into temporary pending queue
Kubernetes scheduling task id=xxxbbbxxxbb
FATAL ERROR:
Traceback
file "/usr/local/lib/python3.6/dist-packages/clearml-agent/commands/worker.py, line 1509, in Daemon gpu-queues=dynamic_gpus
..
..
file "/usr/local/lib/python3.6/dist-packages/clearml-agent/glue/k8s.py in run_one_task line 505
Print("kubectl output:\n...
Unicodeencodeerror:'ascii' codec can't encode characters in position 296-297: ordinal not in range (128)

  
  
Posted 3 years ago
Votes Newest

Answers 5


Well, it probably crashed due to this error when trying to print the kubectl output - any reason the output isn't ascii?

  
  
Posted 3 years ago

🤞

  
  
Posted 3 years ago

Alright will give it a try.

  
  
Posted 3 years ago

It also stopped taking in tasks from the queue after that.

  
  
Posted 3 years ago

Hi SubstantialElk6

Unicodeencodeerror:'ascii' codec can't encode characters in position 296-297: ordinal not in range (128) (edited)

I'm assuming this is the usual UTF8 missing from the container.
Can you try to launch it with PYTHONIOENCODING=utf-8 ?

  
  
Posted 3 years ago
1K Views
5 Answers
3 years ago
one year ago
Tags