Page unavailable删除缓存并不能解决


#1

这个问题出现很长时间了,一直没办法解决。

日志文件如下

2018-01-10 04:50:48,072 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/data/seafile/seafile-server-5.1.3/seahub/seahub/auth/decorators.py”, line 26, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/data/seafile/seafile-server-5.1.3/seahub/seahub/base/decorators.py”, line 39, in _decorated
return func(request, *args, **kwargs)
File “/data/seafile/seafile-server-5.1.3/seahub/seahub/views/init.py”, line 884, in libraries
}, context_instance=RequestContext(request))
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/shortcuts.py”, line 45, in render_to_response
using=using)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/loader.py”, line 115, in render_to_string
template_name, context, context_instance, dirs, dictionary)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/engine.py”, line 221, in render_to_string
return t.render(context_instance)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 210, in render
return self._render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 202, in _render
return self.nodelist.render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 905, in render
bit = self.render_node(node, context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 919, in render_node
return node.render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/loader_tags.py”, line 135, in render
return compiled_parent._render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 202, in _render
return self.nodelist.render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 905, in render
bit = self.render_node(node, context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 919, in render_node
return node.render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/loader_tags.py”, line 65, in render
result = block.nodelist.render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 905, in render
bit = self.render_node(node, context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 919, in render_node
return node.render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/loader_tags.py”, line 65, in render
result = block.nodelist.render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 905, in render
bit = self.render_node(node, context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 919, in render_node
return node.render(context)
File “/data/seafile/seafile-server-5.1.3/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/template/base.py”, line 1197, in render
return func(*resolved_args, **resolved_kwargs)
File “/data/seafile/seafile-server-5.1.3/seahub/seahub/avatar/templatetags/avatar_tags.py”, line 26, in avatar_url
avatar = get_primary_avatar(user, size=size)
File “/data/seafile/seafile-server-5.1.3/seahub/seahub/avatar/util.py”, line 112, in get_primary_avatar
avatar.create_thumbnail(size)
File “/data/seafile/seafile-server-5.1.3/seahub/seahub/avatar/models.py”, line 101, in create_thumbnail
image = image.crop((0, diff, w, h - diff))
File “/usr/local/lib/python2.7/site-packages/PIL/Image.py”, line 763, in crop
self.load()
File “/usr/local/lib/python2.7/site-packages/PIL/ImageFile.py”, line 189, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File “/usr/local/lib/python2.7/site-packages/PIL/Image.py”, line 385, in _getdecoder
raise IOError(“decoder %s not available” % decoder_name)
IOError: decoder jpeg not available