Bug 56283 - appcenter/query: update.py: UnicodeDecodeError
appcenter/query: update.py: UnicodeDecodeError
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-06 19:00 CEST by Maximilian Janßen
Modified: 2023-07-06 19:00 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023021121000054
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 Maximilian Janßen univentionstaff 2023-07-06 19:00:04 CEST
Similar to: Bug 40485, and Bug 56175



Version: 5.0-2 errata572

Remark: updating relay host for mail services.

Error:
Internal server error during "appcenter/query".
Request: appcenter/query

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 347, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 250, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 324, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 446, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 292, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 384, in query
    self.update_applications()
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 402, in update_applications
    update.call()
  File "%PY3%/univention/appcenter/actions/__init__.py", line 189, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 196, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/update.py", line 93, in main
    if self._download_apps(app_cache):
  File "%PY3%/univention/appcenter/actions/update.py", line 205, in _download_apps
    if filenames and not self._download_files(app_cache, filenames):
  File "%PY3%/univention/appcenter/actions/update.py", line 161, in _download_files
    present_etags = self._get_etags(etags_file)
  File "%PY3%/univention/appcenter/actions/update.py", line 133, in _get_etags
    for line in f:
  File "/usr/lib/python3.7/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 37: invalid continuation byte

Role: domaincontroller_backup