[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 12:00:50 CEST 2013


Hi Sylvain,

Apologies for cutting the error message off. Here is the lot, together 
with both commands (and yes, an upgrade is really what I would like if 
possible):

[rbm49 at 8c2ba014-de07-4a87-a9ae-a3d80e41a00f:2:Silva-2.2] % 
./bin/zodbupdate -p Python -f var/filestorage/Data.fs
Traceback (most recent call last):
   File "./bin/zodbupdate", line 209, in ?
     import zodbupdate.main
   File 
"/home/ieb/zope3/Silva-2.2/eggs/zodbupdate-0.5-py2.4.egg/zodbupdate/main.py", 
line 24, in ?
     import zodbupdate.update
   File 
"/home/ieb/zope3/Silva-2.2/eggs/zodbupdate-0.5-py2.4.egg/zodbupdate/update.py", 
line 23, in ?
     import zodbupdate.serialize
   File 
"/home/ieb/zope3/Silva-2.2/eggs/zodbupdate-0.5-py2.4.egg/zodbupdate/serialize.py", 
line 165
     symb = find_global(*symb_info, Broken=ZODBBroken)
                                         ^
SyntaxError: invalid syntax

[rbm49 at 8c2ba014-de07-4a87-a9ae-a3d80e41a00f:2:Silva-2.2] % 
./bin/zodbupdate -f var/filestorage/Data.fs
Traceback (most recent call last):
   File "./bin/zodbupdate", line 209, in ?
     import zodbupdate.main
   File 
"/home/ieb/zope3/Silva-2.2/eggs/zodbupdate-0.5-py2.4.egg/zodbupdate/main.py", 
line 24, in ?
     import zodbupdate.update
   File 
"/home/ieb/zope3/Silva-2.2/eggs/zodbupdate-0.5-py2.4.egg/zodbupdate/update.py", 
line 23, in ?
     import zodbupdate.serialize
   File 
"/home/ieb/zope3/Silva-2.2/eggs/zodbupdate-0.5-py2.4.egg/zodbupdate/serialize.py", 
line 165
     symb = find_global(*symb_info, Broken=ZODBBroken)
                                         ^
SyntaxError: invalid syntax

[rbm49 at 8c2ba014-de07-4a87-a9ae-a3d80e41a00f:2:Silva-2.2] %


On 26/07/13 20:58, Sylvain Viollon wrote:
>
> Op 26 jul 2013, om 08:24 heeft Richard Mahoney het volgende geschreven:
>
>> Thank you Sylvain,
>>
>
> Hello,
>
>> 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.
>>
>
>     You can use this buildout as a starting point for buildout: https://svn.infrae.com/buildout/silva/tag/Silva-2.2.1
> It is very important that if you add silva.pas.base in it, you fix its version to 1.5.5 (the one I recommended you),
> otherwise you will the latest version that only work in Silva 3.0 (and the dependencies with the Silva 3.0
> versions). To do this in buildout.cfg you can add:
>
>     [versions]
>     silva.pas.base = 1.5.5
>
>> 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
>>   File "/home/ieb/zope3/Silva-2.2/eggs/zodbupdate-0.5-py2.4.egg/zodbupdate/main.py", line 24, in ?
>>     import zodbupdate.update
>>   File "/home/ieb/zope3/Silva-2.2/eggs/zodbupdate-0.5-py2.4.egg/zodbupdate/update.py", line 23, in ?
>>     import zodbupdate.serialize
>>   File "/home/ieb/zope3/Silva-2.2/eggs/zodbupdate-0.5-py2.4.egg/zodbupdate/serialize.py", 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 suggestions.
>>
>
>      Could you paste me the error as well (the line after the traceback), I am not sure what is the problem
> here. If your Data.fs is old I recommend you to run:
>
>      ./bin/zodbupdate -p Python -f var/filestorage/Data.fs
>
>      This will get ride of a Zope hack that was in Python and got removed in Python 2.6.
>
>      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

http://camera-antipodea.indica-et-buddhica.com
http://hounds4homes.org
http://indica-et-buddhica.org


More information about the silva-general mailing list