This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Another EONENT problem. I get them every once in a while and I was able to get through it but not anymore. If I have Compass installed using Web Workbench (the right click Project...Install method) and I do not use the following line: @import "compass"; The .sass compilation upon save works as expected. The very moment I add that line I get the following:
I've tried the following:
None of this has any affect. I've tried to roll back to a previous known version of Workbench (3.2) to no avail (in fact, when I completely uninstall and install this, it says it is version 3.4). Help! |
|
|
Anyone shed some light on this? It's killing me. |
|
|
If you try moving your project to a folder location without spaces in the path - e.g. C:\Temp\MyProject - does this change the behavior?
|
|
|
The only thing that changes was the file/directory:
Instead of just compass-core-1.0.1, it now drills down to the .lock file/directory |
|
|
Try adding the following to your config.rb and then creating a C:\Temp\sass-cache folder. sassoptions = {:cachelocation => "C:\Temp\sass-cache"} Does that resolve the issue?
|
|
|
I tried what you offered but I don't believe I did it right (not a ruby person). The system is till going to the above referenced location for the cache. I've attached the config.rb file for you to check. After saving the scss file I get the same error, I checked the c:\Temp\sass-cache directory and it is empty. |
|
|
Still no ideas? |
|
|
Based on feedback from another thread related to this it seems the option needs to be specified as (the difference being the escaping):
|
|
|
Well, the temp is being properly constructed now, but other than that it didn't help. I still get the error. I did some testing and found the following. Instead of just using the @import "compass"; command I broke it down further and here is what I got:
I drilled down into the temp directory and while all the directories are exactly where they should be, the compass directory is empty. I have checked permissions on the entire c:\Temp\sass-cache structure and made sure every single account (admin, users, authorized users, system, and even my specific account) has full rights to the directory, all subdirectories and all files. I have checked the Windows logs to ensure ther are no errors or warnings. I've completely deleted all directories under c:\Temp\sass-cache |
|
|
It looks like this may be the related issue: https://github.com/Compass/compass/issues/1791 where the temp files are > 255 characters in length which runs into the Windows limit on file-path length leading to the error (which is not particularly helpful). The workaround suggested there is to set the following options in config.rb:
Seems like a different version of the same option from earlier but sounds like something new to try.
|
|
|
Nope, same problem. All centers around the use of:
|
|
|
Sorry, without being able to reproduce this Im at a loss as to whats causing this or if we can apply a fix :(
|
|
|
Encountering the same issue here... only workaround I have found that enables me to continue in the meantime is by disabling caching in config.rb with
...obviously not ideal. Looking in to resolving this properly. |
|
|
Not ideal but it worked. Appreciate it. Hoping for some kind of resolution, but at least I have my Compass back. |
|