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
For Some Reason I Can'T Delete A Pipeline Projet, The Deletion Is Running Indefinitely. Is There A Way To Force The Deletion Of A Project Via The Apiclient?

For some reason I can't delete a pipeline projet, the deletion is running indefinitely. Is there a way to force the deletion of a project via the APIClient?

  
  
Posted one year ago
Votes Newest

Answers 23


Can reproduce on Pro SaaS deployment on Firefox 105.0.3

  
  
Posted one year ago

Hi SmugSnake6 , thank you for reporting this issue.
based on the console error you posted I believe we managed to find and fix the issue.

  
  
Posted one year ago

WebApp: 1.7.0-232 • Server: 1.7.0-232 • API: 2.21

  
  
Posted one year ago

What is the version of the backend?

  
  
Posted one year ago

Yes sure, I will do that

  
  
Posted one year ago

CostlyOstrich36 Here's what I get:
ERROR TypeError: Unexpected type 'undefined' in select operator, expected 'string' or 'function' rn ngrx-store.mjs:550 select ngrx-store.mjs:507 deleteEntitiesEffect base-delete-dialog.effects.ts:134 RxJS 13 stateSubscription ngrx-store.mjs:472 RxJS 24 next ngrx-store.mjs:206 dispatch ngrx-store.mjs:515 delete common-delete-dialog.component.ts:112 O common-delete-dialog.component.html:36 Angular 11 core.mjs:7640:22 handleError Angular ht ngrx-effects.mjs:171 RxJS 14 stateSubscription ngrx-store.mjs:472 RxJS 24 next ngrx-store.mjs:206 dispatch ngrx-store.mjs:515 delete common-delete-dialog.component.ts:112 O common-delete-dialog.component.html:36 Angular 11

  
  
Posted one year ago

Hi SmugSnake6 ! If you want to delete a project using the APIClient :
from clearml.backend_api.session.client import APIClient from clearml.backend_interface.util import exact_match_regex api_client = APIClient() id = api_client.projects.get_all(name=exact_match_regex("pipeline_project/.pipelines/pipeline_name"), search_hidden=True)[0].id api_client.projects.delete(project=id)Notice that tasks need to be archived

  
  
Posted one year ago

It's a bit strange, my pipeline is called "custom pipeline logic" (which I renamed to "blop" later). This api_client.projects.get_all(name=exact_match_regex("pipeline_project/.pipelines/blop"), search_hidden=True) returns nothing and this api_client.projects.get_all(name=exact_match_regex("pipeline_project/.pipelines/custom pipeline logic"), search_hidden=True) returns nothing either

  
  
Posted one year ago

After this passes - and you refresh the page even with the popup stuck in infinite loop - does the project get deleted? I think it might be a UI issue

  
  
Posted one year ago

My bad, should have asked you to go to Network as well to see if anything returns errors

  
  
Posted one year ago

This is what I've found, and there's no error that seem to come up

  
  
Posted one year ago

This is from the console by the way

  
  
Posted one year ago

But I've got /opt/clearml/data/fileserver/examples/.pipelines/custom pipeline logic which has a bunch of folders of old tasks

  
  
Posted one year ago

Try examples/.pipelines/custom pipeline logic instead of pipeline_project/.pipelines/custom pipeline logic

  
  
Posted one year ago

Yep I'm dumb, it worked. However I've launch a couple of tasks with name ='custom pipeline logic', project ='examples' and I have to delete them manually. When I try through the UI it just waits forever

  
  
Posted one year ago

Actually, I think you want blop now that you renamed the project (instead of custom pipeline logic )

  
  
Posted one year ago

Yes

  
  
Posted one year ago

can you please also report in github so we have an item to follow once the fix gets released?
https://github.com/allegroai/clearml-web/issues

  
  
Posted one year ago

I'm not sure how I broke it 😅

  
  
Posted one year ago

I'm going to try deleting it using the APIClient

  
  
Posted one year ago

Are you running a self hosted server?

  
  
Posted one year ago

If I refresh, the project is still there 😕

  
  
Posted one year ago

SmugSnake6 , can you open developer tools (F12) and see what happens when you try to delete this project?

  
  
Posted one year ago
615 Views
23 Answers
one year ago
one year ago
Tags