Univention Bugzilla – Bug 53133
install_permission break appcenter
Last modified: 2021-05-25 15:58:40 CEST
UCS 5.0 appcenter-test install app wekan via UMC Traceback (most recent call last): File "/usr/lib/python3.7/base64.py", line 510, in _input_type_check m = memoryview(s) TypeError: memoryview: a bytes-like object is required, not 'str' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/base.py", line 344, 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/protocol/modserver.py", line 202, in _recv self.handle(msg) File "/usr/lib/python3/dist-packages/univention/management/console/protocol/modserver.py", line 270, in handle six.reraise(self.__init_etype, self.__init_exc, self.__init_etraceback) File "/usr/lib/python3/dist-packages/six.py", line 692, in reraise raise value.with_traceback(tb) File "/usr/lib/python3/dist-packages/univention/management/console/protocol/modserver.py", line 311, in handle self.__handler.init() File "/usr/lib/python3/dist-packages/univention/management/console/modules/appcenter/__init__.py", line 157, in init get_action('list').get_apps() File "/usr/lib/python3/dist-packages/univention/appcenter/actions/list_apps.py", line 102, in get_apps install_permissions = app.install_permissions_exist() File "/usr/lib/python3/dist-packages/univention/appcenter/app.py", line 1017, in install_permissions_exist self._install_permissions_exist = access(image) File "/usr/lib/python3/dist-packages/univention/appcenter/docker.py", line 96, in access auth = encodestring('%s:%s' % (username, password)).replace('\n', '') File "/usr/lib/python3.7/base64.py", line 540, in encodestring return encodebytes(s) File "/usr/lib/python3.7/base64.py", line 527, in encodebytes _input_type_check(s) File "/usr/lib/python3.7/base64.py", line 513, in _input_type_check raise TypeError(msg) from err TypeError: expected bytes-like object, not str
*** This bug has been marked as a duplicate of bug 51598 ***
ok - duplicate (and works now)
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".