[Grok-dev] buildout-generated config files in grokproject
uli at gnufix.de
Thu Feb 5 17:45:23 EST 2009
Maurits van Rees wrote:
> Uli Fouquet, on 2009-02-05:
> > Just committed some changes into the grokproject-trunk that care for
> > configuration files (i.e. the files in etc/ dir of a grok project) to be
> > generated by ``zc.buildout`` (using Wicherts buildout-recipe) instead of
> > being generated by grokproject itself.
> But I get this error on startup of a newly created grok project:
> $ bin/bar-ctl fg
> bin/paster serve /home/maurits/svn/grokproject/bar #end raw /etc/deploy.ini
> Variable assignment '#end' invalid (no "=")
Stupid me. The ``#end raw `` stuff was garbage from experiments with
templates. It should be removed completely (now done in trunk).
> When I change zdaemon.conf.in to have that 'end raw' comment on the
> next line, run bin/buildout and try 'bin/bar-ctl fg' again, I get:
> bin/paster serve /home/maurits/svn/grokproject/bar
> Traceback (most recent call last):
> File "bin/paster", line 127, in ?
> LookupError: No section 'main' (prefixed by 'server') found in
> config /home/maurits/svn/grokproject/bar
> I don't know enough about 'paster serve' to quickly see how to fix
Looks like a followup of the above::
bin/paster serve /home/maurits/svn/grokproject/bar
should probably read::
bin/paster serve /home/maurits/svn/grokproject/bar/etc/deploy.ini
This is the path that should be generated for you (only) by
grokproject/buildout now and etc/zdaemon.conf should have a line::
program bin/paster serve \
Thanks for the quick feedback! Please tell, if there is more trouble!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20090205/5c88ae73/attachment.bin
More information about the Grok-dev