question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PipelineCachedStorage fails to find hashed asset

See original GitHub issue

I’m using pipeline with boostrap css, and I get the following error upon running collectstatic:

ValueError: The file 'fonts/glyphicons-halflings-regular.eot' could not be found with <pipeline.storage.PipelineCachedStorage object at 0x7fe7d8ce5d90>.

Within the collectstatic run and prior to this, I see the following:

Post-processed 'third_party/bootstrap-3.1.1-dist/fonts/glyphicons-halflings-regular.eot' as 'third_party/bootstrap-3.1.1-dist/fonts/glyphicons-halflings-regular.7ad17c6085de.eot'

It seems that perhaps pipeline isn’t referencing it’s own hashed filename?

The finders I am using are ‘pipeline.finders.CachedFileFinder’, ‘pipeline.finders.PipelineFinder’,

Note that this error doesn’t occur with PipelineStorage.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cyberdeliacommented, Aug 28, 2014

Just concatenating minified code to other minified or non minified code can break, so everything is terrible.

1reaction
xEtherealxcommented, Aug 28, 2014

Yes, I notice now that many minified packages cause some sort of failure, sometime only seen when running the code in a browser. Is there a way to detect and warn or fail on already minified code, or better yet warn and concatenate the code instead of trying to re-minify?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strange Issue When Minifying CSS via django-pipeline
The error isn't entirely related to Pipeline but rather what Django's CachedStaticFilesStorage that PipelineCachedStorage extends.
Read more >
Strange Issue When Minifying CSS via django-pipeline-django
The cached storage will look for file references in your css files and replace url('asset-link') and @import 'resource-link' with the appropriate link to...
Read more >
django-pipeline - PyPI
Pipeline is an asset packaging library for Django, providing both CSS and JavaScript concatenation and compression, built-in JavaScript template support, ...
Read more >
Adventures in Debugging the Asset Pipeline - Cloud 66 Blog
The assets were being compiled on the server itself. However, a subset of the compiled assets on this new server had a different...
Read more >
Studio Display Issue - Google Groups
After some additional digging around, I was at least able to find a few more ... Failed to load resource: the server responded...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found