Post-processing 'vocabulary/css/vocabulary.css' failed!
ERROR (1) Unhandled exception:
Traceback (most recent call last):
File "/legaldb/./manage.py", line 32, in <module>
main()
File "/legaldb/./manage.py", line 27, in main
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 209, in handle
collected = self.collect()
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 154, in collect
raise processed
whitenoise.storage.MissingFileError: The file 'svg/cc/logos/cc/logomark.svg' could not be found with <whitenoise.storage.CompressedManifestStaticFilesStorage object at 0xffff9833d790>.
The CSS file 'vocabulary/css/vocabulary.css' references a file which could not be found:
svg/cc/logos/cc/logomark.svg
Please check the URL references in this CSS file, particularly any
relative paths which might be pointing to the wrong location.
This upstream bug (creativecommons/vocabulary/issues/257) was included with #207:
creativecommons/vocabulary/issues/257
207
Expectation
docker compose exec app ./manage.py collectstatic should completed without error
Description
Vocabulary fails collectstatic post-processing:
Output excerpts:
This upstream bug (creativecommons/vocabulary/issues/257) was included with #207:
207
Expectation
docker compose exec app ./manage.py collectstatic
should completed without errorAdditional context
Resolution