Error日志:
Error opening file for reading: Permission denied
ERROR Internal Server Error: /
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 174, in get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 172, in get_response
response = response.render()
File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 160, in render
self.content = self.rendered_content
File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 137, in rendered_content
content = template.render(context, self._request)
File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py", line 95, in render
return self.template.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 206, in render
return self._render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
return self.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 173, in render
return compiled_parent._render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
return self.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 69, in render
result = block.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/library.py", line 243, in render
return t.render(new_context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 208, in render
return self._render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 197, in _render
return self.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 992, in render
bit = node.render_annotated(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 220, in render
nodelist.append(node.render_annotated(context))
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 959, in render_annotated
return self.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 1043, in render
output = self.filter_expression.resolve(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 736, in resolve
new_obj = func(obj, *arg_vals)
File "/usr/local/lib/python2.7/dist-packages/django/template/defaultfilters.py", line 51, in _dec
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/template/defaultfilters.py", line 278, in truncatechars
return Truncator(value).chars(length)
File "/usr/local/lib/python2.7/dist-pac