Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Vinod Kumar Nair
Sass error in liferay 6.1 themes
August 13, 2012 3:25 AM
Answer

Vinod Kumar Nair

Rank: Junior Member

Posts: 59

Join Date: July 13, 2012

Recent Posts

Hi, I'm getting Sass::SyntaxError: File to import not found or unreadable: compass. while compiling my theme developed in 6.1 version of liferay. Any idea how to remove this. I have checked extra.css file. In this using import we are by default calling compass. I thought import is a part of css but I think not after getting this error.
Please explain me what kind of error is this and how to resolve this. Is any library needs to imported for this.

Complete error is:-

15:43:19,602 INFO [EasyConf:122] Refreshed the configuration of all components
15:43:20,043 INFO [ConfigurationLoader:56] Properties for jar:file:/E:/%5bProject%20Code%20Base%5d/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal loaded from [file:/E:/%5bProject%20Code%20Base%5d/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/classes/portal-ext.properties, jar:file:/E:/%5bProject%20Code%20Base%5d/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties]
Loading jar:file:/E:/%5bProject%20Code%20Base%5d/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/E:/%5bProject%20Code%20Base%5d/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/classes/portal-ext.properties
Parsed E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/application.css in 7344 ms
Parsed E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/base.css in 115 ms
Sass::SyntaxError: File to import not found or unreadable: compass.
Load paths:
E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/sass
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/blueprint/stylesheets
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter
import at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/import_node.rb:64
imported_file at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/import_node.rb:25
visit_import at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:148
send at org/jruby/RubyKernel.java:2096
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:18
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:53
collect at org/jruby/RubyArray.java:2336
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:53
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:27
with_environment at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:39
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:26
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37
visit_root at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:47
send at org/jruby/RubyKernel.java:2096
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:18
send at org/jruby/RubyKernel.java:2096
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:7
render at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/root_node.rb:20
_render at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/engine.rb:293
render at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/engine.rb:240
(root) at <script>:38
org.jruby.embed.EvalFailedException: (SyntaxError) File to import not found or unreadable: compass.
Load paths:
E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/sass
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/blueprint/stylesheets
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter
Unable to parse E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/custom.css
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:148)
at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:105)
at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:228)
at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:190)
at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:130)
at com.liferay.portal.tools.SassToCssBuilder.main(SassToCssBuilder.java:86)
Caused by: org.jruby.exceptions.RaiseException: (SyntaxError) File to import not found or unreadable: compass.
Load paths:
E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/sass
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/blueprint/stylesheets
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter
Parsed E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/dockbar.css in 177 ms
Sass::SyntaxError: File to import not found or unreadable: compass.
Load paths:
E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/sass
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/blueprint/stylesheets
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter
import at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/import_node.rb:64
imported_file at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/import_node.rb:25
visit_import at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:148
send at org/jruby/RubyKernel.java:2096
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:18
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:53
collect at org/jruby/RubyArray.java:2336
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:53
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:27
with_environment at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:39
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:26
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37
visit_root at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:47
send at org/jruby/RubyKernel.java:2096
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:18
send at org/jruby/RubyKernel.java:2096
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:7
render at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/root_node.rb:20
_render at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/engine.rb:293
render at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/engine.rb:240
(root) at <script>:38
Unable to parse E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/extras.css
org.jruby.embed.EvalFailedException: (SyntaxError) File to import not found or unreadable: compass.
Load paths:
E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/sass
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/blueprint/stylesheets
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:148)
at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:105)
at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:228)
at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:190)
at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:130)
at com.liferay.portal.tools.SassToCssBuilder.main(SassToCssBuilder.java:86)
Caused by: org.jruby.exceptions.RaiseException: (SyntaxError) File to import not found or unreadable: compass.
Load paths:
E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/sass
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/blueprint/stylesheets
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter
Parsed E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/forms.css in 191 ms
Parsed E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/layout.css in 61 ms
Sass::SyntaxError: File to import not found or unreadable: compass.
Load paths:
E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/sass
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/blueprint/stylesheets
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter
import at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/import_node.rb:64
import at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/import_node.rb:62
imported_file at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/import_node.rb:25
visit_import at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:148
send at org/jruby/RubyKernel.java:2096
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:18
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:53
collect at org/jruby/RubyArray.java:2336
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:53
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:27
with_environment at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:39
visit_children at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:26
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37
visit_root at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:47
send at org/jruby/RubyKernel.java:2096
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/base.rb:37
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:18
send at org/jruby/RubyKernel.java:2096
visit at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/visitors/perform.rb:7
render at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/tree/root_node.rb:20
_render at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/engine.rb:293
render at file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/sass-3.1.7/lib/sass/engine.rb:240
(root) at <script>:38
org.jruby.embed.EvalFailedException: (SyntaxError) File to import not found or unreadable: compass.
Load paths:
E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/sass
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/blueprint/stylesheets
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter
at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:148)
at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:105)
at com.liferay.portal.tools.SassToCssBuilder._parseSassFile(SassToCssBuilder.java:228)
at com.liferay.portal.tools.SassToCssBuilder._parseSassDirectory(SassToCssBuilder.java:190)
at com.liferay.portal.tools.SassToCssBuilder.<init>(SassToCssBuilder.java:130)
at com.liferay.portal.tools.SassToCssBuilder.main(SassToCssBuilder.java:86)
Caused by: org.jruby.exceptions.RaiseException: (SyntaxError) File to import not found or unreadable: compass.
Load paths:
E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/sass
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/blueprint/stylesheets
file:E:/[Project Code Base]/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/WEB-INF/lib/ruby-gems.jar!/gems/compass-0.11.5/frameworks/compass/stylesheets
Compass::SpriteImporter
Unable to parse E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/main.css
Parsed E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/navigation.css in 42 ms
Parsed E:/[Project Code Base]/liferay-plugins-sdk-6.1.0-ce-ga1/themes/SDPTheme-theme/docroot/css/portlet.css in 361 ms
Deleting: E:\[Project Code Base]\liferay-plugins-sdk-6.1.0-ce-ga1\dist\SDPTheme-theme-6.1.0.1.war
Building zip: E:\[Project Code Base]\liferay-plugins-sdk-6.1.0-ce-ga1\dist\SDPTheme-theme-6.1.0.1.war
deploy:
Copying 1 file to E:\[Project Code Base]\liferay-portal-6.1.0-ce-ga1\deploy
BUILD SUCCESSFUL
Total time: 21 seconds
Vinod Kumar Nair
RE: Sass error in liferay 6.1 themes
August 13, 2012 11:27 AM
Answer

