This project has been archived by its maintainers, and is no longer receiving any updates.
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
5.0 (2023-02-07)
Add support for Python 3.10, 3.11.
Drop support for Python 2.7, 3.5, 3.6.
4.1.0 (2021-03-22)
Add support for Python 3.7, 3.8 and 3.9.
Drop support for Python 3.4.
Fix tests to run with zope.component >= 5.
4.0.1 (2017-05-15)
Fix rendering of user errors on Python 3. See issue 2.
4.0.0 (2017-05-01)
Add support for PyPy, and Python 3.4, 3.5 and 3.6.
Remove test dependency on zope.app.testing, zope.app.zcmlfiles and many others.
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.
Metadata
Release files for zope.app.exception 5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| zope.app.exception-5.0.tar.gz | 13.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zope.app.exception-5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.4 kB
Release files / zope.app.exception-5.0.tar.gz
| Download URL | zope.app.exception-5.0.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d65d6cdd008aa21bc891fe663a8440d566b1a8def1713e1a87ad3f4b9ade5bd
|
|
BLAKE2b-256 checksum How to use checksums |
51c3a2c92f73bd16491d8ce2a41867e70a7520dc08e3dcbe284570c176d80e33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / zope.app.exception-5.0-py3-none-any.whl
| Download URL | zope.app.exception-5.0-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bca4b21817f51cc1e525f2658cb6ad55c1d96c095937923f94132b70cb28936
|
|
BLAKE2b-256 checksum How to use checksums |
cde3bde64805f216c53a0f62f23e5992c76f64202bf949eed8811efeb4d40b73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for zope.app.exception 5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.