Error in upgrade ZCatalog
Hi there I met a problem when i upgrade zope from 2.3.0 to 2.3.1 . If i search "tractor" in PTK search field ( right top ). I get an error : Error type TypeError Error value expected integer key Error trace back Traceback (innermost last): File /zope/zope-dc-2.3.1/lib/python/ZPublisher/Publish.py, line 171, in publish File /zope/zope-dc-2.3.1/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: search) File /zope/zope-dc-2.3.1/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: search) File /zope/zope-dc-2.3.1/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: search) File /zope/zope-dc-2.3.1/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__ (Object: search) File /zope/zope-dc-2.3.1/lib/python/DocumentTemplate/DT_In.py, line 480, in renderwb (Object: portal_catalog) File /zope/zope-dc/lib/python/Products/PTKBase/CatalogTool.py, line 163, in searchResults (Object: Traversable) File /zope/zope-dc-2.3.1/lib/python/Products/ZCatalog/ZCatalog.py, line 535, in searchResults (Object: Traversable) File /zope/zope-dc-2.3.1/lib/python/Products/ZCatalog/Catalog.py, line 651, in searchResults File /zope/zope-dc-2.3.1/lib/python/Products/ZCatalog/Catalog.py, line 542, in _indexedSearch File /zope/zope-dc-2.3.1/lib/python/SearchIndex/UnTextIndex.py, line 513, in _apply_index File /zope/zope-dc-2.3.1/lib/python/SearchIndex/UnTextIndex.py, line 576, in query File /zope/zope-dc-2.3.1/lib/python/SearchIndex/UnTextIndex.py, line 616, in evaluate File /zope/zope-dc-2.3.1/lib/python/SearchIndex/UnTextIndex.py, line 448, in __getitem__ TypeError: expected integer key What should i do? thanks
Hi Howard. This bug is fixed in CVS. See http://lists.zope.org/pipermail/zope-checkins/2001-April/005802.html for a patch to 2.3.1 that will fix the problem. ----- Original Message ----- From: "Howard Zhang" <howard@exoweb.net> To: <zope@zope.org> Cc: "Bjorn Stabell" <bjorn@exoweb.net>; "Enyue Jia" <jey@exoweb.net>; "Matt Jung" <matt@exoweb.net>; "Will Zhang" <ZhangWei@exoweb.net> Sent: Friday, April 06, 2001 5:56 AM Subject: [Zope] Error in upgrade ZCatalog Hi there I met a problem when i upgrade zope from 2.3.0 to 2.3.1 . If i search "tractor" in PTK search field ( right top ). I get an error : Error type TypeError Error value expected integer key Error trace back Traceback (innermost last): File /zope/zope-dc-2.3.1/lib/python/ZPublisher/Publish.py, line 171, in publish File /zope/zope-dc-2.3.1/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: search) File /zope/zope-dc-2.3.1/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: search) File /zope/zope-dc-2.3.1/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: search) File /zope/zope-dc-2.3.1/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__ (Object: search) File /zope/zope-dc-2.3.1/lib/python/DocumentTemplate/DT_In.py, line 480, in renderwb (Object: portal_catalog) File /zope/zope-dc/lib/python/Products/PTKBase/CatalogTool.py, line 163, in searchResults (Object: Traversable) File /zope/zope-dc-2.3.1/lib/python/Products/ZCatalog/ZCatalog.py, line 535, in searchResults (Object: Traversable) File /zope/zope-dc-2.3.1/lib/python/Products/ZCatalog/Catalog.py, line 651, in searchResults File /zope/zope-dc-2.3.1/lib/python/Products/ZCatalog/Catalog.py, line 542, in _indexedSearch File /zope/zope-dc-2.3.1/lib/python/SearchIndex/UnTextIndex.py, line 513, in _apply_index File /zope/zope-dc-2.3.1/lib/python/SearchIndex/UnTextIndex.py, line 576, in query File /zope/zope-dc-2.3.1/lib/python/SearchIndex/UnTextIndex.py, line 616, in evaluate File /zope/zope-dc-2.3.1/lib/python/SearchIndex/UnTextIndex.py, line 448, in __getitem__ TypeError: expected integer key What should i do? thanks _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi! On Fri, 6 Apr 2001, Chris McDonough wrote:
Hi Howard. This bug is fixed in CVS. See http://lists.zope.org/pipermail/zope-checkins/2001-April/005802.html for a patch to 2.3.1 that will fix the problem.
Any plans for 2.3.2? Approx. date? Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Hi Howard. This bug is fixed in CVS. See
http://lists.zope.org/pipermail/zope-checkins/2001-April/005802.html for a
patch to 2.3.1 that will fix the problem.
Any plans for 2.3.2? Approx. date?
I'm planning to make a 2.3.2 beta next week, wait a week to make sure nothing else important crops up, then final. I expect no changes to be checked in between the final (hopefully only one) beta and the final release. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
Brian Lloyd wrote:
I'm planning to make a 2.3.2 beta next week, wait a week to make sure nothing else important crops up, then final. I expect no changes to be checked in between the final (hopefully only one) beta and the final release.
<appeal type="begging"> Please can that FieldIndex bug I reported (patch is floating on zope-dev awaiting DC approval) make it into 2.3.2b1... </appeal> cheers, Chris
Yes. Give me til Monday OK? ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Brian Lloyd" <brian@digicool.com> Cc: "Chris McDonough" <chrism@digicool.com>; "Zope Mailing List" <zope@zope.org> Sent: Friday, April 06, 2001 11:58 AM Subject: Re: [Zope] Error in upgrade ZCatalog
Brian Lloyd wrote:
I'm planning to make a 2.3.2 beta next week, wait a week to make sure nothing else important crops up, then final. I expect no changes to be checked in between the final (hopefully only one) beta and the final release.
<appeal type="begging"> Please can that FieldIndex bug I reported (patch is floating on zope-dev awaiting DC approval) make it into 2.3.2b1... </appeal>
cheers,
Chris
participants (5)
-
Brian Lloyd -
Chris McDonough -
Chris Withers -
Howard Zhang -
Oleg Broytmann