-
Bug
-
Resolution: Invalid
-
Major
-
4.0RC3
-
None
-
None
-
FF
When I use this sass files attached, an error occurs on Ametys :
Note that, only main.css file have to be loaded, all others are imported inside main.sass.
I succeed to convert main.sass to main.css with all dependencies with ruby compilator.
Date: Wed Mar 15 16:47:58 CET 2017 (1489592878054) Thread: http-apr-8084-exec-2 Message #: 344 Level: ERROR NDC: Category: sitemap.handled-errors Message: Unable to compile the SASS file: file:/D:/Dev/Projets/AggloValence/siteweb/aggloValence_cms/web/skins/InternetAgglo/resources/css/main.sass at <map:read type="resource"> - resource://org/ametys/workspaces/web/sitemap.xmap:155:74 at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:181:109 Location: org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46) Thrown: org.apache.cocoon.ProcessingException: Unable to compile the SASS file: file:/D:/Dev/Projets/AggloValence/siteweb/aggloValence_cms/web/skins/InternetAgglo/resources/css/main.sass at <map:read type="resource"> - resource://org/ametys/workspaces/web/sitemap.xmap:155:74 at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:181:109 at org.ametys.plugins.core.ui.resources.SassResourceHandler.compileResource(SassResourceHandler.java:164) at org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler.generateResource(AbstractCompiledResourceHandler.java:137) at org.ametys.core.cocoon.ResourceReader.generate(ResourceReader.java:83) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader(AbstractCachingProcessingPipeline.java:921) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:475) at org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:85) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:542) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2463) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2452) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: io.bit3.jsass.CompilationException: Error: @import directive requires a url or quoted path on line 1 of ../../../Dev/Projets/AggloValence/siteweb/aggloValence_cms/web/skins/InternetAgglo/resources/css/main.sass >> @import _variables ^ at io.bit3.jsass.adapter.NativeAdapter.compileString(Native Method) at io.bit3.jsass.adapter.NativeAdapter.compile(NativeAdapter.java:55) at io.bit3.jsass.Compiler.compile(Compiler.java:111) at io.bit3.jsass.Compiler.compileString(Compiler.java:61) at org.ametys.plugins.core.ui.resources.SassResourceHandler.compileResource(SassResourceHandler.java:160) ... 47 more