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

Missing icon path is causing main build to break #15283

Closed
alexgibson opened this issue Oct 11, 2024 · 0 comments
Closed

Missing icon path is causing main build to break #15283

alexgibson opened this issue Oct 11, 2024 · 0 comments
Assignees
Labels
Bug 🐛 Something's not working the way it should

Comments

@alexgibson
Copy link
Member

Description

https://github.com/mozilla-sre-deploy/deploy-bedrock/actions/runs/11278649114/job/31367588781

 #48 4.928 Post-processing 'css/m24-navigation-and-footer.css' failed!
#48 4.928 
#48 4.929 Traceback (most recent call last):
#48 4.929   File "/app/manage.py", line 14, in <module>
#48 4.929     execute_from_command_line(sys.argv)
#48 4.930   File "/venv/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
#48 4.930     utility.execute()
#48 4.930   File "/venv/lib/python3.12/site-packages/django/core/management/__init__.py", line 436, in execute
#48 4.930     self.fetch_command(subcommand).run_from_argv(self.argv)
#48 4.930   File "/venv/lib/python3.12/site-packages/django/core/management/base.py", line 412, in run_from_argv
#48 4.930     self.execute(*args, **cmd_options)
#48 4.930   File "/venv/lib/python3.12/site-packages/django/core/management/base.py", line 458, in execute
#48 4.931     output = self.handle(*args, **options)
#48 4.931              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#48 4.931   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 209, in handle
#48 4.931     collected = self.collect()
#48 4.931                 ^^^^^^^^^^^^^^
#48 4.932   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 154, in collect
#48 4.932     raise processed
#48 4.932   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 372, in _post_process
#48 4.932     content = pattern.sub(converter, content)
#48 4.932               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#48 4.932   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 249, in converter
#48 4.932     hashed_url = self._url(
#48 4.932                  ^^^^^^^^^^
#48 4.932   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 182, in _url
#48 4.933     hashed_name = hashed_name_func(*args)
#48 4.933                   ^^^^^^^^^^^^^^^^^^^^^^^
#48 4.933   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 422, in _stored_name
#48 4.933     cache_name = self.clean_name(self.hashed_name(name))
#48 4.933                                  ^^^^^^^^^^^^^^^^^^^^^^
#48 4.933   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 143, in hashed_name
#48 4.934     raise ValueError(
#48 4.934 ValueError: The file 'img/icons/close.svg' could not be found with <django.contrib.staticfiles.storage.ManifestStaticFilesStorage object at 0x7f3281ee6840>.
#48 ERROR: process "/bin/sh -c honcho run --env docker/envfiles/prod.env docker/bin/build_staticfiles.sh" did not complete successfully: exit code: 1
failed to solve: process "/bin/sh -c honcho run --env docker/envfiles/prod.env docker/bin/build_staticfiles.sh" did not complete successfully: exit code: 1
------
 > [release release 3/5] RUN honcho run --env docker/envfiles/prod.env docker/bin/build_staticfiles.sh:
4.932                  ^^^^^^^^^^
make: *** [Makefile:158: build-ci] Error 17
4.932   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 182, in _url
4.933     hashed_name = hashed_name_func(*args)
4.933                   ^^^^^^^^^^^^^^^^^^^^^^^
4.933   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 422, in _stored_name
4.933     cache_name = self.clean_name(self.hashed_name(name))
4.933                                  ^^^^^^^^^^^^^^^^^^^^^^
4.933   File "/venv/lib/python3.12/site-packages/django/contrib/staticfiles/storage.py", line 143, in hashed_name
4.934     raise ValueError(
4.934 ValueError: The file 'img/icons/close.svg' could not be found with <django.contrib.staticfiles.storage.ManifestStaticFilesStorage object at 0x7f3281ee6840>.
------
Error: Process completed with exit code 2.
@alexgibson alexgibson added the Bug 🐛 Something's not working the way it should label Oct 11, 2024
alexgibson added a commit to alexgibson/bedrock that referenced this issue Oct 11, 2024
@alexgibson alexgibson self-assigned this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Something's not working the way it should
Projects
None yet
Development

No branches or pull requests

1 participant