Univention Bugzilla – Bug 54081
setup/apps/query: UnicodeDecodeError: 'utf8' codec can't decode byte 0xba in position 3: invalid start byte
Last modified: 2021-12-24 02:35:35 CET
Version: 4.4-5 errata735 (Blumenthal) Error: Interner Server-Fehler in "setup/apps/query (wizard)". Request: setup/apps/query (wizard) Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 759, in apps_query return util.get_apps(True) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 792, in get_apps return [get.to_dict(app) for app in Apps().get_all_apps() if app.is_ucs_component()] File "%PY2.7%/univention/appcenter/app_cache.py", line 129, in get_all_apps for app in self.get_every_single_app(): File "%PY2.7%/univention/appcenter/app_cache.py", line 543, in get_every_single_app for app in app_cache.get_every_single_app(): File "%PY2.7%/univention/appcenter/app_cache.py", line 502, in get_every_single_app ret.extend(app_cache.get_every_single_app()) File "%PY2.7%/univention/appcenter/app_cache.py", line 363, in get_every_single_app if self._save_cache(): File "%PY2.7%/univention/appcenter/app_cache.py", line 224, in _save_cache dump([app.attrs_dict() for app in self._cache], fd, indent=2) File "/usr/lib/python2.7/json/__init__.py", line 189, in dump for chunk in iterable: File "/usr/lib/python2.7/json/encoder.py", line 431, in _iterencode for chunk in _iterencode_list(o, _current_indent_level): File "/usr/lib/python2.7/json/encoder.py", line 332, in _iterencode_list for chunk in chunks: File "/usr/lib/python2.7/json/encoder.py", line 390, in _iterencode_dict yield _encoder(value) UnicodeDecodeError: 'utf8' codec can't decode byte 0xba in position 3: invalid start byte
reported again: Version: 4.4-3 errata443 (Blumenthal) [..] UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 0: invalid start byte Role: None
Created attachment 10888 [details] where "none" comes from I think that on a "default" setup the values are NOT written to the files only displayed since i adjusted one of the settings during the end of migration, it looks like it forced the writing of the values.