Hi @Boszlacs, we typically see this issue when a Live session was improperly paused and is in an inconsistent state. To identify this problem, use CryoSPARC’s interactive Python shell:
cryosparcm icli
Enter the following Python code into the prompt
sessions = list(
db.workspaces.find(
{
"status": "paused",
"$or": [
{"rtp_childs": {"$exists": True, "$ne": []}},
{"rtp_workers": {"$exists": True, "$ne": {}}},
]
},
{"project_uid": 1, "session_uid": 1, "rtp_childs": 1, "rtp_workers": 1},
)
)
print(sessions)
If you see any output other than []
, there are inconsistent sessions.
To fix the issue enter the following code into the prompt:
db.workspaces.update_many(
{
"status": "paused",
"$or": [
{"rtp_childs": {"$exists": True, "$ne": []}},
{"rtp_workers": {"$exists": True, "$ne": {}}},
],
},
{"$set": {"rtp_childs": [], "rtp_workers": {}}},
)
Enter exit()
to quit the interactive prompt.
Future versions of CryoSPARC will address this issue so this workaround will no longer be required. Let me know how that goes!