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
AttributeError: 'CachedFileFinder' object has no attribute 'storages' #293
Comments
Oh, that's a terrible regression. Could you provide the full traceback? |
Sure! The error happened with django 1.6 and django-pipeline installed from github.
|
I just ran into this issue after I moved storage.py#L142 depends on After I reverted that commit, the exception went away. |
This is still an issue with 1.3.23, also in glob.py's glob1 function, you catch all exceptions and return an empty list thus ignoring errors... that's pretty much horrible practice in general, beyond that silently not grabbing expected files due to an exception is just all kinds of terrible just by itself. /rant For those curious, pip install django-pipeline==1.3.17 to get a working copy |
+1 Happens in django-pipeline==1.3.24 when referring to a .less file in PIPELINE_CSS |
So this is still a issue? |
@santagada appears so I'm afraid |
This works: but if i uncomment then it fails with above message
|
What was happening to me was that I had a wrong filename on one of the dependencies... correcting it the problem was solved. |
@santagada I think thats the problem indeed. I reference .less files in PIPLINE_CSS and are using the less converter as per docs... ie
|
I just hit this to and it turned out I had a ".min" as part if a source_filename but the file on disk wasn't ".min". Simple oversight, but the error message is misleading for when a file can't be found, it should better error with the name of the file that can't be found. |
I agree, this ticket should be renamed for "better error message on file not found" |
I'm having the following problem. Not sure if it's a misconfiguration on my end or a bug.
I'm using Bower to install some components. I've added to
STATICFILES_DIRS
the directory where the components are installed.Here are some relevant parts from settings.py
When I run
collectstatic
, I get the following error:However, If I remove CachedFileFinder,
collectstatic
works fine.The text was updated successfully, but these errors were encountered: