Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install zope.app.exception

How to install zope.app.exception

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install zope.app.exception
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
3.6.3 Available View build log
3.6.2 Available View build log
3.6.1 Available View build log
Windows (64-bit)
3.6.3 Available View build log
3.6.2 Available View build log
3.6.1 Available View build log
Mac OS X (10.5+)
3.6.3 Available View build log
3.6.2 Available View build log
3.6.1 Available View build log
Linux (32-bit)
3.6.3 Available View build log
3.6.2 Available View build log
3.6.1 Available View build log
Linux (64-bit)
3.6.3 Available View build log
3.6.2 Available View build log
3.6.1 Available View build log
 
License
ZPL 2.1
Imports
Lastest release
version 3.6.3 on May 24th, 2011

This packages provides Zope 3 browser views for some generic exceptions.

System Errors

System Errors are errors representing a system failure. At the application level, they are errors that are uncaught by the application and that a developer hasn't provided a custom error view for.

Zope provides a default system error view that prints an obnoxius terse message and that sets the response status.

There is a simple view registered in ftesting.zcml which raises Exception():

>>> print http(r"""
... GET /error.html HTTP/1.1
... """)
HTTP/1.1 500 Internal Server Error
...
  A system error occurred.
...

Another way of getting a system error is the occurrence of a system error, such as ComponentLookupError. I have registered a simple view in ftesting.zcml, too, that will raise a component lookup error. So if we call componentlookuperror.html, we should get the error message:

>>> print http(r"""
... GET /componentlookuperror.html HTTP/1.1
... """)
HTTP/1.1 500 Internal Server Error
...
  A system error occurred.
...

CHANGES

3.6.3 (2011-05-23)
  • Replaced an undeclared test dependency on zope.app.authentication with zope.password.
3.6.2 (2010-09-14)
  • No longer depend on zope.app.zptpage for tests.
  • Replaced dependency on zope.app.securitypolicy by zope.securitypolicy.
3.6.1 (2010-01-08)
  • Require zope.browserpage which now contains namedtemplate.
  • Fix ftesting.zcml due to zope.securitypolicy update.
  • Fix tests using a newer zope.publisher that requires zope.login.
3.6.0 (2009-05-18)
  • ISystemErrorView interface has been moved to zope.browser.interfaces, leaving BBB import here.
  • Cut dependency on zope.formlib by requiring newer version of zope.app.pagetemplate which now contains namedtemplate.
3.5.0 (2009-04-06)
  • Use new zope.authentication instead of zope.app.security.
  • Removed deprecated code and thus removed dependency on zope.deferredimport.
  • Removed old zpkg-related SETUP.cfg file.
3.4.2 (2009-01-27)
  • Substitute zope.app.zapi by direct calls to its wrapped apis. See bug 219302.
  • Fixed author email and home page.
3.4.1 (2007-10-31)
  • Resolve ZopeSecurityPolicy deprecation warning.
3.4.0 (2007-10-24)
  • Initial release independent of the main Zope tree.

Subscribe to package updates

Last updated May 24th, 2011

Download Stats

Last month:4

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.