[ZWeb] "Token 'ATOM' required, 'EOF' found" error in zopeorg
Chris Withers
chris at simplistix.co.uk
Tue Jan 18 16:53:15 EST 2005
Andrew Sawyers wrote:
>> 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?
>>
> You can catch this in a python script handler the searches go to.....
> This is how I've managed it in the past.
> Andrew
How? In most released versions of Zope, you can't import these
exceptions to catch them in untrusted code...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope-web
mailing list