Bug 52567 - computerroom/exam/finish: AttributeError: invalid key
computerroom/exam/finish: AttributeError: invalid key
Status: RESOLVED DUPLICATE of bug 54098
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-08 13:48 CET by Christian Castens
Modified: 2022-01-20 00:01 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020121021000266, 2020121021000257
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Castens univentionstaff 2021-01-08 13:48:29 CET
Version: 4.4-6 errata767 (Blumenthal) - UCS@school 4.4 v7

Remark: ...beim Beenden des Klassenarbeitsmodus.

Error:
Interner Server-Fehler in "computerroom/exam/finish".
Request: computerroom/exam/finish

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 203, in _decorated
    return func(self, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 738, in finish_exam
    self._settings_set(printMode="default", internetRule="none", shareMode="all", customRule="")
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 203, in _decorated
    return func(self, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 807, in _settings_set
    self.reset_smb_connections()
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 940, in reset_smb_connections
    italc_users = [x.lower() for x in self._italc.users if x]
  File "%PY2.7%/univention/management/console/modules/computerroom/italc2.py", line 715, in users
    _usermap[x.user.current].username for x in self.values() if x.user.current and x.connected()
  File "%PY2.7%/univention/management/console/modules/computerroom/italc2.py", line 96, in __getitem__
    self._read_user(user)
  File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 140, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/computerroom/italc2.py", line 110, in _read_user
    username = self.validate_userstr(userstr)
  File "%PY2.7%/univention/management/console/modules/computerroom/italc2.py", line 102, in validate_userstr
    raise AttributeError('invalid key "%s"' % userstr)
AttributeError: invalid key "K-dayeh.sha"

Role: domaincontroller_slave
Comment 1 Jürn Brodersen univentionstaff 2022-01-20 00:01:05 CET

*** This bug has been marked as a duplicate of bug 54098 ***