cannot import name 'SeafEventsSession' from 'seahub.utils'导入错误

ImportError: cannot import name ‘SeafEventsSession’ from ‘seahub.utils’ (/opt/seafile/seafile-server-11.0.3/seahub/seahub/utils/init.py)
2024-05-21 14:57:35,838 [ERROR] django.request:241 log_response Internal Server Error: /api/v2.1/repos/91348004-357f-49a2-888a-944985004bde/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/django/core/handlers/exception.py”, line 55, in inner
response = get_response(request)
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/django/core/handlers/base.py”, line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/django/views/decorators/csrf.py”, line 56, in wrapper_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/django/views/generic/base.py”, line 104, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/rest_framework/views.py”, line 509, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/rest_framework/views.py”, line 469, in handle_exception
self.raise_uncaught_exception(exc)
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/rest_framework/views.py”, line 480, in raise_uncaught_exception
raise exc
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/rest_framework/views.py”, line 506, in dispatch
response = handler(request, *args, **kwargs)
File “/opt/seafile/seafile-server-11.0.3/seahub/seahub/api2/endpoints/repos.py”, line 417, in delete
repo_deleted.send(sender=None,
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/django/dispatch/dispatcher.py”, line 176, in send
return [
File “/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/django/dispatch/dispatcher.py”, line 177, in
(receiver, receiver(signal=self, sender=sender, **named))
File “/opt/seafile/seafile-server-11.0.3/seahub/seahub/handlers.py”, line 93, in repo_deleted_cb
from .utils import SeafEventsSession
ImportError: cannot import name ‘SeafEventsSession’ from ‘seahub.utils’ (/opt/seafile/seafile-server-11.0.3/seahub/seahub/utils/init.py)
2024-05-21 14:57:46,015 [WARNING] django.request:241 log_response Not Found: /api/v2.1/repos/91348004-357f-49a2-888a-944985004bde/

这个报错是没有安装新的依赖
升级到 11.0.x - seafile-manual-cn