[Silva-general] LDAPUserFolder-2.26 / Silva-2.2 / LDAPDelegate Too many results / SIZELIMIT_EXCEEDED / OverflowError

Richard Mahoney r.mahoney at indica-et-buddhica.org
Fri Jul 26 08:24:29 CEST 2013

Thank you Sylvain,

I tried to install silva.pas.base with Silva 2.2 using buildout and 
constantly came up against issues with incompatible Python Package 
versions so couldn't get the buildout to complete.

I've decided that the best thing to do is to upgrade Silva from 2.2 to 
2.3.7 using svn and buildout (silva.pas.base seems to be included in the 
2.3 release). The upgrade with buildout completed without issue but I'm 
getting an error with zodbupdate:

./bin/zodbupdate -f var/filestorage/Data.fs

Traceback (most recent call last):
   File "./bin/zodbupdate", line 209, in ?
     import zodbupdate.main
line 24, in ?
     import zodbupdate.update
line 23, in ?
     import zodbupdate.serialize
line 165
     symb = find_global(*symb_info, Broken=ZODBBroken)

At this point the Data.fs file doesn't appear to have been altered.

I'm not sure what is happening here and would be grateful for any 

Kind regards, Richard

On 25/07/13 22:33, Sylvain Viollon wrote:
> Op 25 jul 2013, om 01:43 heeft Richard Mahoney het volgende geschreven:
>> Dear All,
>     Hello,
>> I'm trying to set up the Indica et Buddhica instance of Silva with LDAP so that I can restrict downloads to registered users on my LDAP server. This is the first time I've used LDAP with Silva or Zope.
>> I have two acl_users: one -- the standard Zope acl_user -- sitting at the Zope root above my four Silva sites (it includes only two site Owner / Managers) and the other -- the LDAPUserFolder acl_user -- sitting only within the Indica et Buddhica instance of Silva.
>> Within the ZMI I can connect to my LDAP server, and find and create LDAP users. The authentication of registered users on the LDAP server before downloading from the Indica et Buddhica site also works correctly. Unfortunately, though, any attempt to create new materials or view new materials or to access properties or user data from within the editing interface of Silva itself results in `Overflow' errors.
>> The errors appear to result from too many results being returned by the LDAP server to LDAPDelegate. I'm attaching some of the log messages.
>> Here is what I'm using:
>> Products.LDAPUserFolder-2.26
>> Silva 2.2
>> Python 2.4.6
>> Zope 2.11.6
>> SunOS 5.11 i86pc i386 i86pc Solaris
>> I have installed LDAPUserFolder-2.26 in:
>> ~/Silva-2.2/products
>> Initially I went with all of the following but this resulted in a whole series of more serious issues :)
>> genericsetup - Products.GenericSetup-1.7.4
>> ldapmultiplugins - Products.LDAPMultiPlugins-1.14
>> ldapuserfolder - Products.LDAPUserFolder-2.26
>> pluggableauthservice - Products.PluggableAuthService-1.10.0
>> pluginregistry - Products.PluginRegistry-1.3
>      I think you should silva.pas.base 1.5.5. It should work in Silva 2.2. You need to replace the service_members with the one provided one,
> and create the LDAP UserFolder inside a PAS acl_users in the root of your Silva site. I believe there are not dependencies
> so it should be easy to install inside a simple instance.
>     (You can check the README: https://svn.infrae.com/silva.pas.base/tags/silva.pas.base-1.5/README.txt)
>     Regards,
>    Sylvain,

Richard Mahoney

Littledene  Bay Road  Oxford  New Zealand
M: +64-21-064-0216
T: +64-3-312-1699
E: r.mahoney at indica-et-buddhica.org


More information about the silva-general mailing list