-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
1.4.2 requires absolute paths support from static storage #403
Comments
+1 on this |
@brad for me, this fix only delays the error; after copying all the static files to S3, the local
|
Strange, we are not experiencing that, though we are using Less, not Sass |
Experiencing the exact same problem using mixins mentioned in docs...
After debugging, the real problem is that the configured compiler(s) gets called with infile/outfile params as storage related paths, looked up using storage.path() here So, when not using local file storage, like S3, the paths used by the compiler, i.e. Changing path lookup with finders.find() instead of storage.path() like in #409 does not solve the problem later in the chain as @hwkns points out. It only solves the paths for the local cli command. For other chained mixins, like As far as I can see this can be solved in two ways. 1. 2. |
+1 for same error |
Fixed in #409. |
@cyberdelia did you read the comments here from myself and @lundberg ? |
@hwkns I've made a pull request that implements some of my idéas in commented solution 2. Could you try it and see if it solves even your problem? @cyberdelia I'm still using your partial fix from #409 in respect of previous merge. |
We move fast and this was holding us back, so we use Gulp for static assets now instead of |
Yeah this issue is killing us. Thinking about switching off django-pipeline and over to grunt or gulp as well. I can't believe there aren't any tests for this as I know quite a few people using S3 with their django static assets. |
Everything works fine again with pipeline 1.5 (tested with django 1.8). Closing. |
I'm using the following static storage:
Which is almost the same as the one from pipeline docs (even simpler because it doesnt use CachedFilesMixin) .
It's fine with 1.3.x but breaks with 1.4.2 because it tries to run sass compiler using absolute path from s3. S3BotoStorage doesn't support absolute paths and throws this long exception:
The text was updated successfully, but these errors were encountered: