parse error with yesod's email authentication

Hi all, I'm having some trouble with the email authentication that the yesod scaffolding tool sets up for me. I'm using the Yesod 0.8 beta and ghc 7.0.3. I created a new yesod with the yesod tool and a sqlite database. I immediately compiled it (cabal configure && cabal build) without changing anything and ran the "test" binary. I navigated to the webpage and tried to register using my email address. The email I got contains this link: http://localhost:3000/auth/page/email/verify/EmailId%20%7BunEmailId%20=%20Pe... But when I click it, the webpage reports: Internal Server Error Prelude.read: no parse Do I need to set something else up to get this working? Thanks for your help. I'm loving yesod so far (already deployed my first Yesod app! Luckily it doesn't need auth :) --Chris

Definitely sounds like a bug in the new yesod-auth. Thanks for catching all of these during beta ;). I'll look into it. Michael On Wed, Apr 13, 2011 at 4:26 AM, Chris Casinghino < chris.casinghino@gmail.com> wrote:
Hi all,
I'm having some trouble with the email authentication that the yesod scaffolding tool sets up for me. I'm using the Yesod 0.8 beta and ghc 7.0.3.
I created a new yesod with the yesod tool and a sqlite database. I immediately compiled it (cabal configure && cabal build) without changing anything and ran the "test" binary. I navigated to the webpage and tried to register using my email address. The email I got contains this link:
http://localhost:3000/auth/page/email/verify/EmailId%20%7BunEmailId%20=%20Pe...
But when I click it, the webpage reports:
Internal Server Error Prelude.read: no parse
Do I need to set something else up to get this working?
Thanks for your help. I'm loving yesod so far (already deployed my first Yesod app! Luckily it doesn't need auth :)
--Chris
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

OK, bug should be fixed on Yackage, you'll need to install a new version of
the persistent and yesod packages and then regenerate the scaffolded site.
Thanks again for catching this.
Michael
On Wed, Apr 13, 2011 at 6:51 AM, Michael Snoyman
Definitely sounds like a bug in the new yesod-auth. Thanks for catching all of these during beta ;). I'll look into it.
Michael
On Wed, Apr 13, 2011 at 4:26 AM, Chris Casinghino < chris.casinghino@gmail.com> wrote:
Hi all,
I'm having some trouble with the email authentication that the yesod scaffolding tool sets up for me. I'm using the Yesod 0.8 beta and ghc 7.0.3.
I created a new yesod with the yesod tool and a sqlite database. I immediately compiled it (cabal configure && cabal build) without changing anything and ran the "test" binary. I navigated to the webpage and tried to register using my email address. The email I got contains this link:
http://localhost:3000/auth/page/email/verify/EmailId%20%7BunEmailId%20=%20Pe...
But when I click it, the webpage reports:
Internal Server Error Prelude.read: no parse
Do I need to set something else up to get this working?
Thanks for your help. I'm loving yesod so far (already deployed my first Yesod app! Luckily it doesn't need auth :)
--Chris
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

On Thu, Apr 14, 2011 at 10:50 AM, Michael Snoyman
OK, bug should be fixed on Yackage, you'll need to install a new version of the persistent and yesod packages and then regenerate the scaffolded site. Thanks again for catching this.
No problem. Thanks for quashing these bugs so quickly! --Chris
participants (2)
-
Chris Casinghino
-
Michael Snoyman