#30500: Error reporting returns a circular import error on a python formatting error, and does not restart the development server -------------------------------------+------------------------------------- Reporter: Runner15 | Owner: (none) Type: | Status: new Cleanup/optimization | Component: Error reporting | Version: 2.2 Severity: Normal | Resolution: Keywords: error reporting, | Triage Stage: error, circular import | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by felixxm): I still cannot reproduce this issue on Django 2.2.1 even with your tests project, I get correct exception (the same like with Django 2.1.) {{{ File "/tmp/django-bug-30500/t30500/urls2.py", line 1, in <module> from . import views File "/tmp/django-bug-30500/t30500/views.py", line 5, in <module> a NameError: name 'a' is not defined }}} Are you using StatReloader or Watchman? -- Ticket URL: <https://code.djangoproject.com/ticket/30500#comment:6> 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/066.6b136ccff82e3ce8cd1e48aa6415a942%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.