Problems when creating Compass project (EACCES on line [“891”]) #1618

Closed
underblob opened this Issue Mar 22, 2014 · 20 comments

Comments

Projects
None yet
9 participants
@underblob

This is a problem I found today installing the Compass gem for the first time with the latest release 0.12.4.

This Stack Overflow question was created today:
http://stackoverflow.com/questions/22559284/problems-when-creating-compass-project-eacces-on-line-891

It may be specific to Windows. Rolling back to 0.12.3 resolves the issue.

@moollaza

This comment has been minimized.

Show comment Hide comment
@moollaza

moollaza Mar 22, 2014

It seems several people have had this issue today. Reverting to 0.12.3 worked for me as well and I'm also on Windows. FWIW the issue crept up for me when executing compass watch. It seems the problem is related to compass not having permission to write files.

It seems several people have had this issue today. Reverting to 0.12.3 worked for me as well and I'm also on Windows. FWIW the issue crept up for me when executing compass watch. It seems the problem is related to compass not having permission to write files.

@lolmaus

This comment has been minimized.

Show comment Hide comment
@lolmaus

lolmaus Mar 22, 2014

Contributor

It has been fixed already. Please search for a similar issue. I'm on mobile with poor connection so i can't do it for you. PS Look in the Sass project too.

Contributor

lolmaus commented Mar 22, 2014

It has been fixed already. Please search for a similar issue. I'm on mobile with poor connection so i can't do it for you. PS Look in the Sass project too.

@lolmaus

This comment has been minimized.

Show comment Hide comment
@lolmaus

lolmaus Mar 22, 2014

Contributor

I'm sorry, i confused this with another issue. Carry on.

Contributor

lolmaus commented Mar 22, 2014

I'm sorry, i confused this with another issue. Carry on.

@chriseppstein

This comment has been minimized.

Show comment Hide comment
@chriseppstein

chriseppstein Mar 22, 2014

Owner

I don't have access to a windows box for testing. I have fixed an issue relating to permissions, maybe that will fix this issue too. Update to sass 3.2.18 and let me know if that fixes it.

Owner

chriseppstein commented Mar 22, 2014

I don't have access to a windows box for testing. I have fixed an issue relating to permissions, maybe that will fix this issue too. Update to sass 3.2.18 and let me know if that fixes it.

@moollaza

This comment has been minimized.

Show comment Hide comment
@moollaza

moollaza Mar 23, 2014

@chriseppstein just gave it a try, but it doesn't look like your fix worked. I upgraded Compass to 0.12.4 and Sass to 3.2.18. I ran compass watch and upon making a change to my stylesheet, the error is thrown when compass tries to write the new file:
2014-03-23_00h25_10

@chriseppstein just gave it a try, but it doesn't look like your fix worked. I upgraded Compass to 0.12.4 and Sass to 3.2.18. I ran compass watch and upon making a change to my stylesheet, the error is thrown when compass tries to write the new file:
2014-03-23_00h25_10

@bridgeport

This comment has been minimized.

Show comment Hide comment
@bridgeport

bridgeport Mar 23, 2014

Experienced the same issue on Windows after upgrading to v0.12.4. When I installed compass it'll automatically installed SASS v3.2.18 as a dependency even though I also have SASS v3.3.4 also installed. Still, the problem persists.

Downgrading to v0.12.3 fixed it.

Here's the trace output:

D:\home\sitedir\public_html>compass watch --trace
>>> Change detected at 16:15:46 to: application.scss
   create css/application.css
Errno::EACCES on line ["897"] of C: Permission denied - (D:/home/sitedir/public_html/css/application.css20140323-6856-16je212, D:/home/sitedir/public_html/css/application.css)
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/sass-3.2.18/lib/sass/util.rb:897:in `atomic_create_and_write_file'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/actions.rb:58:in `write_file'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:143:in `compile'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:118:in `compile_if_required'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:103:in `block (2 levels) in run'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:101:in `each'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:101:in `block in run'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:126:in `timed'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:100:in `run'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/watch_project.rb:147:in `recompile'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/watch_project.rb:68:in `perform'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/base.rb:18:in `execute'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/project_base.rb:19:in `execute'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:15:in `run!'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/bin/compass:30:in `block in <top (required)>'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/bin/compass:44:in `call'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/bin/compass:44:in `<top (required)>'
  C:/Ruby193/bin/compass:23:in `load'
  C:/Ruby193/bin/compass:23:in `<main>'
