I have installed Bundle CORE (1.7.24) and LESS (1.7.26) packages and trying to build in release mode a bundle with bootstrap LESS package (Twitter.Bootstrap.Less 2.3.2.1) with some variables changed (file attached).
Unfortunately I am receiving following error:
```
[AssetTranslationException: During translation of LESS-code, readed from the file '/Content/less/bootstrap.less', to CSS-code syntax error has occurred.
See more details:
Error type: Syntax
Message: Za mało miejsca na stosie
File: /Content/less/grid.less
Line number: 6
Column number: 12
Source error:
Line 6: // Fixed (940px)
-------------------^
Line 7: #grid > .core(@gridColumnWidth, @gridGutterWidth);
]
BundleTransformer.Less.Translators.LessTranslator.InnerTranslate(IAsset asset, LessCompiler lessCompiler, Boolean enableNativeMinification) +1048
BundleTransformer.Less.Translators.LessTranslator.Translate(IList`1 assets) +544
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) +418
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__Head_cshtml.Execute() in e:\!SVN\SWPS\Identity-Manager-Solution\Publish\Views\Shared\_Head.cshtml:1
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +196
System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +147
ASP._Page_Views_Shared__Layout_cshtml.Execute() in e:\!SVN\SWPS\Identity-Manager-Solution\Publish\Views\Shared\_Layout.cshtml:12
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +196
System.Web.WebPages.WebPageBase.Write(HelperResult result) +89
System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +233
System.Web.WebPages.WebPageBase.PopContext() +291
System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +33
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +240
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
```
Message 'Za mało miejsca na stosie' probably means stack overflow.
Comments: Yes, I thought it would be that problem - that's why I've attached variables file. Unfortuantely I have inherited this project and thought that an upgrade of packages would be a good idea. It works with version 1.7.16 (dotless) so it is not a big problem. BTW - stack overflow (if I recall corectly) usually happens with recursions, and most recursions can be changed into loops. Just a thought. Thanks anyway M.
Unfortunately I am receiving following error:
```
[AssetTranslationException: During translation of LESS-code, readed from the file '/Content/less/bootstrap.less', to CSS-code syntax error has occurred.
See more details:
Error type: Syntax
Message: Za mało miejsca na stosie
File: /Content/less/grid.less
Line number: 6
Column number: 12
Source error:
Line 6: // Fixed (940px)
-------------------^
Line 7: #grid > .core(@gridColumnWidth, @gridGutterWidth);
]
BundleTransformer.Less.Translators.LessTranslator.InnerTranslate(IAsset asset, LessCompiler lessCompiler, Boolean enableNativeMinification) +1048
BundleTransformer.Less.Translators.LessTranslator.Translate(IList`1 assets) +544
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) +418
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__Head_cshtml.Execute() in e:\!SVN\SWPS\Identity-Manager-Solution\Publish\Views\Shared\_Head.cshtml:1
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +196
System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +147
ASP._Page_Views_Shared__Layout_cshtml.Execute() in e:\!SVN\SWPS\Identity-Manager-Solution\Publish\Views\Shared\_Layout.cshtml:12
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +125
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +196
System.Web.WebPages.WebPageBase.Write(HelperResult result) +89
System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +233
System.Web.WebPages.WebPageBase.PopContext() +291
System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +33
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +240
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
```
Message 'Za mało miejsca na stosie' probably means stack overflow.
Comments: Yes, I thought it would be that problem - that's why I've attached variables file. Unfortuantely I have inherited this project and thought that an upgrade of packages would be a good idea. It works with version 1.7.16 (dotless) so it is not a big problem. BTW - stack overflow (if I recall corectly) usually happens with recursions, and most recursions can be changed into loops. Just a thought. Thanks anyway M.