安装seafile之后,使用浏览器登录的时候出现internal Server Error。
2019-01-11 14:38:17,853 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /favicon.ico
Traceback (most recent call last):
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/handlers/base.py", line 244, in _legacy_get_response
response = middleware_method(request)
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/middleware/locale.py", line 24, in process_request
i18n_patterns_used, prefixed_default_language = is_language_prefix_patterns_used(urlconf)
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/utils/lru_cache.py", line 100, in wrapper
result = user_function(*args, **kwds)
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/conf/urls/i18n.py", line 29, in is_language_prefix_patterns_used
for url_pattern in get_resolver(urlconf).url_patterns:
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/urls/resolvers.py", line 405, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/urls/resolvers.py", line 398, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/opt/haiwen/seafile-server-6.3.2/seahub/seahub/utils/rooturl.py", line 41, in <module>
url(r'^%s' % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/conf/urls/__init__.py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/opt/haiwen/seafile-server-6.3.2/seahub/seahub/urls.py", line 12, in <module>
from seahub.views.file import view_history_file, view_trash_file,\
File "/opt/haiwen/seafile-server-6.3.2/seahub/seahub/views/file.py", line 43, in <module>
from seahub.wopi.utils import get_wopi_dict
File "/opt/haiwen/seafile-server-6.3.2/seahub/seahub/wopi/utils.py", line 7, in <module>
import requests
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/requests-2.18.4-py2.7.egg/requests/__init__.py", line 97, in <module>
from . import utils
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/requests-2.18.4-py2.7.egg/requests/utils.py", line 26, in <module>
from ._internal_utils import to_native_string
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/requests-2.18.4-py2.7.egg/requests/_internal_utils.py", line 11, in <module>
from .compat import is_py2, builtin_str, str
File "/opt/haiwen/seafile-server-6.3.2/seahub/thirdpart/requests-2.18.4-py2.7.egg/requests/compat.py", line 47, in <module>
from urllib3.packages.ordered_dict import OrderedDict
ImportError: No module named ordered_dict