>>> Compass is polling for changes. Press Ctrl-C to Stop.

Here's my config.rb file:

http_path       = "/"
css_dir         = "css"
sass_dir        = "sass"
images_dir      = "img"
javascripts_dir = "js"

output_style    = :expanded
line_comments   = false
unix_newlines   = true
cache_path      = "c:/tmp/sass-cache"

The permissions error occurs even if I remove config.rb

Thanks.

Experienced the same issue on Windows after upgrading to v0.12.4. When I installed compass it'll automatically installed SASS v3.2.18 as a dependency even though I also have SASS v3.3.4 also installed. Still, the problem persists.

Downgrading to v0.12.3 fixed it.

Here's the trace output:

D:\home\sitedir\public_html>compass watch --trace
>>> Change detected at 16:15:46 to: application.scss
   create css/application.css
Errno::EACCES on line ["897"] of C: Permission denied - (D:/home/sitedir/public_html/css/application.css20140323-6856-16je212, D:/home/sitedir/public_html/css/application.css)
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/sass-3.2.18/lib/sass/util.rb:897:in `atomic_create_and_write_file'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/actions.rb:58:in `write_file'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:143:in `compile'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:118:in `compile_if_required'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:103:in `block (2 levels) in run'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:101:in `each'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:101:in `block in run'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:126:in `timed'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/compiler.rb:100:in `run'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/watch_project.rb:147:in `recompile'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/watch_project.rb:68:in `perform'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/base.rb:18:in `execute'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/project_base.rb:19:in `execute'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:15:in `run!'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/bin/compass:30:in `block in <top (required)>'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/bin/compass:44:in `call'
  C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/bin/compass:44:in `<top (required)>'
  C:/Ruby193/bin/compass:23:in `load'
  C:/Ruby193/bin/compass:23:in `<main>'
>>> Compass is polling for changes. Press Ctrl-C to Stop.

Here's my config.rb file:

http_path       = "/"
css_dir         = "css"
sass_dir        = "sass"
images_dir      = "img"
javascripts_dir = "js"

output_style    = :expanded
line_comments   = false
unix_newlines   = true
cache_path      = "c:/tmp/sass-cache"

The permissions error occurs even if I remove config.rb

Thanks.

@moollaza

This comment has been minimized.

Show comment Hide comment
@moollaza

moollaza Mar 23, 2014

This seems like the offending commit -- it changed between Compass 0.2.13 and 0.2.14
fb85ca5

This seems like the offending commit -- it changed between Compass 0.2.13 and 0.2.14
fb85ca5

@chriseppstein

This comment has been minimized.

Show comment Hide comment
@chriseppstein

chriseppstein Mar 24, 2014

Owner

@moollaza Please delete all your compiled CSS files and let me know if the issue continues to persist.

Owner

chriseppstein commented Mar 24, 2014

@moollaza Please delete all your compiled CSS files and let me know if the issue continues to persist.

@moollaza

This comment has been minimized.

Show comment Hide comment
@moollaza

moollaza Mar 24, 2014

@chriseppstein no luck -- but I think I believe I found the problem and a potential solution:

