This is fixed in CVS about 5 mins ago, Oleg... will take a little while to make its way to the outside world, but here's the diff. --- Updated File GlobbingLexicon.py in package Zope2 -- --- GlobbingLexicon.py 2001/03/27 23:49:13 1.8 +++ GlobbingLexicon.py 2001/04/02 18:19:45 1.9 @@ -231,7 +231,9 @@ digrams.append( (pattern[i] + self.eow) ) if not globbing: - result = self._lexicon.get(pattern, ()) + result = self._lexicon.get(pattern, None) + if result is None: + return () return (result, ) ## now get all of the intsets that contain the result digrams ----- Original Message ----- From: "Oleg Broytmann" <phd@phd.fep.ru> To: "Chris McDonough" <chrism@digicool.com> Cc: "Zope Mailing List" <zope@zope.org> Sent: Monday, April 02, 2001 1:20 PM Subject: Re: [Zope] Re: [Zope-Annce] ANNOUNCE: Zope 2.3.1 final released
Hi!
On Mon, 2 Apr 2001, Chris McDonough wrote:
I'll look into this, sorry Oleg.. someone else reported the same error in the Collector. Bummer.
<h2>Zope Error</h2> <p>Zope has encountered an error while publishing this resource.</p>
<p> <strong>Error Type: TypeError</strong><br> <strong>Error Value: expected integer key</strong><br>
From the error I can guess that Catalog, if not found any item (searching for "zop" instead of "zope") returns something like None or empty list or such, where other parts of code expect an integer (a number of items?)
Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
_______________________________________________ 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 )