HI Balázs,
Hi everyone,I've just tried Yesod for the first time, and managed to get the site produced by the scaffolder working with wai-handler-devel. But currently there seem to be a couple of issues with it:1.) #ifdef WINDOWS macros doesn't work with wai-handler-devel, on Windows it tries to load System.Posix.Signals in Application.hs2.) in wai-handler-devel.hs I had to set the `yesod` field of the `Devel` data type to True because otherwise it wouldn't work3.) in Application.hs the withFoundation function takes two extra arguments, so it produces a scary error message if one tries `wai-handler-devel 3000 Application withFoundation`. This can be solved with something like this:withFoundation' f = doconf <- Settings.loadConfig Settings.Development-- logger <- makeLoggerlet logger = undefineds <- static Settings.staticDirSettings.withConnectionPool conf $ \p -> dorunConnectionPool (runMigration migrateAll) plet h = Foundation conf logger s ptoWaiApp h >>= fbut then the logger produces some strange things:Interpreting success, new app loadedGET /Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8GET /static/css/normalize.cssAccepGtE:T t/esxtta/tciscs/,t*m/p*/;-qf=n0M.a15eGBE.Tc s[Gs(E"TAE cT/ckse7tp_atft:2i vct"/e,tx"mt"p/)/c]5sts-,J*H/Q*-;Sq.=j0s.1Accept: */*GET /favicon.icoAccept: */*AAAcccccceeepppttt::: *tt/ee*xxtt//ccssss,,**//**;;qq==00..11What could be the problem here?
_______________________________________________
web-devel mailing list
web-devel@haskell.org
http://www.haskell.org/mailman/listinfo/web-devel