Antti - can you give us some more information to help you? It looks like
you're running a development server. Is that correct? Did you just start it
with "django-admin.py runserver" or something else?

It looks like it was trying to throw an exception when it dumped out
unhappily. The exception that happened is what's causing the failure - the
particular code that dumped out unhappily was attempting to parse the http
request, which came through as invalid. It didn't even finish setting itself
up to populate self.path, which caused the failure you see above.

-joe

On 1/2/07, dune <[EMAIL PROTECTED]> wrote:


Hey!

Need help desperately. There's problem with django installation and
when I try to start our web-sevice powered by django i et the following
announcement:

Exception happened during processing of request from ('127.0.0.1',
36779)
Traceback (most recent call last):
  File "/opt/lib/python2.4/SocketServer.py", line 222, in
handle_request
    self.process_request(request, client_address)
  File "/opt/lib/python2.4/SocketServer.py", line 241, in
process_request
    self.finish_request(request, client_address)
  File "/opt/lib/python2.4/SocketServer.py", line 254, in
finish_request
    self.RequestHandlerClass(request, client_address, self)
  File
"/opt/lib/python2.4/site-packages/django/core/servers/basehttp.py",
line 537, in __init__
    BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
  File "/opt/lib/python2.4/SocketServer.py", line 521, in __init__
    self.handle()
  File
"/opt/lib/python2.4/site-packages/django/core/servers/basehttp.py",
line 578, in handle
    if not self.parse_request(): # An error code has been sent, just
exit
  File "/opt/lib/python2.4/BaseHTTPServer.py", line 276, in
parse_request
    self.send_error(400, "Bad request syntax (%r)" % requestline)
  File "/opt/lib/python2.4/BaseHTTPServer.py", line 340, in send_error
    self.log_error("code %d, message %s", code, message)
  File "/opt/lib/python2.4/BaseHTTPServer.py", line 411, in log_error
    self.log_message(*args)
  File
"/opt/lib/python2.4/site-packages/django/core/servers/basehttp.py",
line 586, in log_message
    if self.path.startswith(self.admin_media_prefix) or self.path ==
'/favicon.ico':
AttributeError: WSGIRequestHandler instance has no attribute 'path'


Any help would be greatly appreciated!

BR
-antti


>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to