← Back to team overview

oship-dev team mailing list archive

Re: Something wrong in zope.conf

 

Hi Franceso,

The files in parts/etc are generated from the templates in etc when you
execute bin/buildout.

I just browsed the code and the parts/etc dir is empty (as it should
be).

etc/zope.conf.in  reads:

1 227.1.1 
# Identify the component configuration used to define the site:
2 site-definition ${buildout:directory}/etc/site.zcml

which is correct.

Could you please delete all of your files in oship/parts/etc? Then
re-run bin/buildout  if this doesn't fix the problem then please file a
bug report against the trunk and I'll investigate further.

your oship/parts/etc site-definition should read something like:
site-definition /home/tim/oshipenv/oship/oship/etc/site.zcml

I'll admit that it looks strange given the other definitions in that
file include 'parts' in their path.  However, following those
instructions I do get a running server.

IF there is a real problem though I'll need to escalate this to the Grok
folks so a bug report will allow me to do that.  You do not have to put
in too much detail.

Thanks,
Tim




On Thu, 2009-04-23 at 02:11 +0200, Francesco Garosi wrote:
> Hi.
> 
> I' still studying the Zope environment, but in the latest branch there 
> is an error, I think, in the file that originates "zope.conf": at line 2 
> it reads something like
> 
> site-definition [...]/oship/etc/site.zcml
> 
> where it should be, IMO
> 
> site-definition [...]/oship/parts/etc/site.zcml
> 
> Only with this the server can be started and it accepts the 
> administrator password (as per instructions).
> 
> Cheers,
> 
> F.
> 
> 
-- 
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook 
Skype ID == timothy.cook 
**************************************************************
*You may get my Public GPG key from  popular keyservers or   *
*from this link http://timothywayne.cook.googlepages.com/home*
**************************************************************

Attachment: signature.asc
Description: This is a digitally signed message part


References