Univention Bugzilla – Bug 55043
proof unique member fails with "'str' object has no attribute 'decode'"
Last modified: 2022-07-31 14:46:09 CEST
After the upgrade to UCS 5 in a UCS@School environment we started the systems diagnostic in the UMC. There the following traceback was given: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/__init__.py", line 280, in execute result = execute(umc_module, **kwargs) File "/usr/lib/python3/dist-packages/univention/management/console/modules/diagnostic/plugins/63_proof_uniqueMembers.py", line 56, in run_proof_uniqueMembers_fix fix_log.append(output.decode('utf-8', 'replace')) AttributeError: 'str' object has no attribute 'decode' The issue is that the 'output' sting is indeed of type string instead of the expected byte string.
*** This bug has been marked as a duplicate of bug 54988 ***