Bug 37905 - traceback when no valid UCC server was found
traceback when no valid UCC server was found
Status: CLOSED WONTFIX
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: UMC modules
unspecified
Other Linux
: P5 normal
: UCC 2.x
Assigned To: UCC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-02 09:17 CET by Florian Best
Modified: 2023-06-28 10:33 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.206
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019012321000407, 2018022721000132, 2018021521001207, 2018012521000291, 2017091621000188, 2019081621000293, 2019052921001059, 2020100421000183
Bug group (optional): Error handling, 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 2015-03-02 09:17:15 CET
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).
Comment 1 Florian Best univentionstaff 2017-10-13 12:26:37 CEST
Version: 4.1-4 errata477 (Vahr)

Remark: Fehlermeldung trat auf mein Öffnen der UCC-Einrichtung .
Comment 2 Johannes Keiser univentionstaff 2018-02-16 12:16:49 CET
Reported again: Version: 4.1-4 errata444 (Vahr)
Comment 3 Johannes Keiser univentionstaff 2018-02-16 13:31:17 CET
Reported again: Version: 4.1-4 errata489 (Vahr)
Comment 4 Johannes Keiser univentionstaff 2018-04-27 13:31:25 CEST
Reported again: Version: 4.1-4 errata489 (Vahr)
Comment 5 Johannes Keiser univentionstaff 2019-01-31 13:27:37 CET
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!
Comment 6 Christian Castens univentionstaff 2020-08-19 13:36:59 CEST
reported again:
Ticket#2019081621000293
Ticket#2019052921001059
Versions: 4.1-5 errata502 (Vahr)
Comment 7 Philipp Hahn univentionstaff 2023-06-28 10:30:39 CEST
UCC is EoL