Quantcast
Channel: bundletransformer Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 698

Commented Issue: Sass Translations with spaces in folder name [26]

$
0
0
When i access a bundle or a scss file directly I get the following error but only when I have spaces in the filename:

```


[InvalidError (0x80004005): Invalid argument - C:\Users\Drew\Documents\Visual Studio 2012\Projects\smartclinics.healthmax\Source\SmartClinics.Smartee.Web.Clinic\_Content\Shared]
IronRuby.Builtins.RubyDir.SetCurrentDirectory(PlatformAdaptationLayer pal, String dir) +96
IronRuby.Builtins.RubyDir.ChangeDirectory(PlatformAdaptationLayer pal, String strDir, MutableString dir, BlockParam block) +61
Microsoft.Scripting.Interpreter.FuncCallInstruction`5.Run(InterpretedFrame frame) +292
Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) +261
Microsoft.Scripting.Interpreter.LightLambda.Run4(T0 arg0, T1 arg1, T2 arg2, T3 arg3) +379
System.Dynamic.UpdateDelegates.UpdateAndExecute3(CallSite site, T0 arg0, T1 arg1, T2 arg2) +1028
Microsoft.Scripting.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame) +235
Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) +261
Microsoft.Scripting.Interpreter.LightLambda.Run2(T0 arg0, T1 arg1) +326
IronRuby.Runtime.RubyScriptCode.Run(Scope scope, Boolean bindGlobals) +234
BundleTransformer.SassAndScss.Compilers.SassAndScssCompiler.Compile(String content, String filePath, Boolean minifyOutput, IList`1 dependentFilePaths) +600
BundleTransformer.SassAndScss.Translators.SassAndScssTranslator.InnerTranslate(IAsset asset, Boolean enableNativeMinification) +349

[AssetTranslationException: During translation of SCSS-code, readed from the file ~/_Content/Shared/site.scss, to CSS-code error has occurred.
See more details:

Invalid argument - C:\Users\Drew\Documents\Visual Studio 2012\Projects\smartclinics.healthmax\Source\SmartClinics.Smartee.Web.Clinic\_Content\Shared]
BundleTransformer.SassAndScss.Translators.SassAndScssTranslator.InnerTranslate(IAsset asset, Boolean enableNativeMinification) +1000
BundleTransformer.SassAndScss.Translators.SassAndScssTranslator.Translate(IList`1 assets) +365
BundleTransformer.Core.Transformers.TransformerBase.Translate(IList`1 assets) +145
BundleTransformer.Core.Transformers.CssTransformer.Transform(IList`1 assets, BundleResponse bundleResponse, VirtualPathProvider virtualPathProvider, HttpContextBase httpContext) +94
BundleTransformer.Core.Transformers.TransformerBase.Process(BundleContext context, BundleResponse response) +339
System.Web.Optimization.Bundle.ApplyTransforms(BundleContext context, String bundleContent, IEnumerable`1 bundleFiles) +198
System.Web.Optimization.Bundle.GetBundleResponse(BundleContext context) +65
System.Web.Optimization.BundleResolver.GetBundleContents(String virtualPath) +253
System.Web.Optimization.AssetManager.EliminateDuplicatesAndResolveUrls(IEnumerable`1 refs) +494
System.Web.Optimization.AssetManager.DeterminePathsToRender(IEnumerable`1 assets) +928
System.Web.Optimization.AssetManager.RenderExplicit(String tagFormat, String[] paths) +34
ASP._Page_Views_Shared__Layout_cshtml.Execute() in c:\Users\Drew\documents\visual studio 2012\projects\smartclinics.healthmax\source\smartclinics.smartee.web.clinic\Views\Shared\_Layout.cshtml:36
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +173
System.Web.WebPages.WebPageBase.Write(HelperResult result) +89
System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +234
System.Web.WebPages.WebPageBase.PopContext() +234
System.Web.WebPages.WebPageBase.Write(HelperResult result) +89
System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +234
System.Web.WebPages.WebPageBase.PopContext() +234
System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +378
System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +33
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +727120
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +727120
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +727120
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +265
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +727076
System.Web.Mvc.Controller.ExecuteCore() +159
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +334
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +15
System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +52
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
```
Comments: Not been able to reproduce this error. The problem is certainly not in presence of spaces. It is possible, that the rights to the directory is not enough.

Viewing all articles
Browse latest Browse all 698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>