CodebaseResource matching query does not exist.
Traceback:
File "/app/scanpipe/pipelines/__init__.py", line 115, in execute
step(self)
File "/app/scanpipe/pipelines/root_filesystems.py", line 118, in scan_for_application_packages
scancode.scan_for_application_packages(self.project)
File "/app/scanpipe/pipes/scancode.py", line 334, in scan_for_application_packages
assemble_packages(project=project)
File "/app/scanpipe/pipes/scancode.py", line 377, in assemble_packages
for item in items:
File "/usr/local/lib/python3.9/site-packages/packagedcode/pypi.py", line 224, in assemble
root = package_resource.parent(codebase)
File "/app/scanpipe/models.py", line 1710, in parent
return parent_path and self.project.codebaseresources.get(path=parent_path)
File "/usr/local/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 650, in get
raise self.model.DoesNotExist(
Using https://files.pythonhosted.org/packages/ce/21/41a0028f6d610987c0839250357c1a00f351790b8a448c2eb323caa719ac/celery-5.2.7.tar.gz as input with the
root_filesystemspipeline:Note that this issue does not occur with the
scan_codebasenorscan_packagepipelines.