Univention Bugzilla – Bug 55634
Error when creating new M23 app version in Provider Portal
Last modified: 2023-02-13 11:41:26 CET
The following error occurs when trying to create a new app version for the M23 app in the provider portal. Internal server error during "appcenter-selfservice/copy". Request: appcenter-selfservice/copy Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 347, in __error_handling six.reraise(etype, exc, etraceback) File "/usr/lib/python3/dist-packages/six.py", line 693, in reraise raise value File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 250, in execute function.__func__(self, request, *args, **kwargs) File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 184, in _response return function(self, request) File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 324, in _response result = _multi_response(self, request) File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 184, in _response return function(self, request) File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 446, in _response return list(function(self, iterator, *nones)) File "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py", line 292, in _fake_func yield function(self, *args) File "/usr/lib/python3/dist-packages/univention/management/console/modules/appcenter-selfservice/__init__.py", line 476, in copy new_app = self._run_appcenter_action('selfservice-copy', app=app, new_app=[None, new_app_version, new_ucs_version, None], new_component=new_component) File "/usr/lib/python3/dist-packages/univention/management/console/modules/appcenter-selfservice/__init__.py", line 335, in _run_appcenter_action return action.call(**kwargs) File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 189, in call return obj.call_with_namespace(namespace) File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 196, in call_with_namespace result = self.main(namespace) File "/usr/lib/python3/dist-packages/univention/appcenter/actions/selfservice.py", line 297, in main populate._generate_repo_index_files(repo_dir) File "/usr/lib/python3/dist-packages/univention/appcenter/actions/local_appcenter.py", line 650, in _generate_repo_index_files for line in stdout.decode('utf-8').splitlines(): UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 5988: invalid start byte
Package: univention-appcenter Branch: ucs_5.0-0 Scope: errata5.0-3 merge request: https://git.knut.univention.de/univention/ucs/-/merge_requests/640 commit: a132ca8d10b846c6b16898c41e31d8d05c0a9078 With this fix Debian packages that contain non UTF-8 byte sequences do not crash the Provider Portal anymore when creating new versions of apps.
OK: local appcenter now copies debian package files in binary mode OK: changelog entry
UCS 5.0-3 has been released. https://docs.software-univention.de/release-notes/5.0-3/en/ If this error occurs again, please clone this bug.