Bug #52819 cannot open Admin tab of Workbench
Submitted: 14 Apr 2010 12:26 Modified: 14 Apr 2010 19:07
Reporter: Martin Leboeuf Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:5.2.16 OS:Windows (xp pro)
Assigned to: CPU Architecture:Any
Tags: Administration, workbench

[14 Apr 2010 12:26] Martin Leboeuf
Description:
content of the "output window":

x32 on x32Traceback (most recent call last):
  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_grt.py", line 240, in tmpAdministratorShortcut
    tab = do_open_administrator(server)
  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_grt.py", line 125, in do_open_administrator
    adminTab = AdministratorTab(server_instance)
  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_grt.py", line 95, in __init__
    self.configuration = wb_admin_configuration.WbAdminConfiguration(server_instance_settings, self.ctrl_be, self.monitor)
  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_configuration.py", line 60, in __init__
    sys_config_path = self.ctrl_be.get_config_file_path()
  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 667, in get_config_file_path
    return self.expand_path_variables(self.settings.serverInfo['sys.config.path'].strip(" \r\t\n\b"))
AttributeError: 'NoneType' object has no attribute 'strip'

content of the "Copy bug info to clipboard" :

Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at MySQL.Forms.DrawBoxImpl.drawbox_mouse_click(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
On the home tab of the workbench, click the "server administration" link. Then, click on the local server. Enter root password in pop-up. Then, a MySQL Workbench unexpected error window pops up, asking to report the bug. MySQL version is 5.1.45 community.
[14 Apr 2010 13:58] MySQL Verification Team
Thank you for the bug report. Could you please try 5.2.18 version. Thanks in advance.
[14 Apr 2010 13:58] Valeriy Kravchuk
Please, check with a newer version, 5.2.18, and inform about the results.
[14 Apr 2010 15:27] Martin Leboeuf
I updated to 5.2.18 and the admin now works. Thanks !
[14 Apr 2010 19:07] MySQL Verification Team
Thank you for the feedback.