Looking around online (https://www.ruby-forum.com/topic/127161#567261) it seems Windows doesn't let you move/rename files while they're open. Looking at Sass' atomic_create_and_write_file (https://github.com/nex3/sass/blob/stable/lib/sass/util.rb#L1166) it seems this is the case, the file is being renamed while still open. I tried adding tmpfile.close if tmpfile right before the File.rename :

      tmpfile.close if tmpfile
      File.rename tmpfile.path, filename

and it seemed to fix the problem -- modifications were successfully detected and new output CSS was compiled. I'm not sure if closing the file at this point will break functionality on other OS's though. @chriseppstein hopefully this gives you enough info to fix the problem?

@chriseppstein no luck -- but I think I believe I found the problem and a potential solution:

Looking around online (https://www.ruby-forum.com/topic/127161#567261) it seems Windows doesn't let you move/rename files while they're open. Looking at Sass' atomic_create_and_write_file (https://github.com/nex3/sass/blob/stable/lib/sass/util.rb#L1166) it seems this is the case, the file is being renamed while still open. I tried adding tmpfile.close if tmpfile right before the File.rename :

      tmpfile.close if tmpfile
      File.rename tmpfile.path, filename

and it seemed to fix the problem -- modifications were successfully detected and new output CSS was compiled. I'm not sure if closing the file at this point will break functionality on other OS's though. @chriseppstein hopefully this gives you enough info to fix the problem?

@chriseppstein

This comment has been minimized.

Show comment Hide comment
@chriseppstein

chriseppstein Mar 24, 2014

Owner

@moollaza Thank you for the help debugging this. I've just pushed a commit to the stable_3_2 branch. All tests pass for me. Can you try testing against that and see if it's working?

Owner

chriseppstein commented Mar 24, 2014

@moollaza Thank you for the help debugging this. I've just pushed a commit to the stable_3_2 branch. All tests pass for me. Can you try testing against that and see if it's working?

@moollaza

This comment has been minimized.

Show comment Hide comment
@moollaza

moollaza Mar 24, 2014

@chriseppstein I cloned the sass repo, checked out the stable_3_2 branch and when I run rake to try the tests it's failing with the same error as before. I tried modifying my installed SASS gem again to make sure I had it working before with compass and again I was able to get compass working so now I'm confused as to why its failing when I run the tests.

I briefly fiddled around with the function but had no luck :(

Here's the output from the test:

Zaahir at ZAAHIRS-BEAST in ~/sites/sass on [stable_3_2*]
$ rake --trace
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
c:/Ruby193/bin/ruby.exe -I"lib;test" -I"c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib" "c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/rake_test_loader.rb" "c:/Users/Zaahir/sites/sass/test/sass/cache_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/callbacks_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/conversion_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/css2sass_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/engine_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/exec_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/extend_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/functions_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/importer_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/logger_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/plugin_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/script_conversion_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/script_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/css_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/rx_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/scss_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util/multibyte_string_scanner_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util/subset_map_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util_test.rb"
Run options:

# Running tests:

......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E..F.............................

Finished tests in 17.338216s, 79.7660 tests/s, 320.6212 assertions/s.

  1) Error:
test_atomic_writes(UtilTest):
Errno::EACCES: Permission denied - (C:/Users/Zaahir/AppData/Local/Temp/test_atomic20140324-10140-ya6cis, C:/Users/Zaahir/AppData/Local/Temp/test_atomic)
    c:/Users/Zaahir/sites/sass/lib/sass/util.rb:903:in `rename'
    c:/Users/Zaahir/sites/sass/lib/sass/util.rb:903:in `block in atomic_create_and_write_file'
    <internal:prelude>:10:in `synchronize'
    c:/Users/Zaahir/sites/sass/lib/sass/util.rb:902:in `atomic_create_and_write_file'
    c:/Users/Zaahir/sites/sass/test/sass/util_test.rb:324:in `block (3 levels) in test_atomic_writes'

  2) Failure:
test_caller_info(UtilTest) [c:/Users/Zaahir/sites/sass/test/sass/util_test.rb:264]:
<"c:/Users/Zaahir/sites/sass/test/sass/util_test.rb"> expected but was
<"c">.

1383 tests, 5559 assertions, 1 failures, 1 errors, 0 skips
rake aborted!
Command failed with status (2): [ruby -I"lib;test" -I"c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib" "c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/rake_test_loader.rb" "c:/Users/Zaahir/sites/sass/test/sass/cache_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/callbacks_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/conversion_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/css2sass_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/engine_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/exec_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/extend_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/functions_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/importer_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/logger_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/plugin_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/script_conversion_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/script_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/css_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/rx_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/scss_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util/multibyte_string_scanner_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util/subset_map_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util_test.rb" ]
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/testtask.rb:109:in `block (3 levels) in define'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils.rb:45:in `call'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils.rb:45:in `sh'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils_ext.rb:37:in `sh'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils.rb:84:in `ruby'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils_ext.rb:37:in `ruby'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/testtask.rb:104:in `block (2 levels) in define'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils_ext.rb:58:in `verbose'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/testtask.rb:100:in `block in define'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:240:in `call'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:240:in `block in execute'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:235:in `each'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:235:in `execute'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
c:/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:201:in `block in invoke_prerequisites'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:199:in `each'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:199:in `invoke_prerequisites'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
c:/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:165:in `invoke'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:150:in `invoke_task'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:106:in `each'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:106:in `block in top_level'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:115:in `run_with_threads'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:100:in `top_level'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:78:in `block in run'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:173:in `standard_exception_handling'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:75:in `run'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/bin/rake:33:in `<top (required)>'
c:/Ruby193/bin/rake:23:in `load'
c:/Ruby193/bin/rake:23:in `<main>'
Tasks: TOP => default => test

@chriseppstein I cloned the sass repo, checked out the stable_3_2 branch and when I run rake to try the tests it's failing with the same error as before. I tried modifying my installed SASS gem again to make sure I had it working before with compass and again I was able to get compass working so now I'm confused as to why its failing when I run the tests.

I briefly fiddled around with the function but had no luck :(

Here's the output from the test:

Zaahir at ZAAHIRS-BEAST in ~/sites/sass on [stable_3_2*]
$ rake --trace
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
c:/Ruby193/bin/ruby.exe -I"lib;test" -I"c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib" "c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/rake_test_loader.rb" "c:/Users/Zaahir/sites/sass/test/sass/cache_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/callbacks_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/conversion_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/css2sass_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/engine_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/exec_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/extend_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/functions_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/importer_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/logger_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/plugin_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/script_conversion_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/script_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/css_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/rx_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/scss_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util/multibyte_string_scanner_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util/subset_map_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util_test.rb"
Run options:

# Running tests:

......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E..F.............................

Finished tests in 17.338216s, 79.7660 tests/s, 320.6212 assertions/s.

  1) Error:
test_atomic_writes(UtilTest):
Errno::EACCES: Permission denied - (C:/Users/Zaahir/AppData/Local/Temp/test_atomic20140324-10140-ya6cis, C:/Users/Zaahir/AppData/Local/Temp/test_atomic)
    c:/Users/Zaahir/sites/sass/lib/sass/util.rb:903:in `rename'
    c:/Users/Zaahir/sites/sass/lib/sass/util.rb:903:in `block in atomic_create_and_write_file'
    <internal:prelude>:10:in `synchronize'
    c:/Users/Zaahir/sites/sass/lib/sass/util.rb:902:in `atomic_create_and_write_file'
    c:/Users/Zaahir/sites/sass/test/sass/util_test.rb:324:in `block (3 levels) in test_atomic_writes'

  2) Failure:
test_caller_info(UtilTest) [c:/Users/Zaahir/sites/sass/test/sass/util_test.rb:264]:
<"c:/Users/Zaahir/sites/sass/test/sass/util_test.rb"> expected but was
<"c">.

1383 tests, 5559 assertions, 1 failures, 1 errors, 0 skips
rake aborted!
Command failed with status (2): [ruby -I"lib;test" -I"c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib" "c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/rake_test_loader.rb" "c:/Users/Zaahir/sites/sass/test/sass/cache_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/callbacks_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/conversion_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/css2sass_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/engine_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/exec_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/extend_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/functions_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/importer_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/logger_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/plugin_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/script_conversion_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/script_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/css_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/rx_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/scss/scss_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util/multibyte_string_scanner_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util/subset_map_test.rb" "c:/Users/Zaahir/sites/sass/test/sass/util_test.rb" ]
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/testtask.rb:109:in `block (3 levels) in define'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils.rb:45:in `call'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils.rb:45:in `sh'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils_ext.rb:37:in `sh'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils.rb:84:in `ruby'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils_ext.rb:37:in `ruby'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/testtask.rb:104:in `block (2 levels) in define'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/file_utils_ext.rb:58:in `verbose'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/testtask.rb:100:in `block in define'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:240:in `call'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:240:in `block in execute'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:235:in `each'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:235:in `execute'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
c:/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:201:in `block in invoke_prerequisites'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:199:in `each'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:199:in `invoke_prerequisites'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
c:/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/task.rb:165:in `invoke'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:150:in `invoke_task'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:106:in `each'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:106:in `block in top_level'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:115:in `run_with_threads'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:100:in `top_level'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:78:in `block in run'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:173:in `standard_exception_handling'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/lib/rake/application.rb:75:in `run'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-10.2.0/bin/rake:33:in `<top (required)>'
c:/Ruby193/bin/rake:23:in `load'
c:/Ruby193/bin/rake:23:in `<main>'
Tasks: TOP => default => test
@bshelling

This comment has been minimized.

Show comment Hide comment
@bshelling

bshelling Mar 25, 2014

I've noticed the same problem and discovered inside of the config.rb file I commented out the the require 'compass/import-once/activate' line and everything seems to be working now, even with version 0.12.4

I've noticed the same problem and discovered inside of the config.rb file I commented out the the require 'compass/import-once/activate' line and everything seems to be working now, even with version 0.12.4

@chriseppstein

This comment has been minimized.

Show comment Hide comment
@chriseppstein

chriseppstein Mar 26, 2014

Owner

@moollaza Thank you for testing. I have requested a windows machine (or VM) here at work so that I can try to debug this on my own. IT is giving me crap about it. Until then, any help in fixing this is appreciated.

Owner

chriseppstein commented Mar 26, 2014

@moollaza Thank you for testing. I have requested a windows machine (or VM) here at work so that I can try to debug this on my own. IT is giving me crap about it. Until then, any help in fixing this is appreciated.

@frapontillo

This comment has been minimized.

Show comment Hide comment
@frapontillo

frapontillo Mar 28, 2014

I am having the same issue on Windows 8.1 x64.
Reverting to Compass 0.12.3 solved it.

I am having the same issue on Windows 8.1 x64.
Reverting to Compass 0.12.3 solved it.

@mtwalsh

This comment has been minimized.

Show comment Hide comment
@mtwalsh

mtwalsh Mar 31, 2014

Same issue on Windows Server 2008 R2 and the downgrade of Compass to 0.12.3 solved it.

mtwalsh commented Mar 31, 2014

Same issue on Windows Server 2008 R2 and the downgrade of Compass to 0.12.3 solved it.

@chriseppstein

This comment has been minimized.

Show comment Hide comment
@chriseppstein

chriseppstein Apr 7, 2014

Owner

Should be fixed in 0.12.5. Please let me know if you have any more issues.

Owner

chriseppstein commented Apr 7, 2014

Should be fixed in 0.12.5. Please let me know if you have any more issues.

@frapontillo

This comment has been minimized.

Show comment Hide comment
@frapontillo

frapontillo Apr 8, 2014

I can confirm the fix, thanks! 👍

I can confirm the fix, thanks! 👍

@underblob

This comment has been minimized.

Show comment Hide comment
@underblob

underblob Apr 10, 2014

Also confirmed the fix. Thanks Chris.

Also confirmed the fix. Thanks Chris.

@mtwalsh

This comment has been minimized.

Show comment Hide comment
@mtwalsh

mtwalsh Apr 14, 2014

Fixed here too, thanks!

mtwalsh commented Apr 14, 2014

Fixed here too, thanks!

@zumek

This comment has been minimized.

Show comment Hide comment
@zumek

zumek Aug 20, 2014

I'm using 0.12.6 and getting this issue. Any advice? Thanks!

zumek commented Aug 20, 2014

I'm using 0.12.6 and getting this issue. Any advice? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment