You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start Gunicorn WSGI HTTP Server
Check database structure change ...
Traceback (most recent call last):
File "manage.py", line 28, in
execute_from_command_line(sys.argv)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 224, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 36, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "/opt/py3/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 14, in
from django.db.migrations.autodetector import MigrationAutodetector
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/autodetector.py", line 11, in
from django.db.migrations.questioner import MigrationQuestioner
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/questioner.py", line 9, in
from .loader import MigrationLoader
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/loader.py", line 8, in
from django.db.migrations.recorder import MigrationRecorder
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 9, in
class MigrationRecorder:
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 22, in MigrationRecorder
class Migration(models.Model):
File "/opt/py3/lib/python3.6/site-packages/django/db/models/base.py", line 87, in new
app_config = apps.get_containing_app_config(module)
File "/opt/py3/lib/python3.6/site-packages/django/apps/registry.py", line 249, in get_containing_app_config
self.check_apps_ready()
File "/opt/py3/lib/python3.6/site-packages/django/apps/registry.py", line 131, in check_apps_ready
settings.INSTALLED_APPS
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 57, in getattr
self._setup(name)
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 107, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/opt/jumpserver/apps/jumpserver/settings.py", line 17, in
from django_auth_ldap.config import LDAPSearch, LDAPSearchUnion
File "/opt/py3/lib/python3.6/site-packages/django_auth_ldap/config.py", line 38, in
import ldap.filter
File "/opt/py3/lib/python3.6/site-packages/ldap/filter.py", line 12, in
from ldap.functions import strf_secs
File "/opt/py3/lib/python3.6/site-packages/ldap/functions.py", line 20, in
from ldap import LDAPError
ImportError: cannot import name 'LDAPError'
Collect static files
Traceback (most recent call last):
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 204, in fetch_command
app_name = commands[subcommand]
KeyError: 'collectstatic'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "manage.py", line 28, in
execute_from_command_line(sys.argv)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 211, in fetch_command
settings.INSTALLED_APPS
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 57, in getattr
self._setup(name)
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 107, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "/opt/jumpserver/apps/jumpserver/settings.py", line 17, in
from django_auth_ldap.config import LDAPSearch, LDAPSearchUnion
File "/opt/py3/lib/python3.6/site-packages/django_auth_ldap/config.py", line 38, in
import ldap.filter
File "/opt/py3/lib/python3.6/site-packages/ldap/filter.py", line 12, in
from ldap.functions import strf_secs
File "/opt/py3/lib/python3.6/site-packages/ldap/functions.py", line 20, in
from ldap import LDAPError
ImportError: cannot import name 'LDAPError'
The text was updated successfully, but these errors were encountered:
版本为为最为 git clone https://github.com/jumserver/jumpserver.git
首次启动 报ldap auth相关模块缺失 pip 安装后启动报新错:
Jumpserver version 1.4.3, more see https://www.jumpserver.org
Check database structure change ...
Traceback (most recent call last):
File "manage.py", line 28, in
execute_from_command_line(sys.argv)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 224, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 36, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "/opt/py3/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 14, in
from django.db.migrations.autodetector import MigrationAutodetector
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/autodetector.py", line 11, in
from django.db.migrations.questioner import MigrationQuestioner
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/questioner.py", line 9, in
from .loader import MigrationLoader
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/loader.py", line 8, in
from django.db.migrations.recorder import MigrationRecorder
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 9, in
class MigrationRecorder:
File "/opt/py3/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 22, in MigrationRecorder
class Migration(models.Model):
File "/opt/py3/lib/python3.6/site-packages/django/db/models/base.py", line 87, in new
app_config = apps.get_containing_app_config(module)
File "/opt/py3/lib/python3.6/site-packages/django/apps/registry.py", line 249, in get_containing_app_config
self.check_apps_ready()
File "/opt/py3/lib/python3.6/site-packages/django/apps/registry.py", line 131, in check_apps_ready
settings.INSTALLED_APPS
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 57, in getattr
self._setup(name)
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 107, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/opt/jumpserver/apps/jumpserver/settings.py", line 17, in
from django_auth_ldap.config import LDAPSearch, LDAPSearchUnion
File "/opt/py3/lib/python3.6/site-packages/django_auth_ldap/config.py", line 38, in
import ldap.filter
File "/opt/py3/lib/python3.6/site-packages/ldap/filter.py", line 12, in
from ldap.functions import strf_secs
File "/opt/py3/lib/python3.6/site-packages/ldap/functions.py", line 20, in
from ldap import LDAPError
ImportError: cannot import name 'LDAPError'
Collect static files
Traceback (most recent call last):
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 204, in fetch_command
app_name = commands[subcommand]
KeyError: 'collectstatic'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "manage.py", line 28, in
execute_from_command_line(sys.argv)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/py3/lib/python3.6/site-packages/django/core/management/init.py", line 211, in fetch_command
settings.INSTALLED_APPS
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 57, in getattr
self._setup(name)
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/opt/py3/lib/python3.6/site-packages/django/conf/init.py", line 107, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "/opt/jumpserver/apps/jumpserver/settings.py", line 17, in
from django_auth_ldap.config import LDAPSearch, LDAPSearchUnion
File "/opt/py3/lib/python3.6/site-packages/django_auth_ldap/config.py", line 38, in
import ldap.filter
File "/opt/py3/lib/python3.6/site-packages/ldap/filter.py", line 12, in
from ldap.functions import strf_secs
File "/opt/py3/lib/python3.6/site-packages/ldap/functions.py", line 20, in
from ldap import LDAPError
ImportError: cannot import name 'LDAPError'
The text was updated successfully, but these errors were encountered: