I, too, saw this exact stack trace, but when using mod_python. The error did not appear when using the built-in "runserver". Also, it only occurred when requesting a URL beyond the root /. This distinction led me to review my VirtualHost configuration, and I commented out the following line: PythonOption django.root / This allowed URL resolution and such to work normally.
I'm not sure what the root cause of this is, and I'm really just glad it's working again. I'm willing to do more troubleshooting if prompted by list members. Perhaps setting django.root to be just a / was a bad call, since trailing slashes should not be used? Is this a case that Django might handle with a more descriptive error? On Jul 27, 8:47 am, "John P. Speno" <sp...@macspeno.com> wrote: > Hi, > > Running Django 1.1rc1 via wsgi. Here's the stdout including the > request that raised the exception: > > 125.65.165.139 - - [26/Jul/2009 23:02:46] > "GEThttp://pv.wantsfly.com/prx.php?hash=65B15474B46964654834EDB41F4020883... > HTTP/1.0" 500 59 > Traceback (most recent call last): > File "/usr/local/lib/python2.6/wsgiref/handlers.py", line 93, in run > self.result = application(self.environ, self.start_response) > File "/usr/local/lib/python2.6/site-packages/django/core/servers/ > basehttp.py", line 636, in __call__ > return self.application(environ, start_response) > File "/usr/local/lib/python2.6/site-packages/django/core/handlers/ > wsgi.py", line 241, in __call__ > response = self.get_response(request) > File "/usr/local/lib/python2.6/site-packages/django/core/handlers/ > base.py", line 115, in get_response > return debug.technical_404_response(request, e) > File "/usr/local/lib/python2.6/site-packages/django/views/debug.py", > line 247, in technical_404_response > tried = exception.args[0]['tried'] > KeyError: 'tried' > > Should KeyError be added to the list of exceptions types excepted in > debug.py on line 248? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---