aim icon indicating copy to clipboard operation
aim copied to clipboard

Failed to delete run in aim web ui

Open zhiyxu opened this issue 1 year ago • 3 comments

🐛 Bug

when deleting run in aim web ui, I got the following error, and the run is not deleted:

Error
Error while deleting runs.
Error
Failed to execute 'json' on 'Response': body stream already read

To reproduce

deleting run in aim web ui.

Expected behavior

run deleted.

Environment

  • Aim Version: 3.19.3
  • Python version: 3.10.14
  • pip version: 23.0.1
  • OS (e.g., Linux): Linux
  • Any other relevant information

Additional context

image(2)

zhiyxu avatar May 31 '24 10:05 zhiyxu

Hi @zhiyxu thanks for opening this issue. @mihran113 have you had a chance to take a look at this?

SGevorg avatar Jun 13 '24 17:06 SGevorg

Hey @zhiyxu! Is there a possibility that you can share the repo in which the run is failed to be deleted? Or any minimal example how this happened, so I can reproduce it on my end?

mihran113 avatar Jun 14 '24 16:06 mihran113

Hey @zhiyxu! Is there a possibility that you can share the repo in which the run is failed to be deleted? Or any minimal example how this happened, so I can reproduce it on my end?

@mihran113 I found when the aim client is killed, the lock located in <AIM-REPO>/.aim/locks is not released, so the run can't be deleted in the frontend. Please check #3175

zhiyxu avatar Jun 25 '24 07:06 zhiyxu