[Grok-dev] LoginDemo and PlainLoginDemo

daniel daniel.carraher at gmail.com
Tue Jan 15 09:21:48 EST 2008

I'm running into the problem where if I run buildout directly while doing
this, it starts getting site-packages from the system wide directory which
has a different version of zope and so buildout errors out. This happens
even though I have virtualenv enabled.
It's the same exact problem I was having with grokproject before I started
using virtualenv. Now grokproject is fine and it takes site-packages from
$virtual/ but buildout even when I use virtualenv is taking site-packages
from /usr/lib...

So my only solution is to use Sebastian's method and use grokproject to
install the app.

On Jan 15, 2008 8:50 AM, Luciano Ramalho <luciano at ramalho.org> wrote:

> On Jan 15, 2008 4:57 AM, daniel <daniel.carraher at gmail.com> wrote:
> > Hey,
> > Once I checkout PlainLoginDemo, is there an easy way to get grok to load
> it
> > as an application? I can place it in Sample/src/PlainLoginDemo but it
> > doesn't get picked up by grok which is only looking in
> Sample/src/sample.
> I've been using the standard procedure to install PlainLoginDemo and
> LoginDemo in any machine where I need to work on it. Namely:
> # checkout code from svn:
> $ svn co svn://svn.zope.org/repos/main/grokapps/PlainLoginDemo
> $ cd PlainLoginDemo/
> $ python2.4 bootstrap/bootstrap.py
> $ bin/buildout
> And that's it. After lots of downloads, you can test and start the app:
> $ bin/test
> # ... test results should be OK
> $ bin/zopectl fg
> This is the usual way to try any grok app in our repository, and has
> been working for me and my co-workers. We all use Ubuntu Linux 7.10
> with Python 2.4.
> Regards,
> Luciano


-- Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20080115/168e5de6/attachment.htm

More information about the Grok-dev mailing list