sass / libsass-net

A lightweight wrapper around libsass
MIT License
94 stars 35 forks source link

ExecutionEngineException #16

Closed aviatrix closed 9 years ago

aviatrix commented 9 years ago

Hello,

I'm currently using LibsassNet & web and from on random occasions i see that an Unknown error occurred is thrown in the C# part of the project, and the scss isn't compiled, however if i refresh the page it's all ok again and after few more refreshes it's broken.

Unfortunately i was not able to find a reliable way to reproduce this However i did some debugging on the C++ project and it throws this exception on line 93 int result = sass_compile_file(ctx); in SassInterface.cpp

Any help with this issue, because i'm looking to use this library in production website in few months.

samrueby commented 9 years ago

I actually noticed this too which caused me to roll back to the previous version. I thought it may have been because (in my case) the Sass compiler isn't thread safe.

darrenkopp commented 9 years ago

yeah, i think things got broke in 3.1 of libsass. there's a new api, but i'm still using the old api, and I don't think it works properly. I'm working on porting to the new api currently

aviatrix commented 9 years ago

Hey Darren Do you have any ETA on this?

Also, I'm looking at https://github.com/sass/node-sass/tree/master/src and node-sass are keeping up to date with libsass and have similar wrappers. or the python wrpapper, seems simpler https://github.com/dahlia/libsass-python Maybe you can just moddify the wrappers a bit or just use wrapper implementation with .net ?

aviatrix commented 9 years ago

This is fixed as of #19