Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloning workspaces broken #777

Closed
pgleeson opened this issue Jul 14, 2023 · 9 comments
Closed

Cloning workspaces broken #777

pgleeson opened this issue Jul 14, 2023 · 9 comments
Labels
T: bug Something isn't working
Milestone

Comments

@pgleeson
Copy link
Member

It gets stuck spinning...
Screenshot 2023-07-14 at 10 33 21

@pgleeson pgleeson added the T: bug Something isn't working label Jul 14, 2023
filippomc added a commit that referenced this issue Jul 14, 2023
@filippomc
Copy link
Contributor

just fixed on dev

@filippomc filippomc added this to the v0.7.3 milestone Jul 14, 2023
@filippomc
Copy link
Contributor

fixed on live

@sanjayankur31
Copy link
Collaborator

@filippomc : it still seems to be happening here. Was the fix deployed on live?

image

@sanjayankur31 sanjayankur31 reopened this Jul 15, 2023
@filippomc
Copy link
Contributor

yes the fix is deployed and it's the same image that's on dev.. something weird is happening during the clone save

@sanjayankur31
Copy link
Collaborator

I think I'm still seeing this on live. It's just hanging there. Any idea what's going on @filippomc ?

@sanjayankur31
Copy link
Collaborator

Also looks broken on dev btw:

image

@sanjayankur31
Copy link
Collaborator

sanjayankur31 commented Jul 25, 2023

(raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)\n(psycopg2.ProgrammingError) can't adapt type 'dict'\n[SQL: UPDATE "Workspaceresource" SET origin=%(origin)s WHERE "Workspaceresource".id = %(Workspaceresource_id)s]\n[parameters: ({'origin': {'path': 'notebook.ipynb'}, 'Workspaceresource_id': 547}, {'origin': {'path': 'Untitled.ipynb'}, 'Workspaceresource_id': 548}, {'origin': {'path': 'simao2/0.220805.1724/sub-10204987456540150313/sub-10204987456540150313_ses-20220310T113527_ophys.nwb'}, 'Workspaceresource_id': 549}, {'origin': {'path': '.ipynb_checkpoints/notebook-checkpoint.ipynb'}, 'Workspaceresource_id': 550}, {'origin': {'path': '.ipynb_checkpoints/Untitled-checkpoint.ipynb'}, 'Workspaceresource_id': 551})]\n(Background on this error at: https://sqlalche.me/e/14/f405)`

@filippomc
Copy link
Contributor

ok it looks like the autoflush is getting in the way in random occasions. Thanks for the help @sanjayankur31, will fix it as soon as possible

filippomc added a commit that referenced this issue Jul 28, 2023
filippomc added a commit that referenced this issue Jul 28, 2023
filippomc added a commit that referenced this issue Jul 31, 2023
@filippomc
Copy link
Contributor

Fixed on live

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants