[Zope-PAS] Re: RuntimeError/Scriptable Plugin

Tres Seaver tseaver at palladion.com
Thu Nov 10 18:13:45 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sidnei da Silva wrote:

> I would like to add RuntimeError to the list of swallowable
> exceptions. The reason is that if you use Scriptable Plugin and make a
> typo while configuring your site you can get locked out of it.

RuntimeError is probably the *last* error we should be catching;  its
intent is to signal a condition beyond the control of the user or
programmer.

Do you have a specific plugin which does raise that exception?  Plugins
should *not* raise that error for any kind of invalid input.

Also, the "fallback mechanisms" are supposed to kick in even if all the
plugins are hosed up (using the DumbHTTPExtractor and the
EmergencyUserAuthenticator;  are you saying that you can get the site
into a state where the emergency user cannot repair it?


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDc9Qp+gerLs4ltQ4RAuhJAKCkkOR7l8a4rA3DMeuHfV7cSeB9dgCfU8jp
pVhO28fs4QB5rwRKVG3cQOI=
=o1/B
-----END PGP SIGNATURE-----



More information about the Zope-PAS mailing list