Can reproduce on Pro SaaS deployment on Firefox 105.0.3
This is what I've found, and there's no error that seem to come up
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
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
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
Try examples/.pipelines/custom pipeline logic
instead of pipeline_project/.pipelines/custom pipeline logic
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
My bad, should have asked you to go to Network as well to see if anything returns errors
But I've got /opt/clearml/data/fileserver/examples/.pipelines/custom pipeline logic
which has a bunch of folders of old tasks
Actually, I think you want blop
now that you renamed the project (instead of custom pipeline logic
)
WebApp: 1.7.0-232 • Server: 1.7.0-232 • API: 2.21
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
SmugSnake6 , can you open developer tools (F12) and see what happens when you try to delete this project?
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
I'm going to try deleting it using the APIClient
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.