<div dir="ltr">Sorry, things are still in a little bit of flux as I change underlying libraries. The only suggestion I've got is to retry with a "git pull && cabal update && cabal install". When the final version is actually released, it will be well-tested first.<div>
<br></div><div>Note: right now it depends on web-routes-quasi 0.3.0, which has not yet been released, so you'll have to pull that from the github repo.</div><div><br></div><div>Michael<br><br><div class="gmail_quote">
On Sat, May 22, 2010 at 7:32 AM, James Britt <span dir="ltr"><<a href="mailto:james@neurogami.com">james@neurogami.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Michael Snoyman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I believe my 0.2 branch of Yesod[1] is feature-complete for this release, and it seems to be fairly stable. The documentation on it[2] give a good introduction, and hopefully the haddocks will fill in the gaps.<br>
</blockquote>
<br></div>
james@james06:~/data/vendor/yesod$ runhaskell Setup.lhs configure --user<br>
Configuring yesod-0.2.0...<br>
Warning: This package indirectly depends on multiple versions of the same<br>
package. This is highly likely to cause a compile failure.<br>
package http-wget-0.6.2 requires transformers-0.1.4.0<br>
package control-monad-attempt-0.3.0 requires transformers-0.1.4.0<br>
package authenticate-0.6.2 requires transformers-0.1.4.0<br>
package yesod-0.2.0 requires transformers-0.2.1.0<br>
package MonadCatchIO-transformers-0.2.2.0 requires transformers-0.2.1.0<br>
<br>
<br>
$ghc --version<br>
The Glorious Glasgow Haskell Compilation System, version 6.12.1<br>
<br>
This on Ubuntu 8.04<br>
<br>
<br>
<br>
Running<br>
<br>
$ runhaskell Setup.lhs build<br>
<br>
fails:<br>
<br>
<br>
[12 of 14] Compiling Yesod.Helpers.Auth ( Yesod/Helpers/Auth.hs, dist/build/Yesod/Helpers/Auth.o )<br>
<br>
Yesod/Helpers/Auth.hs:187:25:<br>
Could not deduce (transformers-0.1.4.0:Control.Monad.Trans.MonadIO<br>
(GHandler Auth master))<br>
from the context ()<br>
arising from a use of `OpenId.getForwardUrl'<br>
at Yesod/Helpers/Auth.hs:187:25-57<br>
Possible fix:<br>
add (transformers-0.1.4.0:Control.Monad.Trans.MonadIO<br>
(GHandler Auth master)) to the context of<br>
the type signature for `getOpenIdForward'<br>
or add an instance declaration for<br>
(transformers-0.1.4.0:Control.Monad.Trans.MonadIO<br>
(GHandler Auth master))<br>
In the second argument of `($)', namely<br>
`OpenId.getForwardUrl oid complete'<br>
In a stmt of a 'do' expression:<br>
res <- runAttemptT $ OpenId.getForwardUrl oid complete<br>
In the expression:<br>
do { testOpenId;<br>
rr <- getRequest;<br>
oid <- case getParams rr "openid" of {<br>
[x] -> return x<br>
_ -> invalidArgs [...] };<br>
render <- getUrlRender;<br>
.... }<br>
<br>
Yesod/Helpers/Auth.hs:200:25:<br>
Could not deduce (transformers-0.1.4.0:Control.Monad.Trans.MonadIO<br>
(GHandler Auth master))<br>
from the context (YesodAuth master)<br>
arising from a use of `OpenId.authenticate'<br>
at Yesod/Helpers/Auth.hs:200:25-49<br>
Possible fix:<br>
add (transformers-0.1.4.0:Control.Monad.Trans.MonadIO<br>
(GHandler Auth master)) to the context of<br>
the type signature for `getOpenIdComplete'<br>
or add an instance declaration for<br>
(transformers-0.1.4.0:Control.Monad.Trans.MonadIO<br>
(GHandler Auth master))<br>
In the second argument of `($)', namely `OpenId.authenticate gets''<br>
In a stmt of a 'do' expression:<br>
res <- runAttemptT $ OpenId.authenticate gets'<br>
In the expression:<br>
do { testOpenId;<br>
rr <- getRequest;<br>
let gets' = reqGetParams rr;<br>
res <- runAttemptT $ OpenId.authenticate gets';<br>
.... }<br>
<br>
<br>
<br>
Suggestions?<br>
<br>
<br>
Thanks,<br>
<br>
James<br><font color="#888888">
<br>
-- <br>
<br>
Neurogami - Smart application development<br>
<br>
<a href="http://www.neurogami.com" target="_blank">http://www.neurogami.com</a><br>
<br>
<a href="mailto:james@neurogami.com" target="_blank">james@neurogami.com</a></font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
web-devel mailing list<br>
<a href="mailto:web-devel@haskell.org" target="_blank">web-devel@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
</div></div></blockquote></div><br></div></div>