Bug #52342 Unable to use any admin modules
Submitted: 24 Mar 2010 18:28 Modified: 3 Jun 2010 17:56
Reporter: Steven Stern Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S1 (Critical)
Version:5.2.16, 5.2.17 OS:Windows (Vista)
Assigned to: Assigned Account CPU Architecture:Any
Tags: admin, crash

[24 Mar 2010 18:28] Steven Stern
Description:
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:
Click server admin, select a server, click OK
[25 Mar 2010 4:22] Valeriy Kravchuk
What exact version of MySQL server, x.y.z, local or remote, are you working with?
[25 Mar 2010 14:11] Steven Stern
Version info:

OS is Centos 5.4

[steves@ghnt06 ~]$ mysql --version
mysql  Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1
[steves@ghnt06 ~]$ rpm -qa |grep mysql
libdbi-dbd-mysql-0.8.1a-1.2.2
php-mysql-5.1.6-24.el5_4.5
mysql-5.0.77-4.el5_4.2
mysql-connector-odbc-3.51.26r1127-1.el5
mysql-server-5.0.77-4.el5_4.2
[25 Mar 2010 14:12] Steven Stern
Forgot to mention:

Server is on a Centos machine on the LAN, client is Windows Vista.
[26 Mar 2010 12:33] Susanne Ebrecht
MySQL server is very old and unsupported.

Please take actual server version here (5.1.45)
[1 Apr 2010 22:24] Steven Stern
Upgraded to latest CENTOS packages
no success

What is the MINIMUM version number?  

]$ mysql --version
mysql  Ver 14.12 Distrib 5.0.86, for redhat-linux-gnu (i686) using readline 5.1
[steves@ghnt06 ~]$ rpm -qa |grep mysql
libdbi-dbd-mysql-0.8.1a-1.2.2
php-mysql-5.2.11-jason.1
mysql-server-5.0.86-jason.2
mysql-connector-odbc-3.51.26r1127-1.el5
mysql-5.0.86-jason.2
[steves@ghnt06 ~]$
[5 Apr 2010 11:21] MySQL Verification Team
Could you please try new released version 5.2.17 and comment the result here?. Thanks in advance.
[5 Apr 2010 13:40] Steven Stern
Using 5.2.17

Traceback (most recent call last):

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_grt.py", line 157, in openAdministrator

    do_open_administrator(server_instance)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_grt.py", line 126, in do_open_administrator

    adminTab = AdministratorTab(server_instance)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_grt.py", line 87, in __init__

    self.ctrl_be = wb_admin_control_be.MyCtrl(server_instance_settings)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 662, in __init__

    if connect_sql and self.server_is_stopped_for_sure():

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 884, in server_is_stopped_for_sure

    return self.is_running()

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 899, in is_running

    result = self.exec_cmd(script, usesudo, password)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 969, in exec_cmd

    (script, filters) = build_filters(script)

  File "C:\Program Files\MySQL\MySQL Workbench 5.2 OSS/modules\wb_admin_control_be.py", line 177, in build_filters

    idx = text.rfind('|')

AttributeError: 'NoneType' object has no attribute 'rfind'
[3 May 2010 17:56] Alfredo Kojima
Please attach your server_instances.xml file or provide details on how exactly you created the instance. Also, does the problem happen with any server instance you create?
[3 Jun 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".