Job lose tree view

On machine was not enough memory for 3D Flex train. After detaching and attach to another machine (IDK why there would an cs.log file because I detach not archive it, and I have to delate this in new machine), my job didn’t have tree view at all. But tree view interface works fine, when I roll down my mouse zoom rate changed. Card and table work fine, and dependency work fine. Parents and Children show correctly, just don’t have the tree view.

This is some error after : cryosparcm log command_core
2024-03-06 11:44:57,975 layout_tree WARNING | Job J144 parents include non-existent job J91
2024-03-06 11:44:57,975 layout_tree WARNING | Job J144 parents include non-existent job J92
2024-03-06 11:44:57,975 layout_tree WARNING | Job J144 parents include non-existent job J93
2024-03-06 11:44:57,975 layout_tree WARNING | Job J137 parents include non-existent job J82
2024-03-06 11:44:57,975 layout_tree WARNING | Job J123 parents include non-existent job J85
2024-03-06 11:44:57,975 layout_tree WARNING | Job J119 parents include non-existent job J80
2024-03-06 11:44:57,975 layout_tree WARNING | Job J103 parents include non-existent job J80
2024-03-06 11:44:57,975 layout_tree WARNING | Job J76 parents include non-existent job J85
2024-03-06 11:44:57,975 layout_tree WARNING | Job J145 parents include non-existent job J80
2024-03-06 11:44:57,975 layout_tree WARNING | Job J145 parents include non-existent job J90
2024-03-06 11:44:57,975 layout_tree WARNING | Job J145 parents include non-existent job J91
2024-03-06 11:44:57,975 layout_tree WARNING | Job J145 parents include non-existent job J92
2024-03-06 11:44:57,975 layout_tree WARNING | Job J145 parents include non-existent job J93
2024-03-06 11:44:57,979 wrapper ERROR | JSONRPC ERROR at layout_tree
2024-03-06 11:44:57,979 wrapper ERROR | Traceback (most recent call last):
2024-03-06 11:44:57,979 wrapper ERROR | File “/home/user/cryosparc/cryosparc_master/cryosparc_command/commandcommon.py”, line 195, in wrapper
2024-03-06 11:44:57,979 wrapper ERROR | res = func(*args, **kwargs)
2024-03-06 11:44:57,979 wrapper ERROR | File “/home/user/cryosparc/cryosparc_master/cryosparc_command/command_core/init.py”, line 7971, in layout_tree
2024-03-06 11:44:57,979 wrapper ERROR | alljobs, alltreegroups = core.layout_tree(alljobs,
2024-03-06 11:44:57,979 wrapper ERROR | File “cryosparc_master/cryosparc_command/core.py”, line 714, in cryosparc_master.cryosparc_command.core.layout_tree
2024-03-06 11:44:57,979 wrapper ERROR | KeyError: ‘J80’
2024-03-06 11:44:58,887 set_job_status INFO | Status changed for P8.J806 from started to running
2024-03-06 11:44:58,888 app_stats_refresh INFO | Calling app stats refresh url http://vivaldi:39000/api/actions/stats/refresh_job for project_uid P8, workspace_uid None, job_uid J806 with body {‘projectUid’: ‘P8’, ‘jobUid’: ‘J806’}
2024-03-06 11:44:58,893 app_stats_refresh INFO | code 200, text {“success”:true}
2024-03-06 11:45:30,528 export_all_projects_run INFO | Finished exporting all projects

@V3eneno Did you expect the “non-existent” jobs J91, J92, etc to be present in the project? You may want to browse back in command_core log to records of the project attachment and check for errors.

Thanks for your information. Job 144 which called error already delated and should not exit in the tree view at all. However, job 103 is very important and seems I deleted parents mistakenly. Is there any way to recover it?
image

How did you delete J144. CryoSPARC GUI, Other GUI, Command line?

When (before or after detaching the project) and how (CryoSPARC GUI, other GUI or command) did you delete J103’s parents? Do you have backups or filesystem snapshots of the project directory?

I don’t even remember when I deleted this, but I think no tree view happened after I reattach so I must deleted before I detach it.
I used cryosparc GUI. Selected all killed or failed job by refreshed filter, to make my project smaller, and deleted them all in by selecting them in list view.
I don’t have any backup.
Here is the screen shot of one non-exist, is that possible to recover?

I only deleted failed or killed job, I think that why 103 was there but 144 is gone.

What is the output of the command

grep J90 /home/user/cryosparc/cryosparc_master/run/command_core.log*

?

/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,901 layout_tree WARNING | Job J145 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,939 layout_tree WARNING | Job J150 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,939 layout_tree WARNING | Job J149 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,940 layout_tree WARNING | Job J165 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,940 layout_tree WARNING | Job J152 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,940 layout_tree WARNING | Job J151 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,940 layout_tree WARNING | Job J144 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,941 layout_tree WARNING | Job J145 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,972 layout_tree WARNING | Job J150 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,973 layout_tree WARNING | Job J149 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,974 layout_tree WARNING | Job J165 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,975 layout_tree WARNING | Job J152 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,975 layout_tree WARNING | Job J151 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,975 layout_tree WARNING | Job J144 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.1:2024-03-09 01:15:44,976 layout_tree WARNING | Job J145 parents include non-existent job J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.2:2024-02-26 15:44:14,726 export_project INFO | Exporting J90 in P1
/home/user/cryosparc/cryosparc_master/run/command_core.log.2:2024-02-26 15:44:14,726 dump_job_database INFO | Request to export P1 J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.2:2024-02-26 15:44:14,727 dump_job_database INFO | Exporting job to /mnt/WD_20TB_AB-Ran/Cryosparc/CS-ab-ran/J90
/home/user/cryosparc/cryosparc_master/run/command_core.log.2:2024-02-26 15:44:14,728 dump_job_database INFO | Exporting all of job’s images in the database to /mnt/WD_20TB_AB-Ran/Cryosparc/CS-ab-ran/J90/gridfs_data…
/home/user/cryosparc/cryosparc_master/run/command_core.log.2:2024-02-26 15:44:14,918 dump_job_database INFO | Writing 125 database images to /mnt/WD_20TB_AB-Ran/Cryosparc/CS-ab-ran/J90/gridfs_data/gridfsdata_0
/home/user/cryosparc/cryosparc_master/run/command_core.log.2:2024-02-26 15:44:14,991 dump_job_database INFO | Exported P1 J90 in 0.27s

@V3eneno Thanks for reporting this problem. We have identified a likely cause and are investigating potential fixes.