Hi,

I have configured frontend autotest server.
but while running this i have got following error.
please anyone can give suggestion to  solve this error.

Received error 500 Internal Server Error
Date: Fri, 20 May 2011 09:49:29 GMT
Server: Apache/2.2.16 (Ubuntu)
Vary: Accept-Encoding
Content-Encoding: gzip
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html



<pre>
MOD_PYTHON ERROR

ProcessId:      2382
Interpreter:    'localhost.localdomain'

ServerName:     'localhost.localdomain'
DocumentRoot:   '/usr/local/autotest/apache/www/'

URI:            '/afe/server/rpc/'
Location:       '/afe/server'
Directory:      None
Filename:
'/usr/local/autotest/frontend/client/www/autotest.AfeClient/server'
PathInfo:       '/rpc/'

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537,
in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1229,
in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1128,
in _execute_target
    result = object(arg)

  File "/usr/lib/pymodules/python2.6/django/core/handlers/modpython.py",
line 228, in handler
    return ModPythonHandler()(req)

  File "/usr/lib/pymodules/python2.6/django/core/handlers/modpython.py",
line 208, in __call__
    signals.request_finished.send(sender=self.__class__)

  File "/usr/lib/pymodules/python2.6/django/dispatch/dispatcher.py", line
162, in send
    response = receiver(signal=self, sender=sender, **named)

  File "/usr/local/autotest/frontend/afe/readonly_connection.py", line 132,
in _close_connection
    connection().close()

  File "/usr/local/autotest/frontend/afe/readonly_connection.py", line 92,
in close
    assert django_connection != self._connection

  File "/usr/lib/pymodules/python2.6/django/db/backends/__init__.py", line
28, in __ne__
    return not self == other

  File "/usr/lib/pymodules/python2.6/django/db/backends/__init__.py", line
25, in __eq__
    return self.settings_dict == other.settings_dict

AttributeError: 'Connection' object has no attribute 'settings_dict'

</pre>


-- 
Thanks & Regards
Nitin Kshirsagar
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to