ARM64-Seafile_v6.3.4_Community Edition—Run Error

arm64

#1

First of all, thank you for @TCB13 's tutorial post - 《Compilation ARM64 - DONE》。
I’ve compiled a amr64 version with this tutorial and raspberry Pi’s v6.3.4 release - 《https://github.com/haiwen/seafile-rpi/releases》

My Question Description:
1、./seafile.sh start — It‘s OK!
2、./seahub.sh start — It’s OK!
3、Visit Seafile Website — Internal Server Error.
4、I’m trying to track the log. ---- tail -f /opt/seafile/logs/seahub.log

Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/base.py”, line 244, in _legacy_get_response
response = middleware_method(request)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-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/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/utils/lru_cache.py”, line 100, in wrapper
result = user_function(*args, **kwds)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-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/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/utils/functional.py”, line 35, in get
res = instance.dict[self.name] = self.func(instance)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/urls/resolvers.py”, line 407, in url_patterns
patterns = getattr(self.urlconf_module, “urlpatterns”, self.urlconf_module)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/utils/functional.py”, line 35, in get
res = instance.dict[self.name] = self.func(instance)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/urls/resolvers.py”, line 400, 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/seafile/seafile-server-6.3.4/seahub/seahub/utils/rooturl.py”, line 41, in
url(r’^%s’ % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-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/seafile/seafile-server-6.3.4/seahub/seahub/urls.py”, line 8, in
from seahub.views.sysadmin import *
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/views/sysadmin.py”, line 89, in
from seahub.utils.two_factor_auth import has_two_factor_auth
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/utils/two_factor_auth.py”, line 5, in
from seahub.two_factor.views.login import (
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/two_factor/views/init.py”, line 2, in
from .core import SetupView, BackupTokensView, SetupCompleteView, QRGeneratorView
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/two_factor/views/core.py”, line 31, in
from seahub.auth.forms import AuthenticationForm
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/auth/forms.py”, line 17, in
from captcha.fields import CaptchaField
ImportError: No module named fields

2019-01-02 09:11:32,611 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /favicon.ico
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/base.py”, line 244, in _legacy_get_response
response = middleware_method(request)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-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/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/utils/lru_cache.py”, line 100, in wrapper
result = user_function(*args, **kwds)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-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/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/utils/functional.py”, line 35, in get
res = instance.dict[self.name] = self.func(instance)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/urls/resolvers.py”, line 407, in url_patterns
patterns = getattr(self.urlconf_module, “urlpatterns”, self.urlconf_module)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/utils/functional.py”, line 35, in get
res = instance.dict[self.name] = self.func(instance)
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/urls/resolvers.py”, line 400, 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/seafile/seafile-server-6.3.4/seahub/seahub/utils/rooturl.py”, line 41, in
url(r’^%s’ % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),
File “/opt/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-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/seafile/seafile-server-6.3.4/seahub/seahub/urls.py”, line 8, in
from seahub.views.sysadmin import *
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/views/sysadmin.py”, line 89, in
from seahub.utils.two_factor_auth import has_two_factor_auth
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/utils/two_factor_auth.py”, line 5, in
from seahub.two_factor.views.login import (
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/two_factor/views/init.py”, line 2, in
from .core import SetupView, BackupTokensView, SetupCompleteView, QRGeneratorView
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/two_factor/views/core.py”, line 31, in
from seahub.auth.forms import AuthenticationForm
File “/opt/seafile/seafile-server-6.3.4/seahub/seahub/auth/forms.py”, line 17, in
from captcha.fields import CaptchaField
ImportError: No module named fields

Where’s “Captcha.fields”?
I found the Raspberry Pi-v6.3.4 Release, doesn’t have this file either.

5、I try to install : pip install fields captcha . It didn’t work.

Does anyone know how to fix it?