Univention Bugzilla – Bug 44384
AttributeError: 'NoneType' object has no attribute 'name'
Last modified: 2017-10-23 16:45:12 CEST
Version: 4.1-4 errata408 (Vahr) Remark: https://github.com/owncloud/integration/issues/6#issuecomment-293833826 Traceback(dccbf64bacd1eb0ebee94a7f76336b44): Die Ausführung des Kommandos appcenter/docker/progress ist fehlgeschlagen: 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/mixins.py", line 149, in progress ret = progress_obj.poll() File "%PY2.7%/univention/management/console/modules/decorators.py", line 309, in _thread 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/appcenter/__init__.py", line 340, in invoke_docker progress.title = _('%s: Running tests') % (app.name,) AttributeError: 'NoneType' object has no attribute 'name'
Occured again in https://help.univention.com/t/update-ucs-with-owncloud-9/5419/19
Again: https://help.univention.com/t/upgrade-auf-ucs-4-2-und-nextcloud/5396/6
Occured again on my instance: Installed nextcloud on a just joined slave (via master UMC App Center). Afterwards, a nextcloud app update was shown, for the app i just installed. The traceback occured when clicking the Update button for the app on the slave. Die Ausführung des Kommandos appcenter/docker/remote/progress ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 249, 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 364, in remote_progress return client.umc_command('appcenter/docker/progress', {'progress_id': remote_progress_id}).result File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 272, in umc_command return self.request('POST', 'command/%s' % (path,), data, headers) File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 297, in request return self.send(request) File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 316, in send raise HTTPError(request, response, self.hostname) HTTPError: 591 on slave422 (command/appcenter/docker/progress): {"status": 591, "message": "Die Ausf\u00fchrung des Kommandos appcenter/docker/progress ist fehlgeschlagen:\n\nTraceback (most recent call last):\n File \"/usr/lib/pymodules/python2.7/univention/management/console/base.py\", line 249, in execute\n function.__func__(self, request, *args, **kwargs)\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py\", line 318, in _response\n result = _multi_response(self, request)\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py\", line 192, in _response\n return function(self, request)\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py\", line 440, in _response\n return list(function(self, iterator, *nones))\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py\", line 286, in _fake_func\n yield function(self, *args)\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/mixins.py\", line 149, in progress\n ret = progress_obj.poll()\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py\", line 309, in _thread\n result = _multi_response(self, request)\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py\", line 192, in _response\n return function(self, request)\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py\", line 440, in _response\n return list(function(self, iterator, *nones))\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py\", line 286, in _fake_func\n yield function(self, *args)\n File \"/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py\", line 387, in invoke_docker\n progress.title = _('%s: Running tests') % (app.name,)\nAttributeError: 'NoneType' object has no attribute 'name'\n", "location": "https://slave422/univention/command"}
Version: 4.2-1 errata157 (Lesum)
Version: 4.2-1 errata144 (Lesum)
This may happen in mixed appcenter / appcenter-test environments. Maybe in other situations? Anyway, fixed for all of them. univention-appcenter 6.0.10-7A~4.2.0.201709212056
OK - code looks good, my test ok although i could not reproduce the issue OK - YAML
<http://errata.software-univention.de/ucs/4.2/199.html>