Bug #54929 invalid module found in WorkBench plugin distribution
Submitted: 1 Jul 2010 9:36 Modified: 20 Sep 2010 14:42
Reporter: Giuseppe Maxia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.25 OS:MacOS (Linux)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: module, plugin, wb

[1 Jul 2010 9:36] Giuseppe Maxia
Description:
In the scripting shell, I get this message

Starting Workbench...Registered 147 GRT classes.
WARNING: Could not load wb.mysql.validation.grt.dylib: Invalid module /Applications/MySQLWorkbench.app/Contents/PlugIns/wb.mysql.validation.grt.dylib

WARNING: Could not load wb.validation.grt.dylib: Invalid module /Applications/MySQLWorkbench.app/Contents/PlugIns/wb.validation.grt.dylib

How to repeat:
start the scripting shell on Mac
[1 Jul 2010 21:04] MySQL Verification Team
Thank you for the bug report. Same on Linux:

Starting Workbench...Registered 147 GRT classes.
WARNING: Could not load wb.validation.grt.so: Invalid module /usr/lib64/mysql-workbench/modules/wb.validation.grt.so

WARNING: Could not load wb.mysql.validation.grt.so: Invalid module /usr/lib64/mysql-workbench/modules/wb.mysql.validation.grt.so

/usr/lib64/python2.6/site-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken
  RandomPool_DeprecationWarning)
Registered 17 modules (from 14 files).
Looking for user plugins in /home/miguel/.mysql/workbench/modules
MySQL Generic Runtime Environment 4.1.0
Type 'help' or '?' for help. Type 'quit' to exit the shell.
You may change the programming language used in this shell from Preferences -> General
Welcome to the Lua Shell.
Ready.
[4 Aug 2010 14:43] Alfredo Kojima
Fixed in Linux
[20 Sep 2010 13:49] Johannes Taxacher
fix confirmed in 5.2.27
[20 Sep 2010 14:42] Tony Bedford
An entry has been added to the 5.2.27 changelog:

When started, the following warnings were generated in the Workbench Scripting Shell:

Starting Workbench...Registered 147 GRT classes.
WARNING: Could not load wb.mysql.validation.grt.dylib: Invalid module
/Applications/MySQLWorkbench.app/Contents/PlugIns/wb.mysql.validation.grt.dylib

WARNING: Could not load wb.validation.grt.dylib: Invalid module
/Applications/MySQLWorkbench.app/Contents/PlugIns/wb.validation.grt.dylib