-
Notifications
You must be signed in to change notification settings - Fork 363
Open
Labels
area / SDK-storageIssue area: SDK and storage related issuesIssue area: SDK and storage related issueshelp wantedExtra attention is neededExtra attention is neededphase / in-progressIssue phase: issue is in the development phaseIssue phase: issue is in the development phasetype / bugIssue type: something isn't workingIssue type: something isn't working
Milestone
Description
π Bug
Aim Runs page is blank and raises error after running aim runs cp on fresh aim init.
To reproduce
mkdir new_repo && cd new_repo
aim init
cd ../old_repo
aim runs cp $(aim runs ls | head -n -1) --destination=../new_repo
cd ../new_repo
aim upNavigate to Runs page.
Output:
...
File ".../aim/web/api/runs/utils.py", line 251, in run_search_result_streamer
'traces': run.collect_sequence_info(sequence_types='metric'),
File ".../aim/sdk/run.py", line 669, in collect_sequence_info
ctx_dict = self.idx_to_ctx(idx).to_dict()
File ".../aim/sdk/run.py", line 353, in idx_to_ctx
return self._tracker.idx_to_ctx(idx)
File ".../aim/sdk/tracker.py", line 80, in idx_to_ctx
ctx = Context(self.meta_tree['contexts', idx])
File "aim/storage/treeview.py", line 51, in aim.storage.treeview.TreeView.__getitem__
File "aim/storage/containertreeview.py", line 74, in aim.storage.containertreeview.ContainerTreeView.collect
KeyError: "No key ('contexts', 917550741257467117) is present."
Expected behavior
No error. Non-blank runs page.
Environment
- Aim Version: 3.13.2
- Python version: 3.8
- pip version: 22.1
- OS: Linux
- Any other relevant information
Additional context
N/A
cnguyen10
Metadata
Metadata
Assignees
Labels
area / SDK-storageIssue area: SDK and storage related issuesIssue area: SDK and storage related issueshelp wantedExtra attention is neededExtra attention is neededphase / in-progressIssue phase: issue is in the development phaseIssue phase: issue is in the development phasetype / bugIssue type: something isn't workingIssue type: something isn't working
Type
Projects
Status
Patch-issues