Bug 49016 - AdminDiary: NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:None
AdminDiary: NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:None
Status: NEW
Product: UCS
Classification: Unclassified
Component: Admin Diary
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
Depends on:
  Show dependency treegraph
Reported: 2019-03-17 12:20 CET by Florian Best
Modified: 2019-03-18 12:48 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.257
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019031721000273
Bug group (optional): External feedback
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-03-17 12:20:38 CET
Internal server error during "admindiary/options".
Request: admindiary/options

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 253, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/admindiary/__init__.py", line 105, in options
    with get_client(version=1) as client:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "%PY2.7%/univention/admindiary/backend.py", line 324, in get_client
    with get_session() as session:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "%PY2.7%/univention/admindiary/backend.py", line 73, in get_session
    session = make_session_class()()
  File "%PY2.7%/univention/admindiary/backend.py", line 66, in make_session_class
    engine = get_engine()
  File "%PY2.7%/univention/admindiary/backend.py", line 62, in get_engine
    return sqlalchemy.create_engine(db_url)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/__init__.py", line 386, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 51, in create
    entrypoint = u._get_entrypoint()
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/url.py", line 131, in _get_entrypoint
    cls = registry.load(name)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 212, in load
    (self.group, name))
NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:None

Role: domaincontroller_backup
Comment 1 Florian Best univentionstaff 2019-03-17 12:21:00 CET
Maybe a missing dependency?
Comment 2 Arvid Requate univentionstaff 2019-03-18 12:48:26 CET
Probably admin/diary/dbms ist not initialized, no idea why. One possibility would be apt install univention-admin-diary-backend --no-recommends