| Bug #104565 | MANAGEMENT-Server Status break | ||
|---|---|---|---|
| Submitted: | 8 Aug 2021 1:27 | Modified: | 17 Sep 2021 13:44 |
| Reporter: | yuguo huang (OCA) | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Workbench: Administration | Severity: | S1 (Critical) |
| Version: | 8.0.26 | OS: | Windows (Microsoft Windows 10 Pro) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | WBBugReporter | ||
[8 Aug 2021 1:27]
yuguo huang
error log
Attachment: wb.log (application/octet-stream, text), 9.22 KiB.
[17 Sep 2021 12:26]
MySQL Verification Team
Hello yuguo huang, Thank you for the bug report. I've tried to reproduce your issue on windows 10 with workbench 8.0.26 and changed the language to Chinese but not seeing any issues at my end. Regards, Ashwini Patil
[17 Sep 2021 13:44]
yuguo huang
Thank you very much Ashwini ! I find this bug only repleat in Chinese Language Pack And Set non-Unicode to ZH-CN. workbench work well in using English LanguagePack and Set non-Unicode to EN-US. using English LanguagePack and Set non-Unicode to ZH-CN. using Chinese Language Pack and Set non-Unicode to ZH-CN,With UTF-8 support. break in using Chinese Language Pack and Set non-Unicode to ZH-CN,Without UTF-8 support. to repeat the problem.you must use Chinese Language Pack And set Language for non-Unicode programs to ZH-CN 中文(简体,中国)
[17 Sep 2021 13:45]
yuguo huang
non-Unicode setting.
Attachment: language _setting.png (image/png, text), 16.10 KiB.
[17 Sep 2021 13:45]
yuguo huang
workbench_error
Attachment: workbench_error.png (image/png, text), 119.50 KiB.
[17 Sep 2021 13:48]
yuguo huang
language _setting1
Attachment: language _setting1.png (image/png, text), 43.55 KiB.

Description: MANAGEMENT-Server Status break Error Message Could not acquire management access for administration RuntimeError:Target host is configured as Windows,but seems to be a different OS,Please review the connection settings. Also I have found old version of mysql workbench (8.0.22 work) well in my system. but the lastest version (8.0.26) have this problem. Sorry,I first Report the problem doesn't clearlfy How to repeat. I think It's the encoding problem ,only in non UTF-8 system. please review this Bug,thanks. How to repeat: hello,i think the problem can only repeat in Simplified Chinese(ZH-CN) Ver WIN10. system default Using GBK Encoding . To repeat the problem,you need to setting Language for non-Unicode programs set to ZH-CN 中文(简体,中国) Click MANAGEMENT-"Server Status" will throw error. Could not acquire management access for administration RuntimeError:Target host is configured as Windows,but seems to be a different OS,Please review the connection settings. Suggested fix: in file os_utils.py process = subprocess.Popen(command, stdin = subprocess.PIPE, encoding="utf-8", stdout = subprocess.PIPE, stderr = subprocess.STDOUT, shell=True) # Sends all the command output to the listener if output_handler: for line in iter(process.stdout.readline, ""): change encoding to "gbk" fix problem