[web-devel] Fwd: Devel Server

Michael Snoyman michael at snoyman.com
Wed May 4 07:14:04 CEST 2011


Maybe there was a problem with your setup (cabal can do that
occassionally). Try "cabal update && rm -rf ~/.ghc && cabal install
yesod". I would recommend using Yesod 0.8; there aren't *massive*
differences from 0.7, but why go to an older version if you don't have
to?

On Tue, May 3, 2011 at 6:58 PM, Mister Asafe Ribeiro
<asafe.hai.kai at gmail.com> wrote:
> I runned cabal install and then ./dist/build/kafeezeit-devel/kafeezeit-devel
> as usual.
> i tried Yesod 0.8 but it does not compile with ghc 7.0.3.
>
>
> On Mon, May 2, 2011 at 10:41 PM, Michael Snoyman <michael at snoyman.com>
> wrote:
>>
>> 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
>> >
>> >
>
>
>
> --
> 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
>



More information about the web-devel mailing list