#24663: DEBUG view AttributeError on exception value.__traceback__ in python2
------------------------------+--------------------------------------------
     Reporter:  fero          |      Owner:  fero
         Type:  Bug           |     Status:  new
    Component:  Core (Other)  |    Version:  master
     Severity:  Release       |   Keywords:  debugview debug template_debug
  blocker                     |
 Triage Stage:  Unreviewed    |  Has patch:  0
Easy pickings:  1             |      UI/UX:  0
------------------------------+--------------------------------------------
 While i was trying to reproduce #24539, in an "add" operation from the
 admin interface I get:

 "A server error occurred.  Please contact the administrator."

 Looking at the runserver standard output I see:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
     self.result = application(self.environ, self.start_response)
   File
 "/home/fero/src/test/django/django/contrib/staticfiles/handlers.py", line
 63, in __call__
     return self.application(environ, start_response)
   File "/home/fero/src/test/django/django/core/handlers/wsgi.py", line
 177, in __call__
     response = self.get_response(request)
   File "/home/fero/src/test/django/django/core/handlers/base.py", line
 217, in get_response
     response = self.handle_uncaught_exception(request, resolver,
 sys.exc_info())
   File "/home/fero/src/test/django/django/core/handlers/base.py", line
 260, in handle_uncaught_exception
     return debug.technical_500_response(request, *exc_info)
   File "/home/fero/src/test/django/django/views/debug.py", line 96, in
 technical_500_response
     html = reporter.get_traceback_html()
   File "/home/fero/src/test/django/django/views/debug.py", line 380, in
 get_traceback_html
     c = Context(self.get_traceback_data(), use_l10n=False)
   File "/home/fero/src/test/django/django/views/debug.py", line 325, in
 get_traceback_data
     frames = self.get_traceback_frames()
   File "/home/fero/src/test/django/django/views/debug.py", line 456, in
 get_traceback_frames
     tb = self.tb if not exceptions else exc_value.__traceback__
 AttributeError: 'IntegrityError' object has no attribute '__traceback__'
 }}}

 It seems to me a very weird bug in the debug view. I am doing a sprint at
 pycon6 in Italy so I have shortly discussed with the sprint master and he
 agreed with me that this bug definitely worth to be reported.

 Oh guys what a raw impact in dealing with the master!
 Is it a release blocker bug? I think so
 I hope I have classified it well, I have tried to setup as many ticket
 fields as possible.
 I get this assigned to me today if you don't mind...

 I keep you up-to-date

--
Ticket URL: <https://code.djangoproject.com/ticket/24663>
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/047.d3997e4c7f7d98b02605c111c8ccc131%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to