Hi there, I got several problems on UCS 5.0-9 errata1228 because ucr commit
does not work any more. I get a lot of python errors, none of them of any help for me. I’m not aware of any recent changes that could have triggered the problem.
The complete output of ucr commit
is shown below, pease help! Thanks!
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/univention/config_registry/handler.py", line 708, in load
version = self._get_cache_version(cache_file)
File "/usr/lib/python3/dist-packages/univention/config_registry/handler.py", line 682, in _get_cache_version
match = ConfigHandlers.VERSION_RE.match(line)
TypeError: cannot use a string pattern on a bytes-like object
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/sbin/ucr", line 72, in <module>
sys.exit(ub.main(convertToUtf8(sys.argv[1:])))
File "/usr/lib/python3/dist-packages/univention/config_registry/frontend.py", line 865, in main
result = handler_func(args, cmd_opts)
File "/usr/lib/python3/dist-packages/univention/config_registry/frontend.py", line 340, in handler_commit
handlers.load()
File "/usr/lib/python3/dist-packages/univention/config_registry/handler.py", line 723, in load
self.update()
File "/usr/lib/python3/dist-packages/univention/config_registry/handler.py", line 926, in update
handler = self.get_handler(section)
File "/usr/lib/python3/dist-packages/univention/config_registry/handler.py", line 739, in get_handler
return handler(entry)
File "/usr/lib/python3/dist-packages/univention/config_registry/handler.py", line 807, in _get_handler_file
handler.variables = grep_variables(fd.read())
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 0xfc in position 958: invalid start byte