Bug #49982 MySQL Workbench Administration Plugin Doesn't Work
Submitted: 29 Dec 2009 22:44 Modified: 11 Feb 2010 21:00
Reporter: Abdullah Battal Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.11 Beta OS:Linux (Pardus 2009)
Assigned to: CPU Architecture:Any
Tags: Administration Plugin, linux, not found, workbench

[29 Dec 2009 22:44] Abdullah Battal
Description:
I've built mysql workbench 5.2.11 Beta from source code on my linux distribution (namely Pardus 2009). Now connecting to the mysql server instance and sending queries through the workbench is fine, but when I double-click on the mysql instance name in the "Server Administration" box, it says;

"Administration plugin not found"

on status bar.

How to repeat:
Double-click on an instance name in "Server Administration" listbox.
[29 Dec 2009 23:16] Abdullah Battal
oh, and btw it's on localhost, and mysql v. 5.1.41
[11 Jan 2010 21:00] Johannes Taxacher
Hi Abdullah,

maybe some python module is missing. Could you maybe join us on our irc channel? That would be the easiest way to figure that out whats the problem, because none of us is using the linux distro you have. irc://irc.freenode.net (you can find short instructions on how to do that on this webpage: http://wb.mysql.com/?page_id=16 )
[15 Jan 2010 17:51] Anders Karlsson
I see the same thing. I did a build from source on FC10. After installing all required packages, I did make and make install, without problems.
Then I had to install paramiko, and after that Workbench starts OK. But I do see the same "Administration plugin not found". In the terminal window where I started WB, I see this:
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/dbutils.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/db.mysql.sqlparser.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/tools.grt.lua' (lua)
** Message: Initialized Lua module /usr/local/lib/mysql-workbench/modules/tools.grt.lua (WbTools)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/db.mysql.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/db.mysql.query.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/table_utils.grt.lua' (lua)
** Message: Initialized Lua module /usr/local/lib/mysql-workbench/modules/table_utils.grt.lua (WbTableUtils)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb_admin_grt.py' (python)
Traceback (most recent call last):
  File "/usr/local/lib/mysql-workbench/modules/wb_admin_grt.py", line 12, in <module>
    import wb_admin_monitor
  File "/usr/local/lib/mysql-workbench/modules/wb_admin_monitor.py", line 5, in <module>
    import wba_monitor_be
  File "/usr/local/lib/mysql-workbench/modules/wba_monitor_be.py", line 3, in <module>
    import wb_admin_control_be
  File "/usr/local/lib/mysql-workbench/modules/wb_admin_control_be.py", line 206, in <module>
    import pexpect
ImportError: No module named pexpect
** Message: Failed loading module '/usr/local/lib/mysql-workbench/modules/wb_admin_grt.py' (python)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb.mysql.import.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb_utils_grt.py' (python)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/catalog_utils.grt.lua' (lua)
** Message: Initialized Lua module /usr/local/lib/mysql-workbench/modules/catalog_utils.grt.lua (WbUtils)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/db.mysql.sqlide.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/forms.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb.mysql.validation.grt.so' (cpp)
** Message: WARNING: Could not get pointer to grt_module_init in module /usr/local/lib/mysql-workbench/modules/wb.mysql.validation.grt.so (`grt_module_init': /usr/local/lib/mysql-workbench/modules/wb.mysql.validation.grt.so: undefined symbol: grt_module_init)    
** Message: WARNING: Could not load wb.mysql.validation.grt.so: Invalid module /usr/local/lib/mysql-workbench/modules/wb.mysql.validation.grt.so    
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb.validation.grt.so' (cpp)
** Message: WARNING: Could not get pointer to grt_module_init in module /usr/local/lib/mysql-workbench/modules/wb.validation.grt.so (`grt_module_init': /usr/local/lib/mysql-workbench/modules/wb.validation.grt.so: undefined symbol: grt_module_init)    
** Message: WARNING: Could not load wb.validation.grt.so: Invalid module /usr/local/lib/mysql-workbench/modules/wb.validation.grt.so    
** Message: Trying to load module '/usr/local/lib/mysql-workbench/modules/wb.model.grt.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/wb.printing.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/wb.model.editors.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/db.checks.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/db.mysql.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so' (cpp)
** Message: Trying to load module '/usr/local/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so' (cpp)

** (mysql-workbench-bin:12024): WARNING **: Plugin 'wb.tools.quickTables' from module WbTools has invalid type ''

** (mysql-workbench-bin:12024): WARNING **: /root/.mysql/workbench/wb_options.xml:308: link 'd7aaa54c-01f9-11df-b547-002215852879' <object GrtObject> key=owner could not be resolved

** (mysql-workbench-bin:12024): WARNING **: :16: link 'd7ab20f8-01f9-11df-b547-002215852879' <object GrtObject> key=owner could not be resolved

** (mysql-workbench-bin:12024): WARNING **: :30: link 'd7ab20f8-01f9-11df-b547-002215852879' <object GrtObject> key=owner could not be resolved

** (mysql-workbench-bin:12024): WARNING **: :32: link 'd7ab20f8-01f9-11df-b547-002215852879' <object GrtObject> key=owner could not be resolved

** (mysql-workbench-bin:12024): WARNING **: :56: link 'd7ab20f8-01f9-11df-b547-002215852879' <object GrtObject> key=owner could not be resolved
_view_impl has NULL ptr at 14
_app_impl has NULL ptr at 5
[15 Jan 2010 17:56] Anders Karlsson
The problem in my case was pexpect was missing. Installing that fixed my installation at least.
[18 Jan 2010 15:00] Erik Olson
Running Slackware Kernel 2.6.28.7 with a complete Python installation and installed pexpect after reading this bug. Same errors as you guys were listing. Were you able to find out anything over at the IRC channel? To the moderator: it's beneficial to post any solutions you provided to Abdullah on IRC over here after the fact, since this is the actual bug report where people come for solutions: anything discussed on IRC won't be available to others unless it's subsequently posted here? Thanks.
[12 Feb 2010 0: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".