[Zope] can't pack large Data.fs (2.5GB) [solved]

Marcus Schopen lists at localguru.de
Sat Aug 9 08:04:55 EDT 2003


Marcus Schopen wrote:

> can't pack a 2.5GB big Data.fs through the ZMI:
> 
> ----------
> Zope Error
> 
> Zope has encountered an error while publishing this resource.
> 
> Error Type: OverflowError
> Error Value: integer addition
> ----------
> 
> System: Debian woody with ext3
> 
> ----------
> (Zope 2.6.2 (CVS 20030518 source release, python 2.1, linux2), python 
> 2.1.3, linux2) Python Version
>     
> 2.1.3 (#1, Sep 7 2002, 15:29:56) [GCC 2.95.4 20011002 (Debian 
> prerelease)] System Platform
> ----------
> 
> If it was a LFS problem the zope wouldn't run. And I think the woody's 
> python (Version: 2.1.3-3.2) is built with LFS support.


After updating via cvs to newest 2.6.2 sources, packing works fine again!

Output of diff lib/python/ZODB/fspack.py (before and after updating):

[...]
86c64
<     _metadata_size = 4L
---
 >     _metadata_size = 4
[...]
<         pos = 4L
---
 >         pos = 4
[...]
766c736
<         new_tpos = 0L
---
 >         new_tpos = 0


It's the same problem, which has been posted a few month ago on the 
zodb-dev list:

    http://mail.zope.org/pipermail/zodb-dev/2003-May/005166.html

Ciao
M.

-- 
Marcus Schopen        (0>
P.O. Box 10 25 25     //\     Deutsche Zope User Group
D-33525 Bielefeld     V_/_                www.dzug.org

         Weird, but life is too short, move on ...




More information about the Zope mailing list