I thought this was a problem in v10.0.11 but I restored the server and just carried out OS updates via yum -y update and now Seahub won’t start:
Traceback (most recent call last):
File "/data/seafile/seafile-pro-server-10.0.11/seahub/thirdpart/bin/gunicorn", line 5, in <module>
from gunicorn.app.wsgiapp import run
File "/data/seafile/seafile-pro-server-10.0.11/seahub/thirdpart/gunicorn/app/wsgiapp.py", line 9, in <module>
from gunicorn.app.base import Application
File "/data/seafile/seafile-pro-server-10.0.11/seahub/thirdpart/gunicorn/app/base.py", line 11, in <module>
from gunicorn import util
File "/data/seafile/seafile-pro-server-10.0.11/seahub/thirdpart/gunicorn/util.py", line 25, in <module>
import pkg_resources
File "/data/seafile/seafile-pro-server-10.0.11/seahub/thirdpart/pkg_resources/__init__.py", line 85, in <module>
from pkg_resources.extern import platformdirs
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "/data/seafile/seafile-pro-server-10.0.11/seahub/thirdpart/pkg_resources/extern/__init__.py", line 52, in create_module
return self.load_module(spec.name)
File "/data/seafile/seafile-pro-server-10.0.11/seahub/thirdpart/pkg_resources/extern/__init__.py", line 37, in load_module
__import__(extant)
File "/data/seafile/seafile-pro-server-10.0.11/seahub/thirdpart/pkg_resources/_vendor/platformdirs/__init__.py", line 5
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined
Any ideas? Almost at end of tether of every upgrade not going cleanly