Bug 38793 - Traceback while trying to get list of UCC Images
Traceback while trying to get list of UCC Images
Status: CLOSED WONTFIX
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: UMC modules
UCC 2.0
Other Linux
: P5 normal
: UCC 2.x
Assigned To: UCC maintainers
:
: 45005 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-30 08:29 CEST by Erik Damrose
Modified: 2023-06-28 10:33 CEST (History)
2 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?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017070521000069
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2015-06-30 08:29:28 CEST
We received the following traceback, it occurs while trying to query the UCC image server for a list of available images.

UCS Version: 4.0-2 errata214 (Walle)

Die Ausführung des Kommandos uccimages/query ist fehlgeschlagen:

URLError:
raise URLError(err)
File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 419, in _open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 401, in open
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
response = urllib2.urlopen(request)
File "/usr/lib/pymodules/python2.7/ucc/images.py", line 198, in _get_file_size
_get_file_size(UCC_IMAGE_INDEX_FILE) # throws a HTTPException if URL does not exist
File "/usr/lib/pymodules/python2.7/ucc/images.py", line 745, in get_online_ucc_images
_images += ucc_images.get_online_ucc_images()
File "/usr/lib/pymodules/python2.7/univention/management/console/modules/uccimages/__init__.py", line 88, in query
yield funct
Comment 1 Florian Best univentionstaff 2017-07-07 17:13:33 CEST
Reported again, 4.1-4 errata435 (Vahr)

Execution of command 'uccimages/query' has failed:

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/uccimages/__init__.py", line 88, in query
    _images += ucc_images.get_online_ucc_images()
  File "%PY2.7%/ucc/images.py", line 745, in get_online_ucc_images
    _get_file_size(UCC_IMAGE_INDEX_FILE)  # throws a HTTPException if URL does not exist
  File "%PY2.7%/ucc/images.py", line 198, in _get_file_size
    response = urllib2.urlopen(request)
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 439, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 626, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 401, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 419, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 101] Network is unreachable>
Comment 2 Florian Best univentionstaff 2017-07-14 14:12:44 CEST
*** Bug 45005 has been marked as a duplicate of this bug. ***
Comment 3 Ingo Steuwer univentionstaff 2020-06-19 16:55:48 CEST
UCC 1.x / 2.x is out of maintenance. In case this Bug is still relevant please clone with the correct version.