Bug 41992 - appcenter/invoke_dry_run: AttributeError: 'NoneType' object has no attribute 'versions'
appcenter/invoke_dry_run: AttributeError: 'NoneType' object has no attribute ...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-3-errata
Assigned To: Dirk Wiesenthal
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-15 15:08 CEST by Florian Best
Modified: 2017-11-29 13:04 CET (History)
2 users (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?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017112721000261, 2017100421000733, 2016102221000095, 2016102321000351, 2016102421000126, 2016112521000042, 2017031621000822
Bug group (optional): 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 Florian Best univentionstaff 2016-08-15 15:08:26 CEST
Version: 4.1-2 errata234 (Vahr)

Traceback(f861d4ff495a6526d5b67927b12fff9a):
Execution of command 'appcenter/invoke_dry_run' has failed:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 283, in execute
    function(self, request)
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 323, in invoke_dry_run
    self.invoke(request)
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 123, in _deferred
    return func(self, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 656, in _decorated
    return function(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 190, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 435, in invoke
    Application.all(only_local=True)  # if not yet cached, cache. but use only local inis
  File "%PY2.7%/univention/management/console/modules/appcenter/app_center.py", line 892, in all
    used_app.candidate.versions = iapps
AttributeError: 'NoneType' object has no attribute 'versions'
Comment 1 Florian Best univentionstaff 2016-08-17 10:23:09 CEST
Reported again, 4.1-3 errata234 (Vahr)
Comment 2 Dirk Wiesenthal univentionstaff 2016-10-18 17:52:26 CEST
Fixed in
  univention-appcenter 5.0.22-21.227.201610181743

Candidate can be None. Is now checked explicitly.
Comment 3 Dirk Wiesenthal univentionstaff 2016-10-18 17:56:44 CEST
YAML updated, merged to 4.2
Comment 4 Felix Botner univentionstaff 2016-10-18 18:29:56 CEST
OK, fixed
OK, merged
OK, yaml
Comment 5 Janek Walkenhorst univentionstaff 2016-10-19 11:17:23 CEST
<http://errata.software-univention.de/ucs/4.1/293.html>
Comment 6 Florian Best univentionstaff 2016-10-25 15:51:44 CEST
Reported again, 4.1-3 errata276 (Vahr)
Comment 7 Florian Best univentionstaff 2016-10-25 15:52:37 CEST
Reported again, 4.1-3 errata278 (Vahr)
Comment 8 Florian Best univentionstaff 2016-10-25 15:53:13 CEST
Reported again, 4.1-3 errata276 (Vahr)
Comment 9 Florian Best univentionstaff 2016-12-09 17:20:21 CET
Reported again, 4.1-2 errata263 (Vahr)
Comment 10 Florian Best univentionstaff 2017-04-21 12:05:08 CEST
Version: 4.1-2 errata295 (Vahr)
Comment 11 Johannes Keiser univentionstaff 2017-11-29 13:04:46 CET
Reported again: Version: 4.1-3 errata282 (Vahr)