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'M Trying To Run The Following Api Call

Hi,
I'm trying to run the following API call
# Imports ... client = APIClient() resp = client.events.get_scalar_metrics_and_variants("MY_TASK_ID")but it errors out with
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/binoydalal/miniconda3/envs/DS974/lib/python3.9/site-packages/clearml/backend_api/session/client/client.py", line 376, in new_func return Response(self.session.send(request_cls(*args, **kwargs))) File "/home/binoydalal/miniconda3/envs/DS974/lib/python3.9/site-packages/clearml/backend_api/session/client/client.py", line 122, in send raise APIError(result) clearml.backend_api.session.client.client.APIError: APIError: code 500: 'str' object has no attribute 'value'Based on the schema definition https://github.com/allegroai/clearml-server/blob/04ea9018a3c0cbb8a9e0044e5a24110883a0abfa/apiserver/schema/services/events.conf#L1170 , I think I'm making the call correctly.

CML Client version 1.1.6
I'm on the Free CML SaaS version

Is this a bug?

  
  
Posted one year ago
Votes Newest

Answers 18


Sorry if I sounded curt. Didn't mean to. To clarify, I've created my account using Google SSO on http://app.clear.ml , and am currently on the Free tier. I am pushing all my data onto CML's servers. This error happens when I try to query those servers for the metrics and variants for a particular task of mine.

  
  
Posted one year ago

The best wait is to open an issue in GitHub ( https://github.com/allegroai/clearml-server )

  
  
Posted one year ago

the CML free SaaS offering. It'll probably hit https://app.clear.ml/api if I'm not wrong

  
  
Posted one year ago

I think there's some confusion here. I'm not running the server. My metrics are getting logged to the CML cloud.

  
  
Posted one year ago

Hi JumpyPig73 , this looks like a server-side error, what server are you using?

  
  
Posted one year ago

The easiest way to understand will be to look at the server's log and see the internal exception

  
  
Posted one year ago

Ok. I think I misunderstood what you said. I thought you meant you've already opened a bug ticket. If that's not the case, do you want to me create one on github?

  
  
Posted one year ago

the CML free SaaS offering

Oh, I'm sorry, I missed that, my bad 🙂

  
  
Posted one year ago

Also tagged you SuccessfulKoala55
Thanks for the quick support!

  
  
Posted one year ago

Oh, no, I just fixed it 😄

  
  
Posted one year ago

OK, once I realized that, it was easy to find it 🙂 - it's a server bug, I'll make sure it's fixed soon

  
  
Posted one year ago

If that's not the case, do you want to me create one on github?

I would appreciate that 🙂

  
  
Posted one year ago

should appear in the apiserver's service log, using sudo docker logs apiserver

  
  
Posted one year ago

Thanks! Do you have a public bug tracker? If yes, are you able to share the issue number so I can follow it?
I need to put it into my code, so will be eagerly waiting for the fix

  
  
Posted one year ago

And what's the server version?

  
  
Posted one year ago

I have no way to access your servers

  
  
Posted one year ago

Will do!

  
  
Posted one year ago
84 Views
18 Answers
one year ago
4 months ago
Tags
Similar posts