Thanks to everyone for the feedback... the bottom line seems to be that
you can NOT trap zope exceptions in a python script... which seems a bit
Of course you can. You just are restricted from importing certain
things, which happens to include this class of exception. Probably it is
safe for Zope to allow importing this in restricted code; feel free to
file a bug report.
But you have easy avenues to deal with this: either declare that class
safe for import or take a couple extra seconds and write it in an
"Building Websites with Plone"
Enfold Systems, LLC
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -