Comment 3 for bug 797726

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

when i move the "/usr/local/lib" back with command "sudo mv /usr/local/lib.old/ /usr/local/lib",
"Internal Server Error" happens again.

but if i move /usr/local/lib to /usr/local/lib.old, the error does not happen, and it becames normal.

log info in "/var/log/apache2/error.log" is as bellow, can you help me to resolve this error?

[Thu Jun 16 01:44:33 2011] [error] /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/contrib/csrf/middleware.py:6: DeprecationWarning: This import for CSRF functionality is deprecated. Please use django.middleware.csrf for the middleware and django.views.decorators.csrf for decorators.
615 [Thu Jun 16 01:44:33 2011] [error] DeprecationWarning
616 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] mod_wsgi (pid=3810): Exception occurred processing WSGI script '/etc/launch-control/web-server/apache2/standard.wsgi'.
617 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] Traceback (most recent call last):
618 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/core/handlers/wsgi.py", line 273, in __call_ _
619 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] response = self.get_response(request)
620 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/core/handlers/base.py", line 169, in get_res ponse
621 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
622 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/core/handlers/base.py", line 214, in handle_ uncaught_exception
623 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] if resolver.urlconf_module is None:
624 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/core/urlresolvers.py", line 274, in _get_url conf_module
625 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] self._urlconf_module = import_module(self.urlconf_name)
626 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/utils/importlib.py", line 35, in import_modu le
627 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] __import__(name)
628 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] File "/usr/lib/pymodules/python2.6/dashboard_server/urls.py", line 25, in <module>
629 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] from dashboard_app.views import dashboard_xml_rpc_handler
630 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] File "/usr/lib/pymodules/python2.6/dashboard_app/views.py", line 33, in <module>
631 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] from dashboard_app.models import (Attachment, BundleStream, TestRun, TestResult, DataReport)
632 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] File "/usr/lib/pymodules/python2.6/dashboard_app/models.py", line 41, in <module>
633 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] from dashboard_app.helpers import BundleDeserializer
634 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] File "/usr/lib/pymodules/python2.6/dashboard_app/helpers.py", line 11, in <module>
635 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] from linaro_dashboard_bundle import (
636 [Thu Jun 16 01:44:33 2011] [error] [client 127.0.0.1] ImportError: cannot import name DocumentIO