Error while setting up SquishIt bundles using NanxyFX on OWIN self host in Mono

48 views
Skip to first unread message

govind

unread,
Sep 17, 2015, 3:33:23 AM9/17/15
to SquishIt
Get the following error while setting up SquishIt bundles using NanxyFX on OWIN self host in Mono.

I notice an IIS/Windows dependency in the stacktrace - System.Web.Caching.CacheDependency

Is SquishIt supported on mono? 

How do I overcome this error?


---> System.IO.IOException: kqueue() error at init, error code = '0'

at System.IO.KqueueMonitor.Start () <0x000c3>

at System.IO.KeventWatcher.StartDispatching (System.IO.FileSystemWatcher) <0x000ab>

at System.IO.FileSystemWatcher.Start () <0x0001f>

at System.IO.FileSystemWatcher.set_EnableRaisingEvents (bool) <0x0002b>

at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents (bool) <0x0005f>

at System.Web.Caching.CacheDependency..ctor (string[],string[],System.Web.Caching.CacheDependency,System.DateTime) <0x003cb>

at System.Web.Caching.CacheDependency..ctor (string[]) <0x00047>

at SquishIt.Framework.ContentCache.Add (string,string,System.Collections.Generic.List`1<string>,bool) <0x000c7>

at SquishIt.Framework.Base.BundleBase`1<SquishIt.Framework.JavaScript.JavaScriptBundle>.RenderRelease (string,string,SquishIt.Framework.Renderers.IRenderer) <0x00a53>

at SquishIt.Framework.Base.BundleBase`1<SquishIt.Framework.JavaScript.JavaScriptBundle>.Render (string,string,SquishIt.Framework.Renderers.IRenderer) <0x0043b>

at SquishIt.Framework.Base.BundleBase`1<SquishIt.Framework.JavaScript.JavaScriptBundle>.AsCached (string,string) <0x00067>

at OT.GCWeb.Site.Nancy.AssetBundling.BundleConfig.ProcessScriptBundle (object,string) <0x00227>

at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Type,object,object) <0x00103>

at OT.GCWeb.Site.Nancy.AssetBundling.BundleConfig.ProcessJSScriptBundles (object) <0x0037b>

at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Type,object) <0x000bf>

at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2<System.Type, object> (System.Runtime.CompilerServices.CallSite,System.Type,object) <0x00425>

at OT.GCWeb.Site.Nancy.AssetBundling.BundleConfig.RegisterBundles () <0x004cc>

at OT.GCWeb.Site.Nancy.Bootstrapper.ConfigureApplicationContainer (Nancy.TinyIoc.TinyIoCContainer) <0x00027>

at Nancy.Bootstrapper.NancyBootstrapperBase`1<Nancy.TinyIoc.TinyIoCContainer>.Initialise () <0x000c0>

at Nancy.Owin.NancyMiddleware.UseNancy (Nancy.Owin.NancyOptions) <0x000a0>

at Owin.AppBuilderExtensions.UseNancy (Owin.IAppBuilder,Nancy.Owin.NancyOptions) <0x0003f>

Alex Ullrich

unread,
Sep 18, 2015, 12:02:42 PM9/18/15
to SquishIt
I've done my best to support Mono, but when Nancy removed dependencies on system.web they essentially made the framework incompatible with SquishIt.

There is an issue for this on github: https://github.com/jetheredge/SquishIt/issues/315

I don't use Nancy though, so it may be hard to get alternate implementations worked out, though I hope to make all the stuff that depends on System.Web pluggable.  So far I have not found any nancy users with the bandwidth to help.
Reply all
Reply to author
Forward
0 new messages