Univention Bugzilla – Bug 54988
Traceback in 40_samba_tool_dbcheck.py (63_proof_uniqueMembers.py ?) when running the fix function
Last modified: 2022-07-31 14:46:09 CEST
+++ This bug was initially created as a clone of Bug #48652 +++ Traceback in 40_samba_tool_dbcheck.py (63_proof_uniqueMembers.py ?) when running the fix function. Trying to use the automatic fix for 40_samba_tool_dbcheck results in a traceback. Looking at the code I think 63_proof_uniqueMembers has the same problem but I didn't test it. Problem: The decode is now already done within the "run_with_output" function. Traceback: ''' 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/40_samba_tool_dbcheck.py", line 55, in run_samba_tool_dbcheck_fix fix_log.append(output.decode('utf-8', 'replace')) AttributeError: 'str' object has no attribute 'decode' '''
univention-management-console-module-diagnostic.yaml 0213b74e8a7f | Bug #54988: Diagnostic module crash due to duplicate decode univention-management-console-module-diagnostic (6.0.2-2) 0213b74e8a7f | Bug #54988: Diagnostic module crash due to duplicate decode
*** Bug 54856 has been marked as a duplicate of this bug. ***
OK: fix button works again OK: YAML
<https://errata.software-univention.de/#/?erratum=5.0x372>
*** Bug 55043 has been marked as a duplicate of this bug. ***