Vinod Kumar Nair

Rank: Junior Member

Posts: 59

Join Date: July 13, 2012

Recent Posts

Any idea?
Anonymous
RE: Sass error in liferay 6.1 themes
August 13, 2012 11:39 AM
Answer

Anonymous

what version of tomcat are you using?
Vinod Kumar Nair
RE: Sass error in liferay 6.1 themes
August 13, 2012 11:02 PM
Answer

Vinod Kumar Nair

Rank: Junior Member

Posts: 59

Join Date: July 13, 2012

Recent Posts

Bradley Wood:
what version of tomcat are you using?


I'm using Tomact 7 bundled with liferay 6.1. In the past also, I have setup many times liferay individually and ran but I never had such experience. Is it because of some incompatibility?

(Sorry for posting whole long console output here. It is something very weird and I didn't want others to miss anything)
Mika Koivisto
RE: Sass error in liferay 6.1 themes
August 14, 2012 3:06 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1512

Join Date: August 7, 2006

Recent Posts

You should try using the latest 6.1 GA2 release instead of 6.1 GA1.
Andrew Clements
RE: Sass error in liferay 6.1 themes
September 4, 2012 12:35 AM
Answer

Andrew Clements

Rank: New Member

Posts: 17

Join Date: June 5, 2008

Recent Posts

Mika Koivisto:
You should try using the latest 6.1 GA2 release instead of 6.1 GA1.



Unfortunately that little hint bought it's own nasty surprises...web site disappeared with some kind of theme issue

Someone else has the same issue:
http://www.liferay.com/community/forums/-/message_boards/message/12262896

Unfortunately for me, none of the hacks other have tried are working for me.
Mika Koivisto
RE: Sass error in liferay 6.1 themes
September 4, 2012 4:46 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1512

Join Date: August 7, 2006

Recent Posts

Make sure you also upgrade your plugins sdk. I was using an older version and it generated some random theme issues.
Andrew Clements
RE: Sass error in liferay 6.1 themes
October 3, 2012 7:27 PM
Answer

Andrew Clements

Rank: New Member

Posts: 17

Join Date: June 5, 2008

Recent Posts

It turns out to be a little deeper. Following the upgrade steps as meticulously as I can results in deletion of all file data (from 'data' path), all users and roles being either deleted or unlinked (although curiously the organisation is still there), the deletion or unlinking of all content from the site, and the deletion or unlinking of all pages.

Deleting the site and installing a new Liferay site would have been a lot quicker, less painful and had pretty much the same result. Of course there is the minor issue of 'no content' outstanding from this process. :\

As far as I can tell, this '7Cogs' thing seem to really mess things up too. It should really be optional.