[web-devel] Fwd: Devel Server

Michael Snoyman michael at snoyman.com
Tue May 3 03:41:39 CEST 2011


I didn't realize you were using Yesod 0.7. In that case, scratch what
I said previously: the persistent-template package only applies to
Yesod 0.8 and later. How exactly are you running the devel server?

On Tue, May 3, 2011 at 2:06 AM, Mister Asafe Ribeiro
<asafe.hai.kai at gmail.com> wrote:
>
>
> ---------- Forwarded message ----------
> From: Mister Asafe Ribeiro <asafe.hai.kai at gmail.com>
> Date: Mon, May 2, 2011 at 8:00 PM
> Subject: Re: [web-devel] Devel Server
> To: Michael Snoyman <michael at snoyman.com>
>
>
> What now ?  I get that:
>
>  Couldn't match expected type `Database.Persist.Base.EntityDef'
>                 with actual type
> `persistent-0.4.2:Database.Persist.Base.EntityD
> When I change the imports to Database.Persist.TH and Database.Persist.Base
> the file where is the foundation, KafeeZeit.hs, does not work anymore and I
> do not know what type/functions supply. I'm using Yesod 0.7
>
> On Sun, May 1, 2011 at 11:57 PM, Michael Snoyman <michael at snoyman.com>
> wrote:
>>
>> On Mon, May 2, 2011 at 5:53 AM, Mister Asafe Ribeiro
>> <asafe.hai.kai at gmail.com> wrote:
>> > When I try to run devel server of my yesod powered site i get:
>> >
>> > Could not find module `Database.Persist.TH':
>> >   It is a member of the hidden package `persistent-0.4.2'.
>> >   It is a member of the hidden package `persistent-0.3.1.3'.
>> >   Use -v to see a list of the files searched for.
>> >
>> > What should I do to expose persistent module ?
>> >
>>
>> Actually, it's now part of persistent-template, try installing that
>> package.
>>
>> Michael
>
>
>
> --
> na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na
>
>
>
> --
> na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na-na
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>
>



More information about the web-devel mailing list