[ZCM] [ZC] 73/ 2 Reject "Overflow error when instantiating Catalog-Aware object"
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Thu, 28 Mar 2002 10:48:04 -0500
Issue #73 Update (Reject) "Overflow error when instantiating Catalog-Aware object"
Status Rejected, Catalog/bug medium
To followup, visit:
http://collector.zope.org/Zope/73
==============================================================
= Reject - Entry #2 by mj on Mar 28, 2002 10:47 am
Status: Pending => Rejected
Dupe of #74.
________________________________________
= Request - Entry #1 by Anonymous User on Dec 7, 2001 6:07 am
I've a method that instantiates several Zclass objects that are catalog aware. Basically, it turns XML documents into "FLSNewsStory" objects. For some reason, it's giving me an overflow error on single stories--I can take the offending story out, and the Zclasses will instantiate.
I'm also getting the error on reindexing of the Catalog.
Here's the traceback:
<!--
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.py, 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/ExternalMethod.py, line 281, in __call__
(Object: objectMeth)
(Info: ((<Folder instance at fedba90>, <Folder instance at 1caa2ba8>), {}, (None,)))
File /var/zope/Extensions/objectMeth.py, line 32, in objectAdd
(Object: News)
File /var/zope/Extensions/objectMeth.py, line 362, in addFLSNews
(Object: 12072001)
File /usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/OFS/ObjectManager.py, line 324, in _setObject
(Object: 12072001)
File /usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/Products/ZCatalog/CatalogAwareness.py, line 114, in manage_afterAdd
(Object: 465827)
File /usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/Products/ZCatalog/CatalogAwareness.py, line 184, in index_object
(Object: 465827)
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/TextIndex/TextIndex.py, line 381, in index_object
(Object: PrincipiaSearchSource)
File /usr/src/redhat/SOURCES/Zope-2.4.2-src/lib/python/SearchIndex/GlobbingLexicon.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)
-->
==============================================================