Using LADP to synchronize account failure, pro 11.0.6

root@seafile:/home//seafile-server-latest# ./pro/pro.py ldapsync
Traceback (most recent call last):
File “/usr/lib/python3.10/runpy.py”, line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.10/runpy.py”, line 110, in _get_module_details
import(pkg_name)
File “/home//seafile-pro-server-11.0.6/pro/python/seafevents/ldap_syncer/init.py”, line 1, in
from .ldap_settings import Settings
File “/home//seafile-pro-server-11.0.6/pro/python/seafevents/ldap_syncer/ldap_settings.py”, line 5, in
from seafevents.app.config import seahub_settings
File “/home//seafile-pro-server-11.0.6/pro/python/seafevents/app/config.py”, line 19, in
import seahub.settings as seahub_settings
File “/home//seafile-pro-server-11.0.6/seahub/seahub/init.py”, line 4, in
from .handlers import repo_created_cb, repo_deleted_cb, clean_up_repo_trash_cb,
File “/home//seafile-pro-server-11.0.6/seahub/seahub/handlers.py”, line 4, in
from . import settings
File “/home//seafile-pro-server-11.0.6/seahub/seahub/settings.py”, line 941, in
import seahub_settings
File “/home//conf/seahub_settings.py”, line 24

^
SyntaxError: invalid non-printable character U+FEFF