[Zope] Overflow error with Catalog

Chris Muldrow cmuldrow@fredericksburg.com
Thu, 06 Dec 2001 09:17:25 -0500


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
M.


Traceback (innermost last):
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/ZPublisher/Publish.py,
line 223, in publish_module
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File /usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/Zope/__init__.py,
line 226, in zpublisher_exception_hook
    (Object: News)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: copy_of_NightStoryUpdate)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/ZPublisher/Publish.py,
line 112, in call_object
    (Object: copy_of_NightStoryUpdate)
  File /usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/OFS/DTMLMethod.py,
line 195, in __call__
    (Object: copy_of_NightStoryUpdate)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/DocumentTemplate/DT_String
.py, line 546, in __call__
    (Object: copy_of_NightStoryUpdate)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/DocumentTemplate/DT_Let.py
, line 148, in render
    (Object: thisyear="_.str(ZopeTime().year())"
                 thismonth="_.str(ZopeTime().mm())"
                 thisday="_.str(ZopeTime().dd())"
                 todaysURL="thisyear+thismonth+thisday+'report'")
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/DocumentTemplate/DT_Let.py
, line 148, in render
    (Object: workDir=TestRaw)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/DocumentTemplate/DT_Let.py
, line 148, in render
    (Object: doneDir=Test)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/DocumentTemplate/DT_Util.p
y, line 231, in eval
    (Object: objectMeth(workDir, doneDir))
    (Info: doneDir)
  File <string>, line 2, in f
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/Products/ExternalMethod/Ex
ternalMethod.py, line 281, in __call__
    (Object: objectMeth)
    (Info: ((<Folder instance at 9131a90>, <Folder instance at
8c1d870>), {}, (None,)))
  File /var/zope/Extensions/objectMeth.py, line 32, in objectAdd
    (Object: News)
  File /var/zope/Extensions/objectMeth.py, line 362, in addFLSNews
    (Object: 12062001)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/OFS/ObjectManager.py, line
324, in _setObject
    (Object: 12062001)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/Products/ZCatalog/CatalogA
wareness.py, line 114, in manage_afterAdd
    (Object: 464799)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/Products/ZCatalog/CatalogA
wareness.py, line 184, in index_object
    (Object: 464799)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/Products/ZCatalog/ZCatalog
.py, line 554, in catalog_object
    (Object: Catalog)
  File 
/usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/Products/ZCatalog/Catalog.
py, line 439, in catalogObject
  File 
/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)