dacongyun.com
分享国内外服务器主机优惠信息

大佬们,seafile运行报错

  1. 2020-02-18 13:03:26,403 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/7dc95757-01f3-4253-a14f-4a88c071b100/file/
  2. Traceback (most recent call last):
  3.   File “/opt/seafile/seafile-pro-server-6.2.9/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
  4.     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  5.   File “/opt/seafile/seafile-pro-server-6.2.9/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/views/decorators/csrf.py”, line 58, in wrapped_view
  6.     return view_func(*args, **kwargs)
  7.   File “/opt/seafile/seafile-pro-server-6.2.9/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/views/generic/base.py”, line 71, in view
  8.     return self.dispatch(request, *args, **kwargs)
  9.   File “/opt/seafile/seafile-pro-server-6.2.9/seahub/seahub/api2/base.py”, line 23, in dispatch
  10.     response = super(APIView, self).dispatch(*a, **kw)
  11.   File “/opt/seafile/seafile-pro-server-6.2.9/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 466, in dispatch
  12.     response = self.handle_exception(exc)
  13.   File “/opt/seafile/seafile-pro-server-6.2.9/seahub/seahub/api2/base.py”, line 20, in handle_exception
  14.     return super(APIView, self).handle_exception(exc)
  15.   File “/opt/seafile/seafile-pro-server-6.2.9/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 463, in dispatch
  16.     response = handler(request, *args, **kwargs)
  17.   File “/opt/seafile/seafile-pro-server-6.2.9/seahub/seahub/api2/views.py”, line 2399, in get
  18.     send_file_access_msg(request, repo, path, ‘api’)
  19.   File “/opt/seafile/seafile-pro-server-6.2.9/seahub/seahub/views/file.py”, line 1377, in send_file_access_msg
  20.     (access_from, username, ip, user_agent, repo.id, path)
  21. UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe5 in position 39: ordinal not in range(128)

复制代码

PS:网页端和PC端正常,安卓端报错

网友回复:

注册 我不懂啊 紫薯布丁

大帅锅 你别睡了大佬

一位不知名网友 dd

大帅锅 中文和utf8的问题,我之前在linux部署cli客户端时经常碰到,我后来只有换linux系统才最终解决。

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人支付接口

云免签H5支付