Univention Bugzilla – Bug 37531
AttributeError: 'NoneCandidate' object has no attribute 'section'
Last modified: 2023-03-25 06:53:10 CET
Reported via UMC traceback feedback with 4.0-0 errata21 (Walle). Traceback: Execution of command 'appcenter/packages/get' has failed: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 316, in _response result = _multi_response(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 460, in _response return list(function(self, iterator, *nones)) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 282, in _fake_func yield function(self, *args) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 401, in packages_get return self._package_to_dict(package, full=True) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 527, in _package_to_dict result['section'] = candidate.section AttributeError: 'NoneCandidate' object has no attribute 'section' +++ This bug was initially created as a clone of Bug #36209 +++ I tried to install libaudit0 via 'Package Management' UMC module and I got the following traceback: Execution of command 'appcenter/packages/get' has failed: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 309, in _response result = _multi_response(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 449, in _response return list(function(self, iterator, *nones)) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 275, in _fake_func yield function(self, *args) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 400, in packages_get return self._package_to_dict(package, full=True) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 526, in _package_to_dict result['section'] = candidate.section AttributeError: 'NoneCandidate' object has no attribute 'section'
*** This bug has been marked as a duplicate of bug 37403 ***
(In reply to Dirk Wiesenthal from comment #1) > > *** This bug has been marked as a duplicate of bug 37403 *** I knew this :D