|
From: Eugene Lazutkin <eugene.lazutkin <at> gmail.com>
Subject: internal_error.html? Newsgroups: gmane.comp.python.django.user Date: 2005-09-05 21:54:24 GMT (3 years, 12 weeks, 5 days, 11 hours and 26 minutes ago)
Hello, I am getting a strange error. I generate relatively long page and browsers choke on it. It appears that the page is not sent properly. If I wait for some time I'll get something like that at the end of the page: Using the URLconf defined in abc.settings.urls.main, Django tried these URL patterns, in this order:
The current URL, 'internal_error.html', didn't match any of these. At that point all relevant data is sent, but instead of end of template (which is a simple static text at that point) I am getting: <div
id="footercontainer">HTTP/1.1 404 NOT FOUND <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Red is my text from template. There is nothing after "Dj". I am getting this kind of stuff in Debug mode. Without debug my own 404 page is appended. It puzzles me because this is the only page, which behaves like that. It appears that at the point of error all processing is already done and static text should be copied. Local copy under "runserver" runs fine and I couldn't reproduce it. But on actual server it is 100% reproducible. What can be the problem? How to debug it? Any ideas are appreciated. Thanks, Eugene |
|
|