Re: [Zope-dev] Woah! Weirdy Catalog Error :-S

2001-05-21 Thread Chris McDonough

 Huh? Why does that say 2.3.1 when the paths above suggest Zope 2.3.2?!

No idea.

 You can reproduce this by going to Squishdot.org and searching for Error Value:
 frexp() result out of range.

I'd imagine this has to do with the fact that parens are meaningful to
the Catalog.  This happens when you search for, e.g. just ().

It's possible to catch this error, but it's not possible to allow folks
to search for things with parens in them currently.

Sorry,

- C

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Woah! Weirdy Catalog Error :-S

2001-05-21 Thread Chris Withers

Chris McDonough wrote:
 
 It's possible to catch this error, but it's not possible to allow folks
 to search for things with parens in them currently.

I'm not having a good time catching it:

from SearchIndex import TextIndex

try:
 brains = apply(self.searchResults,(REQUEST,),kw)
except TextIndex.QueryError:
 brains = []

...doesn't actually catch the exception :-S

cheers,

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )