compass won't create config.rb

176 views
Skip to first unread message

bojan

unread,
Mar 21, 2014, 1:57:53 PM3/21/14
to compas...@googlegroups.com
I get this message when I try to create project with compass:
EACCES on lin ["891"] of C: permission denied
It also won't compile existing project. Everything was fine and i tried to add susy and then everything is wrong. I removed susy reinstalled ruby and everything and i can't amke it work.
Thanks!

Chris Eppstein

unread,
Mar 22, 2014, 1:32:46 PM3/22/14
to compas...@googlegroups.com
Please run the command with the --trace option so I can see better what's happening.

chris


--
You received this message because you are subscribed to the Google Groups "Compass" group.
To unsubscribe from this group and stop receiving emails from it, send an email to compass-user...@googlegroups.com.
To post to this group, send email to compas...@googlegroups.com.
Visit this group at http://groups.google.com/group/compass-users.
For more options, visit https://groups.google.com/d/optout.

Drexter Smith

unread,
Mar 23, 2014, 1:07:34 AM3/23/14
to compas...@googlegroups.com
Hi Chris,
I'm getting the same error as bojan after installing the latest gem (0.12.4) on windows 7:  Here is the error after I run with the trace option:
compass create --trace
   create config.rb
Errno::EACCES on line ["897"] of C: Permission denied - (c:/Projects/Sass/config.rb20140322-5316-1ye6yb8, c:/Projects/Sass/config.rb)
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/util.rb:897:in `atomic_create_and_write_file'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/actions.rb:58:in `write_file'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/app_integration/stand_alone/installer.rb:20:in `write_configuration_files'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/app_integration/stand_alone/installer.rb:35:in `prepare'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/installers/base.rb:32:in `run'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/commands/stamp_pattern.rb:75:in `perform'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/commands/base.rb:18:in `execute'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/commands/project_base.rb:19:in `execute'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:15:in `run!'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/bin/compass:30:in `block in <top (required)>'
  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/bin/compass:44:in `call'  C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-0.12.4/bin/compass:44:in `<top (re
quired)>'
  C:/Ruby200/bin/compass:23:in `load'
  C:/Ruby200/bin/compass:23:in `<main>'

Any help would be appreciated.

Николай Бойченко

unread,
Mar 23, 2014, 1:09:47 PM3/23/14
to compas...@googlegroups.com
I had the same problem after update Compass to 0.12.4 Downgrade Compass to 0.12.2 solved this problem

пятница, 21 марта 2014 г., 19:57:53 UTC+2 пользователь bojan написал:
Message has been deleted

Christopher Cook

unread,
Apr 3, 2014, 12:21:22 PM4/3/14
to compas...@googlegroups.com
I am also experiencing this issue after upgrading compass.  Everything was working fine with Compass gemfile (version 0.12.2) and Sass gemfile (version 3.2.14).  The following outlines the current gemfiles along with a slightly redacted error trace:

Current (trimmed) Rubygems list:
chunky_png (1.3.0)
compass (0.12.4)
compass-import-once (1.0.4)
sass (3.2.18)

Error trace:
Errno::EACCES on line ["897"] of C: Permission denied - (C:/xxxxx/aaaaaa/bbbbb/ccccc/Ddddddddddd/eee-eee-eeeeeeeee/fff/ggggggg/h-h/iiiiiiiiii.iiiiii/jjjjjj/kkkkkkk/llllll/logo-sa115485bc4.png20140403-6636-1cpk8d3, C:/xxxxx/aaaaaa/bbbbb/ccccc/Ddddddddddd/eee-eee-eeeeeeeee/fff/ggggggg/h-h/iiiiiiiiii.iiiiii/jjjjjj/kkkkkkk/llllll//logo-sa115485bc4.png)
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/util.rb:897:in `atomic_create_and_write_file'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:25:in `save'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/sass_extensions/sprites/sprite_methods.rb:104:in `save!'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/sass_extensions/sprites/sprite_methods.rb:64:in `generate'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/sass_extensions/functions/sprites.rb:122:in `sprite_url'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/sass_extensions/sprites/sprite_map.rb:72:in `method_missing'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/sass_extensions/sprites/sprite_map.rb:63:in `to_s'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/script/list.rb:44:in `block in to_s'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/script/list.rb:44:in `map'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/script/list.rb:44:in `to_s'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:299:in `visit_prop'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:100:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:53:in `map'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:53:in `visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `block in visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:320:in `visit_rule'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:100:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:53:in `map'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:53:in `visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `block in visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:205:in `visit_if'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:100:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:208:in `visit_if'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:100:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:227:in `block in visit_import'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:227:in `map'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:227:in `visit_import'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:100:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:227:in `block in visit_import'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:227:in `map'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:227:in `visit_import'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:100:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:53:in `map'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:53:in `visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `block in visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:128:in `visit_root'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/base.rb:37:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:100:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/visitors/perform.rb:7:in `visit'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/tree/root_node.rb:20:in `render'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/engine.rb:315:in `_render'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/sass-3.2.18/lib/sass/engine.rb:262:in `render'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:139:in `block (2 levels) in compile'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:126:in `timed'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:138:in `block in compile'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/logger.rb:45:in `red'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:137:in `compile'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:118:in `compile_if_required'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:103:in `block (2 levels) in run'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:101:in `each'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:101:in `block in run'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:126:in `timed'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/compiler.rb:100:in `run'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/commands/update_project.rb:45:in `perform'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/commands/base.rb:18:in `execute'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/commands/project_base.rb:19:in `execute'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:15:in `run!'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/bin/compass:30:in `block in <top (required)>'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/bin/compass:44:in `call'
  C:/Ruby/lib/ruby/gems/2.0.0/gems/compass-0.12.4/bin/compass:44:in `<top (required)>'
  C:/Ruby/bin/compass:23:in `load'
  C:/Ruby/bin/compass:23:in `<main>'

Chris Eppstein

unread,
Apr 7, 2014, 7:10:01 PM4/7/14
to compas...@googlegroups.com
This is fixed in Compass 0.12.5 (and sass 3.2.19).

chris
Reply all
Reply to author
Forward
0 new messages