Univention Bugzilla – Bug 37905
traceback when no valid UCC server was found
Last modified: 2023-06-28 10:33:37 CEST
We received the following traceback: Die Ausführung des Kommandos uccsetup/info ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 316, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 460, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 282, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/uccsetup/__init__.py", line 87, in info thinclient_image, desktop_image = util.get_latest_ucc_images() File "%PY2.7%/univention/management/console/modules/uccsetup/util.py", line 359, in get_latest_ucc_images online_images = ucc_images.get_latest_online_ucc_image() File "%PY2.7%/ucc/images.py", line 776, in get_latest_online_ucc_image images = get_online_ucc_images() File "%PY2.7%/ucc/images.py", line 747, in get_online_ucc_images raise ValueError(_('No valid UCC server specified via UCR variable ucc/image/download/url. The image index file could not be opened!')) ValueError: Über die UCR-Variable ucc/image/download/url wurde kein gültiger UCC-Server angegeben. Die Image-Index-Datei konnte nicht geöffnet werden! Version: 4.0-1 errata84 (Walle) We should at least catch the ValueError and display the string as normal UMC-Error message. We should also check what is invalid with the set UCR variable (server down, invalid string, unset).
Version: 4.1-4 errata477 (Vahr) Remark: Fehlermeldung trat auf mein Öffnen der UCC-Einrichtung .
Reported again: Version: 4.1-4 errata444 (Vahr)
Reported again: Version: 4.1-4 errata489 (Vahr)
Reported again: Version: 4.1-5 errata502 (Vahr) Die Ausführung des Kommandos uccsetup/info 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/uccsetup/__init__.py", line 86, in info thinclient_image, desktop_image = util.get_latest_ucc_images() File "%PY2.7%/univention/management/console/modules/uccsetup/util.py", line 358, in get_latest_ucc_images online_images = ucc_images.get_latest_online_ucc_image() File "%PY2.7%/ucc/images.py", line 776, in get_latest_online_ucc_image images = get_online_ucc_images() File "%PY2.7%/ucc/images.py", line 747, in get_online_ucc_images raise ValueError(_('No valid UCC server specified via UCR variable ucc/image/download/url. The image index file could not be opened!')) ValueError: Über die UCR-Variable ucc/image/download/url wurde kein gültiger UCC-Server angegeben. Die Image-Index-Datei konnte nicht geöffnet werden!
reported again: Ticket#2019081621000293 Ticket#2019052921001059 Versions: 4.1-5 errata502 (Vahr)
UCC is EoL