Giter VIP home page Giter VIP logo

Comments (16)

Taritsyn avatar Taritsyn commented on June 20, 2024 1

@redcrayonn @DaveEmmerson In version 1.2.8 fixed this error. The error was at the LibSass level.

from libsasshost.

Taritsyn avatar Taritsyn commented on June 20, 2024

Hello, Olaf!

Thanks for information! In the near future I will research this problem.

from libsasshost.

Taritsyn avatar Taritsyn commented on June 20, 2024

Hello, Olaf!

I cannot reproduce this error.

You are using a modified or original version of the LibSass? Show me the full error message with stack trace.

from libsasshost.

DaveEmmerson avatar DaveEmmerson commented on June 20, 2024

at LibSassHost.Helpers.MarshallingHelpers.PtrToString(IntPtr ptr)
at LibSassHost.Internal.SassCompilerProxy.FillManagedContextError(SassContextBase context, Sass_Context& ctx)
at LibSassHost.Internal.SassCompilerProxy.Compile(SassDataContext dataContext)
at LibSassHost.SassCompiler.InnerCompile(String content, Boolean indentedSyntax, String inputPath, String outputPath, String sourceMapPath, CompilationOptions options)
at LibSassHost.SassCompiler.Compile(String content, String inputPath, String outputPath, String sourceMapPath, CompilationOptions options)
at BundleTransformer.SassAndScss.Translators.SassAndScssTranslator.InnerTranslate(IAsset asset, CompilationOptions sassOptions, Boolean enableNativeMinification)
at BundleTransformer.SassAndScss.Translators.SassAndScssTranslator.Translate(IList1 assets) at BundleTransformer.Core.Transformers.TransformerBase.Translate(IList1 assets, Boolean isDebugMode)
at BundleTransformer.Core.Transformers.TransformerBase.Transform(IList1 assets, BundleContext bundleContext, BundleResponse bundleResponse, VirtualPathProvider virtualPathProvider, Boolean isDebugMode) at BundleTransformer.Core.Transformers.TransformerBase.Process(BundleContext bundleContext, BundleResponse bundleResponse, Boolean isDebugMode) at BundleTransformer.Core.Transformers.TransformerBase.Process(BundleContext bundleContext, BundleResponse bundleResponse) at System.Web.Optimization.Bundle.ApplyTransforms(BundleContext context, String bundleContent, IEnumerable1 bundleFiles)
at System.Web.Optimization.Bundle.GenerateBundleResponse(BundleContext context)
at System.Web.Optimization.Bundle.GetBundleResponse(BundleContext context)
at System.Web.Optimization.BundleResolver.GetBundleContents(String virtualPath)
at System.Web.Optimization.AssetManager.DeterminePathsToRender(IEnumerable`1 assets)
at System.Web.Optimization.AssetManager.RenderExplicit(String tagFormat, String[] paths)
at System.Web.Optimization.Styles.RenderFormat(String tagFormat, String[] paths)
at System.Web.Optimization.Styles.Render(String[] paths)

LibSassHost.1.2.7
LibSassHost.Native.win-x86.1.2.7

I'm trying to track down exactly where it fails.

from libsasshost.

Taritsyn avatar Taritsyn commented on June 20, 2024

Hello, Dave!

You have only given a stack trace. I don't see the error message itself.

from libsasshost.

DaveEmmerson avatar DaveEmmerson commented on June 20, 2024

from libsasshost.

Taritsyn avatar Taritsyn commented on June 20, 2024

@DaveEmmerson Is this error persistent?

Apparently it occurs during processing of the Sass syntax error:

…
at LibSassHost.Internal.SassCompilerProxy.FillManagedContextError(SassContextBase context, Sass_Context& ctx)
…

from libsasshost.

DaveEmmerson avatar DaveEmmerson commented on June 20, 2024

from libsasshost.

Taritsyn avatar Taritsyn commented on June 20, 2024

What version of .NET are you using? Implementation of the PtrToString method just depends on it.

from libsasshost.

DaveEmmerson avatar DaveEmmerson commented on June 20, 2024

from libsasshost.

DaveEmmerson avatar DaveEmmerson commented on June 20, 2024

Hi

Yeah, it's framework and 4.6.2 on this project.

Thanks

from libsasshost.

DaveEmmerson avatar DaveEmmerson commented on June 20, 2024

@Taritsyn thanks! I've created some local nuget packages of the latest commit and updated my libsasshost/libsassnative/bundletransformer.sass references and it seems to be working (in my sample size of 1 error 😁 )

from libsasshost.

Taritsyn avatar Taritsyn commented on June 20, 2024

@DaveEmmerson Why create local nuget packages? Packages are in release.

from libsasshost.

DaveEmmerson avatar DaveEmmerson commented on June 20, 2024

Ah, woops.

Does https://github.com/Taritsyn/BundleTransformer/blob/64c05f32757e469edb3b2e3f7d7d63dd6c0f82d8/src/BundleTransformer.SassAndScss/BundleTransformer.SassAndScss.csproj#L31 need to be updated though?

I'm very new to LibSass (like 2 days in), so I'm not 100% on how all the bits fit together yet.

from libsasshost.

Taritsyn avatar Taritsyn commented on June 20, 2024

There were no changes in interface of the LibSassHost library, so you can just update the LibSassHost's packages.

from libsasshost.

DaveEmmerson avatar DaveEmmerson commented on June 20, 2024

👍 thanks again - works fine after a good number of parse errors.

from libsasshost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.