Bug #51978 can not connect to server,python error
| Submitted: | 12 Mar 2010 7:25 | Modified: | 16 Mar 2010 2:32 |
|---|---|---|---|
| Reporter: | Yanlu Zhang | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Workbench: Administration | Severity: | S1 (Critical) |
| Version: | 5.2.16 oss beta | OS: | Windows (win7) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Contribution, python error | ||
[13 Mar 2010 1:10]
MySQL Verification Team
Thank you for the bug report.
[16 Mar 2010 2:32]
Alfredo Kojima
This is a duplicate of bug #51476
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: modules\wb_admin_control_be.py line 666-667 def get_config_file_path(self): return self.expand_path_variables(self.settings.serverInfo['sys.config.path'].strip(" \r\t\n\b")) when self.settings.serverInfo['sys.config.path'] returns None, the program would fail. How to repeat: after installed the workbench,just run Administation. make sure you evr "sys.config.path" is None. Suggested fix: I fix it like this: def get_config_file_path(self): return self.expand_path_variables((self.settings.serverInfo['sys.config.path'] or "").strip(" \r\t\n\b")) i works well :)