#24504: StandardError is not defined in -------------------------------+-------------------------------------- Reporter: bh | Owner: nobody Type: Uncategorized | Status: new Component: Utilities | Version: 1.7 Severity: Normal | Keywords: Python 3, logging, utils Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------------------- I'm on Python 3.4.1 with Django 1.7.4.
When using django.utils.dictconfig to configure custom logging and this function cannot configure a logging formatter than the code will "except" an SystemError which is not defined in this module or in __builtin__. I fixed this temporarily to fix my logging config with this workaround: {{{ from django.utils import dictconfig class StandardError(Exception): pass dictconfig.StandardError = StandardError }}} -- Ticket URL: <https://code.djangoproject.com/ticket/24504> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/045.0c35576b60201c7bc81767c55c2b9941%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.