I am unsure from your response whether you tried to install the latest version of Persistent. The previous error message stated you were missing 2 of the latest persistent packages, so after those are installed you should at least have a different error message now. Or did you not want to install the latest version of persistent?<br>
<br><div class="gmail_quote">On Fri, Jul 29, 2011 at 4:10 PM, Michael Litchard <span dir="ltr"><<a href="mailto:michael@schmong.org">michael@schmong.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks for the reply. But yesod 0.9.0 still won't install. This is the<br>
goal. But only because I need Yesod.Fields.Form 0.3.0. This is the<br>
larger goal. I need multiSelect. My reports thus far have been to help<br>
out with beta testing. Let me know what you'd like me to try, I have a<br>
fairly free weekend.<br>
<div class="im"><br>
On Fri, Jul 29, 2011 at 2:28 PM, Greg Weber <<a href="mailto:greg@gregweber.info">greg@gregweber.info</a>> wrote:<br>
On Fri, Jul 29, 2011 at 2:28 PM, Greg Weber <<a href="mailto:greg@gregweber.info">greg@gregweber.info</a>> wrote:<br>
> Hi Michael Litchard,<br>
> I will let Michael analyze that dependency issue. For now you can also use<br>
> the pre-release version of Persistent.<br>
</div>> git clone <a href="http://github.com/yesodweb/persistentfar" target="_blank">http://github.com/yesodweb/persistentfar</a><br>
<div><div></div><div class="h5">> cd persistent && ./install-all.sh<br>
> On Fri, Jul 29, 2011 at 1:09 PM, Michael Litchard <<a href="mailto:michael@schmong.org">michael@schmong.org</a>><br>
> wrote:<br>
>><br>
>> I did a git pull, got this error ...<br>
>><br>
>><br>
>> Registering yesod-static-0.3.0...<br>
>> Installing yesod-persistent<br>
>> Resolving dependencies...<br>
>> Configuring yesod-persistent-0.2.0...<br>
>> cabal: At least the following dependencies are missing:<br>
>> persistent ==0.6.*, persistent-template ==0.6.*<br>
>><br>
>> I did a fresh install, got same error.<br>
>><br>
>> On Thu, Jul 28, 2011 at 9:34 PM, Michael Snoyman <<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>><br>
>> wrote:<br>
>> > The persistent test/test error message comes from the test suite,<br>
>> > which by default tests both sqlite and postgresql. I think the best<br>
>> > solution would be to create the test account/database its asking for,<br>
>> > to making sure the tests run correctly.<br>
>> ><br>
>> > The web-routes-quasi dependency is spurious; I've removed it and<br>
>> > updated the repo (thank you!). Please pull the changes. As for<br>
>> > persistent, it looks like the failing test case caused the library not<br>
>> > to fail. Either try setting up the database properly, or disable the<br>
>> > "cabal test" call in the install-all.sh script, and then install<br>
>> > persistent again.<br>
>> ><br>
>> > Michael<br>
>> ><br>
>> > On Fri, Jul 29, 2011 at 6:52 AM, Michael Litchard <<a href="mailto:michael@schmong.org">michael@schmong.org</a>><br>
>> > wrote:<br>
>> >> I installed everything but yesod 0.9.0, saving that for last. The only<br>
>> >> issue I saw was the one I already mentioned.<br>
>> >><br>
>> >> However running your install-all.sh script for yesod, I received the<br>
>> >> following error:<br>
>> >><br>
>> >> Registering yesod-static-0.3.0...<br>
>> >> Installing yesod-persistent<br>
>> >> Resolving dependencies...<br>
>> >> Configuring yesod-persistent-0.2.0...<br>
>> >> cabal: At least the following dependencies are missing:<br>
>> >> persistent ==0.6.*,<br>
>> >> persistent-template ==0.6.*,<br>
>> >> web-routes-quasi >=0.7.1 && <0.8<br>
>> >><br>
>> >> I had already installed persistent. What would you like me to try?<br>
>> >><br>
>> >> On Thu, Jul 28, 2011 at 8:21 PM, Michael Litchard <<a href="mailto:michael@schmong.org">michael@schmong.org</a>><br>
>> >> wrote:<br>
>> >>> tried to use install-all.sh for persistent.<br>
>> >>><br>
>> >>> I received the following error<br>
>> >>><br>
>> >>> [truncated]<br>
>> >>><br>
>> >>>>>> runtests: SqlError {seState = "", seNativeError = 1, seErrorMsg =<br>
>> >>>>>> "connectPostgreSQL: FATAL: password authentication failed for user<br>
>> >>>>>> \"test\"\nFATAL: password authentication failed for user \"test\"\n"}<br>
>> >>>>>> Test suite runtests: FAIL<br>
>> >>>>>> Test suite logged to: dist/test/persistent-0.6.0-runtests.log<br>
>> >>> Test suite runtests: FAIL<br>
>> >>> Test suite logged to: dist/test/persistent-0.6.0-runtests.log<br>
>> >>> 0 of 1 test suites (0 of 1 test cases) passed<br>
>> >>><br>
>> >>> [end]<br>
>> >>><br>
>> >>> I don't use persistent for anything. However if there's something you<br>
>> >>> want me to do in terms of testing, I'd be happy to help out.<br>
>> >>><br>
>> >>> On Wed, Jul 27, 2011 at 8:14 PM, Michael Snoyman <<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>><br>
>> >>> wrote:<br>
>> >>>> Try running the install-all.sh script, it will install all the<br>
>> >>>> required packages in order. You'll probably need to start with the<br>
>> >>>> persistent repo.<br>
>> >>>><br>
>> >>>> And David: Even though I just put the code up, it *is* ready for some<br>
>> >>>> heavy beta testing. We'll likely be making the 0.9 release within the<br>
>> >>>> next week, so if anyone has a chance to try installing, I'd<br>
>> >>>> appreciate<br>
>> >>>> it.<br>
>> >>>><br>
>> >>>> On Thu, Jul 28, 2011 at 3:10 AM, Michael Litchard<br>
>> >>>> <<a href="mailto:michael@schmong.org">michael@schmong.org</a>> wrote:<br>
>> >>>>> Thanks Ian. I've downloaded the git repository but I'm getting this<br>
>> >>>>> error when I try to cabal build from the repository.<br>
>> >>>>> mlitchard@apotheosis:~/tmp/yesod/yesod$ cabal install<br>
>> >>>>> Resolving dependencies...<br>
>> >>>>> cabal: cannot configure yesod-0.9.0. It requires yesod-auth ==0.7.*,<br>
>> >>>>> yesod-core ==0.9.*, yesod-form ==0.3.*, yesod-json ==0.2.*,<br>
>> >>>>> yesod-persistent<br>
>> >>>>> ==0.2.* and yesod-static ==0.3.*<br>
>> >>>>> There is no available version of yesod-auth that satisfies ==0.7.*<br>
>> >>>>> There is no available version of yesod-core that satisfies ==0.9.*<br>
>> >>>>> There is no available version of yesod-form that satisfies ==0.3.*<br>
>> >>>>> There is no available version of yesod-json that satisfies ==0.2.*<br>
>> >>>>> There is no available version of yesod-persistent that satisfies<br>
>> >>>>> ==0.2.*<br>
>> >>>>> There is no available version of yesod-static that satisfies ==0.3.*<br>
>> >>>>><br>
>> >>>>> This is a circular problem. yesod-form, for example complains about<br>
>> >>>>> the lack of a yesod 0.9.0, which is what I'm trying to install. I<br>
>> >>>>> know<br>
>> >>>>> there is a workaround, but am treading lightly lest I muck<br>
>> >>>>> everything<br>
>> >>>>> up.<br>
>> >>>>> So how do I install from the repository? I suppose I could wait for<br>
>> >>>>> all this to be official, but I can't sit on my hands that long.<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>> On Wed, Jul 27, 2011 at 5:00 PM, Ian Duncan <<a href="mailto:iand675@gmail.com">iand675@gmail.com</a>><br>
>> >>>>> wrote:<br>
>> >>>>>> Michael Snoyman no longer has the git repo on his personal profile.<br>
>> >>>>>> Get all of your needed git repos from here: <a href="https://github.com/yesodweb" target="_blank">https://github.com/yesodweb</a><br>
>> >>>>>><br>
>> >>>>>> On Jul 27, 2011, at 6:56 PM, Michael Litchard wrote:<br>
>> >>>>>><br>
>> >>>>>>> I'm trying to download the git repository, here's what happens.<br>
>> >>>>>>><br>
>> >>>>>>> mlitchard@apotheosis:~/tmp$ git clone<br>
>> >>>>>>> <a href="https://github.com/snoyberg/yesod.git" target="_blank">https://github.com/snoyberg/yesod.git</a> Initialized empty Git<br>
>> >>>>>>> repository in /home/mlitchard/tmp/yesod/.git/<br>
>> >>>>>>> fatal: <a href="https://github.com/snoyberg/yesod.git/info/refs" target="_blank">https://github.com/snoyberg/yesod.git/info/refs</a> not found:<br>
>> >>>>>>> did<br>
>> >>>>>>> you run git update-server-info on the server?<br>
>> >>>>>>><br>
>> >>>>>>> is git clone the right command? Is there a problem on the server<br>
>> >>>>>>> right now?<br>
>> >>>>>>><br>
>> >>>>>>> On Wed, Jul 27, 2011 at 4:26 PM, Michael Litchard<br>
>> >>>>>>> <<a href="mailto:michael@schmong.org">michael@schmong.org</a>> wrote:<br>
>> >>>>>>>> Upon further investigation, I'm believe that the ability to have<br>
>> >>>>>>>> a<br>
>> >>>>>>>> multi-select field in 0.2.0.1 is non-existent. 0.2.0 builds from<br>
>> >>>>>>>> cabal<br>
>> >>>>>>>> so I think I will just use that until I need something else.<br>
>> >>>>>>>><br>
>> >>>>>>>> On Wed, Jul 27, 2011 at 3:59 PM, Michael Litchard<br>
>> >>>>>>>> <<a href="mailto:michael@schmong.org">michael@schmong.org</a>> wrote:<br>
>> >>>>>>>>> What I mean to say is, I'm assuming selectField can now have the<br>
>> >>>>>>>>> option to be a multi-select. I just don't know how to do that<br>
>> >>>>>>>>> with the<br>
>> >>>>>>>>> new interface.<br>
>> >>>>>>>>><br>
>> >>>>>>>>> On Wed, Jul 27, 2011 at 3:57 PM, Michael Litchard<br>
>> >>>>>>>>> <<a href="mailto:michael@schmong.org">michael@schmong.org</a>> wrote:<br>
>> >>>>>>>>>> Building Aframe-0.0.1...<br>
>> >>>>>>>>>> [5 of 7] Compiling Handler.SSLvpn ( Handler/SSLvpn.hs,<br>
>> >>>>>>>>>> dist/build/Aframe/Aframe-tmp/Handler/SSLvpn.o )<br>
>> >>>>>>>>>><br>
>> >>>>>>>>>> Handler/SSLvpn.hs:44:14: Not in scope: `multiSelectField'<br>
>> >>>>>>>>>><br>
>> >>>>>>>>>> multiSelectField is no longer a function in 0.2.0.1<br>
>> >>>>>>>>>><br>
>> >>>>>>>>>><br>
>> >>>>>>>>>> Here's the change I am referring to<br>
>> >>>>>>>>>><br>
>> >>>>>>>>>> selectField :: (Eq a, Monad monad, RenderMessage master<br>
>> >>>>>>>>>> FormMessage)<br>
>> >>>>>>>>>> => [(Text, a)] -> Field (GGWidget master (GGHandler sub master<br>
>> >>>>>>>>>> monad)<br>
>> >>>>>>>>>> ()) FormMessage a<br>
>> >>>>>>>>>><br>
>> >>>>>>>>>> I have no idea what to make of that or how to use it.<br>
>> >>>>>>>>>><br>
>> >>>>>>>>>> On Wed, Jul 27, 2011 at 3:54 PM, David McBride<br>
>> >>>>>>>>>> <<a href="mailto:dmcbride@neondsl.com">dmcbride@neondsl.com</a>> wrote:<br>
>> >>>>>>>>>>> Seems to work fine for me, what error are you getting, and<br>
>> >>>>>>>>>>> what have<br>
>> >>>>>>>>>>> you set the variables servers and tests to?<br>
>> >>>>>>>>>>><br>
>> >>>>>>>>>>> On Wed, Jul 27, 2011 at 6:44 PM, Michael Litchard<br>
>> >>>>>>>>>>> <<a href="mailto:michael@schmong.org">michael@schmong.org</a>> wrote:<br>
>> >>>>>>>>>>>> I appreciate the additional functionality that allows multi<br>
>> >>>>>>>>>>>> select<br>
>> >>>>>>>>>>>> fields. The interface to selectField has changed however. The<br>
>> >>>>>>>>>>>> following code used to work. I cannot make sense of the<br>
>> >>>>>>>>>>>> changes, and<br>
>> >>>>>>>>>>>> couldn't find any use examples in the source. Could someone<br>
>> >>>>>>>>>>>> lend a<br>
>> >>>>>>>>>>>> hand and tell me how the following should be re-written?<br>
>> >>>>>>>>>>>><br>
>> >>>>>>>>>>>><br>
>> >>>>>>>>>>>> sslvpnForm = fixType $ runFormPost $ renderDivs $ pure (,)<br>
>> >>>>>>>>>>>> <*> areq (multiSelectField servers) "Pick some servers"<br>
>> >>>>>>>>>>>> Nothing<br>
>> >>>>>>>>>>>> <*> areq (selectField tests) "Pick a test" Nothing<br>
>> >>>>>>>>>>>><br>
>> >>>>>>>>>>>> _______________________________________________<br>
>> >>>>>>>>>>>> web-devel mailing list<br>
>> >>>>>>>>>>>> <a href="mailto:web-devel@haskell.org">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>
>> >>>>>>>>>>>><br>
>> >>>>>>>>>>><br>
>> >>>>>>>>>><br>
>> >>>>>>>>><br>
>> >>>>>>>><br>
>> >>>>>>><br>
>> >>>>>>> _______________________________________________<br>
>> >>>>>>> web-devel mailing list<br>
>> >>>>>>> <a href="mailto:web-devel@haskell.org">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>
>> >>>>>><br>
>> >>>>>><br>
>> >>>>>> _______________________________________________<br>
>> >>>>>> web-devel mailing list<br>
>> >>>>>> <a href="mailto:web-devel@haskell.org">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>
>> >>>>>><br>
>> >>>>><br>
>> >>>>> _______________________________________________<br>
>> >>>>> web-devel mailing list<br>
>> >>>>> <a href="mailto:web-devel@haskell.org">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>
>> >>>>><br>
>> >>>><br>
>> >>><br>
>> >><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> web-devel mailing list<br>
>> <a href="mailto:web-devel@haskell.org">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>
><br>
><br>
</div></div></blockquote></div><br>