设备:RK3399 ARM64
系统: armbian,基于debian buster
采用树莓派的编译脚本编译的7.0.5服务器版本,编译成功
启动seafile成功,启动seahub的时候报错,如下:
Starting seahub (fastcgi) at 127.0.0.1:8000 ...
Traceback (most recent call last):
File "/data/seafile/seafile-server-7.0.5/seahub/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/management/__init__.py", line 338, in execute
django.setup()
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/__init__.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/apps/config.py", line 94, in create
module = import_module(entry)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/django_post_office-3.0.4-py2.7.egg/post_office/__init__.py", line 3, in <module>
from .backends import EmailBackend
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/django_post_office-3.0.4-py2.7.egg/post_office/backends.py", line 4, in <module>
from .settings import get_default_priority
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/django_post_office-3.0.4-py2.7.egg/post_office/settings.py", line 95, in <module>
context_field_class = import_attribute(CONTEXT_FIELD_CLASS)
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/django_post_office-3.0.4-py2.7.egg/post_office/compat.py", line 45, in import_attribute
module = importlib.import_module(module_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/jsonfield-3.1.0-py2.7.egg/jsonfield/__init__.py", line 1, in <module>
File "/data/seafile/seafile-server-7.0.5/seahub/thirdpart/jsonfield-3.1.0-py2.7.egg/jsonfield/fields.py", line 28
def __init__(self, *args, dump_kwargs=None, load_kwargs=None, **kwargs):
^
SyntaxError: invalid syntax
Error:Seahub failed to start.
请问这可能是什么原因引起的?