[silva-dev] Problem with Silva 2.2 and genericsetup

Sylvain Viollon sylvain at infrae.com
Wed Dec 8 14:12:40 CET 2010


On Wed, 8 Dec 2010 11:16:36 +0000
"Luthiger Stoll  Benno" <benno.luthiger at id.ethz.ch> wrote:

> 
> Hello all
> 

  Hello,

> 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
> errors.
> 
> 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,

-- 
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands


More information about the silva-dev mailing list