[silva-dev] Problem with Silva 2.2 and genericsetup
Luthiger Stoll Benno
benno.luthiger at id.ethz.ch
Wed Dec 8 14:43:13 CET 2010
Thanks for your hint.
Based on this, I did the following:
extends = profiles/pas-development.cfg
http-address = 8080
However, this didn't solve the problem I mentioned.
Did I miss something?
From: Sylvain Viollon [mailto:sylvain at infrae.com]
Sent: Mittwoch, 8. Dezember 2010 14:13
To: Luthiger Stoll Benno
Cc: Silva Dev Mailinglist
Subject: Re: [silva-dev] Problem with Silva 2.2 and genericsetup
On Wed, 8 Dec 2010 11:16:36 +0000
"Luthiger Stoll Benno" <benno.luthiger at id.ethz.ch> wrote:
> Hello all
> I had quit some problems to get Silva 2.2 running with LDAPUserFolder
> and LDAPMultiPlugins.
> The problem I encountered was caused by GenericSetup referenced by
> the two LDAP products.
> When starting the Silva instance, I got the following error:
> ConfigurationError: ('Unknown directive',
> u'http://namespaces.zope.org/genericsetup', u'importStep')
> Only after removing all references to this namespace in the
> configure.zcml of both products (LDAPUserFolder and
> LDAPMultiPlugins), I've been able to start the Silva instance without
> Any ideas why GenericSetup is a problem for Silva 2.2?
> Is GenericSetup purely Zope3 and not handled by Five?
You have to include the GenericSetup ZCML in your configuration. This
error comes from badly rewrite ZCML in PAS, and there is nothing we
can do about it.
in you buildout.cfg, you can do zcml += Products.GenericSetup before
any other thing you include yourself.
There is a fact is that before all ZCML of Zope Products where loaded
automatically loaded for you, but this is no longer done, as the
order of ZCML loading is important, and you could be sure of the
order if this was done automatically.
This is a change in Zope, not Silva.
I hope this will fix your problem,
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands
More information about the silva-dev