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

Update get_contents #373

Merged
merged 10 commits into from
Apr 16, 2024
Merged

Update get_contents #373

merged 10 commits into from
Apr 16, 2024

Conversation

JakeWags
Copy link
Collaborator

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
Copy link
Collaborator Author

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

@JakeWags JakeWags marked this pull request as ready for review April 16, 2024 17:53
@JakeWags JakeWags merged commit 949be92 into master Apr 16, 2024
4 checks passed
@JakeWags JakeWags deleted the new-project-contents-fix branch April 16, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants