[ZWeb] "Token 'ATOM' required, 'EOF' found" error in zopeorg

Andrew Sawyers andrew at zope.com
Wed Dec 22 10:54:48 EST 2004


Chris Withers wrote:
> Tim Peters wrote:
> 
>>> Looks like a ZCTextIndex bug. Is it already filed? I tried to look 
>>> for it
>>> at the Collector, but I'm not sure it isn't there already.
>>
>>
>> Well, it's an invalid search phrase, so I'm not sure what you'd like 
>> better.
>> "and" is a keyword, and requires an atom on both sides of it.
> 
> 
> This has long been a bugbear of mine. Yes, it is an invalid search 
> phrase, but should end users really see exceptions raised because they 
> accidentally tried to use a piece of ZCTextIndex functionality that they 
> didn't even know existed?
> 
> cheers,
> 
> Chris
> 
You can catch this in a python script handler the searches go to.....
This is how I've managed it in the past.
Andrew

-- 
Zope Managed Hosting
Systems Administrator/Software Engineer
Zope Corporation
(540) 361-1700


More information about the Zope-web mailing list