[Zope] Overflow error with Catalog

Dieter Maurer dieter@handshake.de
Fri, 7 Dec 2001 01:30:32 +0100


Chris Muldrow writes:
 > I'm throwing an Overflow Error when I try to catalog a file--it says "Error
 > Value: long int too large to convert" I'm creating an instance of a
 > catalog-aware ZClass. Following is the traceback. Any ideas? Thanks- Chris
 > ....
 > Traceback
 > ....
 > /usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/Products/PluginIndexes/Tex
 > tIndex/TextIndex.py, line 381, in index_object
 >     (Object: PrincipiaSearchSource)
 >   File 
 > /usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/SearchIndex/GlobbingLexico
 > n.py, line 161, in getWordId
 >   File /usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/ZODB/Connection.py,
 > line 519, in setstate
 >   File /var/zope/lib/python/ZEO/ClientStorage.py, line 365, in load
 >     (Object: ('', 8800))
 >   File /var/zope/lib/python/ZEO/zrpc.py, line 239, in __call__
 > OverflowError: (see above)
Looks like a ZEO error.
 
At your place, I would look at line 239 in "ZEO/zrpc.py".

  There, it gets a long integer and tries to convert it into
  a normal integer. But the value is too large.


Dieter