Bug 36209 - AttributeError: 'NoneCandidate' object has no attribute 'section'
AttributeError: 'NoneCandidate' object has no attribute 'section'
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Dirk Wiesenthal
Stefan Gohmann
: interim-3
Depends on:
Blocks: 37531
  Show dependency treegraph
 
Reported: 2014-10-16 08:32 CEST by Stefan Gohmann
Modified: 2015-01-13 13:20 CET (History)
1 user (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:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-10-16 08:32:08 CEST
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'
Comment 1 Dirk Wiesenthal univentionstaff 2014-10-24 14:06:43 CEST
New version of python-apt.

Fixed at some point in development... No changelog required.
Comment 2 Stefan Gohmann univentionstaff 2014-11-04 13:23:53 CET
OK, it works now.
Comment 3 Stefan Gohmann univentionstaff 2014-11-26 06:55:00 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

If this error occurs again, please use "Clone This Bug".