[GH-ISSUE #615] Build problem with 1.25.0 #448

Closed
opened 2026-02-25 23:42:30 +03:00 by kerem · 5 comments
Owner

Originally created by @SuperSandro2000 on GitHub (Mar 5, 2022).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/615

I am facing some build issues which is fixed on the latest master.

Compressing... CommandError: An error occurred during rendering integrations/add_spike.html: [Errno 2] No such file or directory: '/app/static-collected/CACHE/js/output.b4ba48ed4f66.js'

I think tagging a new version would be already enough to fix this because it works on latest master.

Originally created by @SuperSandro2000 on GitHub (Mar 5, 2022). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/615 I am facing some build issues which is fixed on the latest master. ``Compressing... CommandError: An error occurred during rendering integrations/add_spike.html: [Errno 2] No such file or directory: '/app/static-collected/CACHE/js/output.b4ba48ed4f66.js'`` I think tagging a new version would be already enough to fix this because it works on latest master.
kerem closed this issue 2026-02-25 23:42:30 +03:00
Author
Owner

@cuu508 commented on GitHub (Mar 5, 2022):

For the failing build, what is your installed django-compressor version (what does pip freeze say?)?

<!-- gh-comment-id:1059711909 --> @cuu508 commented on GitHub (Mar 5, 2022): For the failing build, what is your installed django-compressor version (what does pip freeze say?)?
Author
Owner

@cuu508 commented on GitHub (Mar 7, 2022):

Ah, I can reproduce it:

$ export DEBUG=True
$ ./manage.py compress --force
CommandError: An error occurred during rendering integrations/webhook_form.html: [Errno 2] No such file or directory: '/home/cepe/Downloads/healthchecks-1.25.0/static-collected/CACHE/js/output.b4ba48ed4f66.js'

I suspect it's a bug in django-compressor, it is non-deterministic, and it could resurface again. There's a potentially related bug being worked on (https://github.com/django-compressor/django-compressor/issues/1099). Once that's fixed, I'll check if I can still reproduce this one.

<!-- gh-comment-id:1060723348 --> @cuu508 commented on GitHub (Mar 7, 2022): Ah, I can reproduce it: ``` $ export DEBUG=True $ ./manage.py compress --force CommandError: An error occurred during rendering integrations/webhook_form.html: [Errno 2] No such file or directory: '/home/cepe/Downloads/healthchecks-1.25.0/static-collected/CACHE/js/output.b4ba48ed4f66.js' ``` I suspect it's a bug in django-compressor, it is non-deterministic, and it could resurface again. There's a potentially related bug being worked on (https://github.com/django-compressor/django-compressor/issues/1099). Once that's fixed, I'll check if I can still reproduce this one.
Author
Owner

@SuperSandro2000 commented on GitHub (Mar 7, 2022):

For the failing build, what is your installed django-compressor version (what does pip freeze say?)?

I am building in docker and basically cloning the project and then do pip install -r requirements.txt which means I would have django-compressor==3.0.

Ah, I can reproduce it

Great! Thank you so much.

<!-- gh-comment-id:1060729928 --> @SuperSandro2000 commented on GitHub (Mar 7, 2022): > For the failing build, what is your installed django-compressor version (what does pip freeze say?)? I am building in [docker](https://github.com/SuperSandro2000/docker-images/blob/master/healthchecks/Dockerfile) and basically cloning the project and then do ``pip install -r requirements.txt`` which means I would have `django-compressor==3.0`. > Ah, I can reproduce it Great! Thank you so much.
Author
Owner

@cuu508 commented on GitHub (Mar 7, 2022):

This might work as a workaround – replace https://github.com/SuperSandro2000/docker-images/blob/master/healthchecks/Dockerfile#L95 with

&& DEBUG=False /app/manage.py compress
<!-- gh-comment-id:1060753695 --> @cuu508 commented on GitHub (Mar 7, 2022): This might work as a workaround – replace https://github.com/SuperSandro2000/docker-images/blob/master/healthchecks/Dockerfile#L95 with && DEBUG=False /app/manage.py compress
Author
Owner

@SuperSandro2000 commented on GitHub (Mar 7, 2022):

That did the trick for now. Thanks

<!-- gh-comment-id:1060829168 --> @SuperSandro2000 commented on GitHub (Mar 7, 2022): That did the trick for now. Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#448
No description provided.