SCIInstitute / shapeworks-cloud

A web version of ShapeWorks Studio
https://www.shapeworks-cloud.org/#/
Apache License 2.0
1 stars 0 forks source link

Update get_contents #373

Closed JakeWags closed 4 months ago

JakeWags commented 4 months ago

This update makes it so all shape data is pulled with the right prefix.

However, when running groom, this error occurs in post_command_function

celery-1      | Traceback (most recent call last):
celery-1      |   File "/opt/django-project/shapeworks_cloud/core/tasks.py", line 189, in post_command_function
celery-1      |     target_object = project_segmentations.get(
celery-1      |   File "/opt/conda/envs/shapeworks/lib/python3.9/site-packages/django/db/models/query.py", line 435, in get
celery-1      |     raise self.model.DoesNotExist(
celery-1      | shapeworks_cloud.core.models.Segmentation.DoesNotExist: Segmentation matching query does not exist.
celery-1      | 
celery-1      | During handling of the above exception, another exception occurred:
celery-1      | 
celery-1      | Traceback (most recent call last):
celery-1      |   File "/opt/conda/envs/shapeworks/lib/python3.9/site-packages/celery/app/trace.py", line 477, in trace_task
celery-1      |     R = retval = fun(*args, **kwargs)
celery-1      |   File "/opt/conda/envs/shapeworks/lib/python3.9/site-packages/celery/app/trace.py", line 760, in __protected_call__
celery-1      |     return self.run(*args, **kwargs)
celery-1      |   File "/opt/django-project/shapeworks_cloud/core/tasks.py", line 209, in groom
celery-1      |     run_shapeworks_command(
celery-1      |   File "/opt/django-project/shapeworks_cloud/core/tasks.py", line 147, in run_shapeworks_command
celery-1      |     post_command_function(project, download_dir, result_data, project_filename)
celery-1      |   File "/opt/django-project/shapeworks_cloud/core/tasks.py", line 197, in post_command_function
celery-1      |     target_object = project_meshes.get(
celery-1      |   File "/opt/conda/envs/shapeworks/lib/python3.9/site-packages/django/db/models/query.py", line 435, in get
celery-1      |     raise self.model.DoesNotExist(
celery-1      | shapeworks_cloud.core.models.Mesh.DoesNotExist: Mesh matching query does not exist.
JakeWags commented 4 months ago

Also, it looks like there's two groom tasks running?