Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

This package provides management views for the error reporting utility defined in zope.error package.

README

This package provides an error reporting utility which is able to store errors. (Notice that the implementation classes have been moved to the zope.error package.)

Let’s create one:

>>> from zope.app.error.error import ErrorReportingUtility
>>> util = ErrorReportingUtility()
>>> util
<zope.error.error.ErrorReportingUtility object at ...>
>>> from zope.app.error.interfaces import IErrorReportingUtility
>>> IErrorReportingUtility.providedBy(util)
True
>>> IErrorReportingUtility
<InterfaceClass zope.error.interfaces.IErrorReportingUtility>

This package contains ZMI views in the browser sub-package:

>>> from zope.app.error.browser import EditErrorLog, ErrorRedirect
>>> EditErrorLog
<class 'zope.app.error.browser.EditErrorLog'>
>>> ErrorRedirect
<class 'zope.app.error.browser.ErrorRedirect'>

These are configured when the configuration for this package is executed (as long as the right dependencies are available).

Certain ZMI menus must first be available:

>>> from zope.configuration import xmlconfig
>>> _ = xmlconfig.string(r"""
...  <configure xmlns="http://namespaces.zope.org/browser" i18n_domain="zope">
...    <include package="zope.browsermenu" file="meta.zcml" />
...    <menu
...       id="zmi_views"
...       title="Views"
...       />
...
...    <menu
...       id="zmi_actions"
...       title="Actions"
...       />
...  </configure>
... """)

Now we can configure the package:

>>> _ = xmlconfig.string(r"""
...  <configure xmlns="http://namespaces.zope.org/zope">
...    <include package="zope.app.error" />
...  </configure>
... """)

CHANGES

4.1.0 (2021-11-17)

  • Add support for Python 3.7, 3.8, 3.9 and 3.10.

  • Drop support for Python 3.4.

4.0.0 (2017-05-16)

  • Add support for Python 3.4, 3.5, 3.6 and PyPy.

3.5.3 (2010-09-01)

  • Removed the dependency on zope.app.publisher, added missing dependencies.

  • Replaced the use of zope.deferredimport with direct imports.

3.5.2 (2009-01-22)

  • Removed zope.app.zapi from dependencies, replacing its uses with direct imports.

  • Clean dependencies.

  • Changed mailing list address to zope-dev@zope.org, changed url from cheeseshop to pypi.

  • Use zope.ManageServices permission instead of zope.ManageContent for errorRedirect view and menu item, because all IErrorReportingUtility views are registered for zope.ManageServices as well.

  • Fix package’s README.txt

3.5.1 (2007-09-27)

  • rebumped to replace faulty egg

3.5.0

  • Move core components to zope.error

3.4.0 (2007-09-24)

  • Initial documented release

Release files for zope.app.error 4.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zope.app.error 4.1.0
File Size Uploaded
zope.app.error-4.1.0.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zope.app.error 4.1.0
File Interpreter ABI Platform
zope.app.error-4.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 25.5 kB

Release files / zope.app.error-4.1.0.tar.gz

Download URL zope.app.error-4.1.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
71dfbfa1bbae1648ca20604c40975a2157d154259325403e2fae130e90742ceb
BLAKE2b-256 checksum
How to use checksums
ac0ffd69df82dadbe392676704e5904088bb1ba3824f879a3be499ba73f9d2c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.12

Release files / zope.app.error-4.1.0-py2.py3-none-any.whl

Download URL zope.app.error-4.1.0-py2.py3-none-any.whl
Size 14.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b5aea81ba79976de47a67b20adb9788fd243af5604b36de7fc6ec4fed75369f7
BLAKE2b-256 checksum
How to use checksums
e73c1caa0f6d336e06da2d93f16c74503eb6738336bdf8062e66c371f2b35755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.12
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page