Univention Bugzilla – Bug 44434
KeyError: 'uid' when querying printjob users
Last modified: 2020-06-22 15:43:30 CEST
Version: 4.1-4 errata406 (Vahr) Execution of command 'printers/users/query' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 281, in execute function(self, request) 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 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/printers/__init__.py", line 167, in list_users return [ obj[1]["uid"][0] for obj in objs ] KeyError: 'uid'
Will be obsolete by fixing Bug #32134 instead.
4.2-1 errata133 (Lesum) Remark: cannot add users to print quota
Reported again: Version: 4.3-0 errata89 (Neustadt) Remark: Aufruf der Userliste im pykota Modul Interner Server-Fehler in "printers/users/query". Request: printers/users/query 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/printers/__init__.py", line 168, in list_users return [obj[1]["uid"][0] for obj in objs] KeyError: 'uid' Role: domaincontroller_master
41203c4ae0 Bug #44434: Fix printers/users/query 2907cfaf27 Bug #44434: YAML - add entry 84fdead27e Bug #44434: Debian changelog ff2108e8d8 Bug #44434: Merge branch 'jkeiser/4.3-2/44434' into 4.3-2 Successful build Package: univention-printserver Version: 11.0.1-2A~4.3.0.201811271158
85d9b81774 Bug #44434: use udm for printers/users/query ba3640b422 Bug #44434: Debian changelog 1f114a2ee8 Bug #44434: YAML - update version Successful build Package: univention-printserver Version: 11.0.1-3A~4.3.0.201811271454
Test added as tests/60_umc/51_printer_quota
<http://errata.software-univention.de/ucs/4.3/342.html>
*** Bug 32134 has been marked as a duplicate of this bug. ***