Univention Bugzilla – Bug 45796
'NoneType' object has no attribute 'categories'
Last modified: 2018-08-03 18:56:39 CEST
This error occurred again with a newer UCS version: 4.2-2 errata216 (Lesum). +++ This bug was initially created as a clone of Bug #44607 +++ Die Ausführung des Kommandos setup/apps/query wizard ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 249, 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/setup/__init__.py", line 724, in apps_query return util.get_apps(True) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 771, in get_apps return [get.to_dict(app) for app in Apps().get_all_apps() if app.is_ucs_component()] File "%PY2.7%/univention/appcenter/app.py", line 1050, in is_ucs_component return 'UCS components' in app.categories AttributeError: 'NoneType' object has no attribute 'categories' Version: 4.2-0 errata0 (Lesum)
Reported again: Version: 4.2-3 errata231 (Lesum)
Reported again: Version: 4.2-3 errata231 (Lesum) Remark: Booted image and this message occured on first boot
Reported again: Version: 4.2-2 errata216 (Lesum)
Reported again: Version: 4.2-2 errata216 (Lesum) Reported again: Version: 4.2-2 errata216 (Lesum)
Cache needs to be reworked. But for the time being, implement a simple fix: Test for "app is None"... Fixed in: univention-appcenter 6.0.11-13A~4.2.0.201802061112
FAIL - settings fix relution update Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/upgrade.py", line 75, in main return self.do_it(args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install_base.py", line 99, in do_it self._do_it(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 111, in _do_it self._upgrade_image(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_upgrade.py", line 152, in _upgrade_image settings.update(args.set_vars) TypeError: 'NoneType' object is not iterable OK - component fix
Fixed in univention-appcenter 6.0.11-14A~4.2.0.201802090108
OK - update with settings OK - YAML OK - merged to 4.3
<http://errata.software-univention.de/ucs/4.2/285.html>
Reported again: Version: 4.2-3 errata265 (Lesum)
Reported again: Version: 4.2-3 errata265 (Lesum) Ticket#2018022521000396
Reported again: Version: 4.2-3 errata265 (Lesum) Ticket#2018032821002207
Reported again: Version: 4.2-3 errata265 (Lesum) Ticket#2018032021000385
Version: 4.2-3 errata265 (Lesum): Ticket#2018030321000032 Ticket#2018032021000385 Ticket#2018041121000579 Ticket#2018042121000078
Reported again: Version: 4.2-3 errata265 (Lesum) Ticket#2018050421000652
External feedback: UCS Version: 4.2-3 errata231 (Lesum) Die Ausführung des Kommandos appcenter/query ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 250, in execute function.__func__(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 199, in query info = domain.to_dict(apps) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/domain.py", line 109, in to_dict app_dict = get.to_dict(app) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/get.py", line 115, in to_dict ret['is_ucs_component'] = app.is_ucs_component() File "/usr/lib/pymodules/python2.7/univention/appcenter/app.py", line 1080, in is_ucs_component return 'UCS components' in app.categories AttributeError: 'NoneType' object has no attribute 'categories'
Reported again: Version: 4.2-2 errata219 (Lesum) Ticket#2018080321000461 Die Ausführung des Kommandos setup/apps/query wizard ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 250, 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/setup/__init__.py", line 753, in apps_query return util.get_apps(True) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 774, in get_apps return [get.to_dict(app) for app in Apps().get_all_apps() if app.is_ucs_component()] File "%PY2.7%/univention/appcenter/app.py", line 1080, in is_ucs_component return 'UCS components' in app.categories AttributeError: 'NoneType' object has no attribute 'categories' Role: None