#13600: OverflowError not caught in django.views.static.serve
------------------------------------+---------------------------------------
          Reporter:  KostikVento    |         Owner:  nobody
            Status:  reopened       |     Milestone:        
         Component:  HTTP handling  |       Version:  1.2   
        Resolution:                 |      Keywords:        
             Stage:  Unreviewed     |     Has_patch:  0     
        Needs_docs:  0              |   Needs_tests:  0     
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by adamnelson):

 Here is the text version:

 {{{
 Traceback (most recent call last):

   File "/var/www/yipit-env/lib/python2.6/site-
 packages/django/core/handlers/base.py", line 100, in get_response
     response = callback(request, *callback_args, **callback_kwargs)

   File "/var/www/yipit-env/lib/python2.6/site-
 packages/staticfiles/views.py", line 32, in serve
     show_indexes=show_indexes)

   File "/var/www/yipit-env/lib/python2.6/site-
 packages/django/views/static.py", line 61, in serve
     statobj[stat.ST_MTIME], statobj[stat.ST_SIZE]):

   File "/var/www/yipit-env/lib/python2.6/site-
 packages/django/views/static.py", line 129, in was_modified_since
     header_mtime = mktime_tz(parsedate_tz(matches.group(1)))

   File "/usr/lib/python2.6/email/_parseaddr.py", line 146, in mktime_tz
     t = time.mktime(data[:8] + (0,))

 OverflowError: mktime argument out of range
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13600#comment:6>
Django <http://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 post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to