Bug #17914 Workbench does not run if not installed to C:\Program Files\MySQL
Submitted: 4 Mar 2006 7:47 Modified: 12 Apr 2006 8:27
Reporter: Chris Testroet Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Preview Severity:S3 (Non-critical)
Version:1.0.5 Beta OS:Windows (Windows 2000 Pro SP4)
Assigned to: Mike Lischke CPU Architecture:Any

[4 Mar 2006 7:47] Chris Testroet
Description:
Fails to startup with the following error:

The runtime environment (GRT) could not be initialized.
Please check your installation then try to restart the tool.

Error details:
Workbench.initWorkbench :The function did not return an object. Error Nr. 10003

Shell output:
MySQL Generic Runtime Environment 2.0.12

Type 'help' or '?' for help. Type 'quit' to exit the shell.
-= Lua Shell initialized =-
 Error while loading struct definitions (10001).
Initializing native loader...
Initializing PHP loader...
Initializing Lua loader...
Initializing Lua loader...
Registered in 5 builtin modules.
Cannot find module directory ./php/modules.
Error while loading PHP modules (10001).
Cannot find module directory ./lua.
Error while loading Lua modules (10001).
Registered 1 Workbench module.

How to repeat:
Install to any directory other than the default "C:\Program Files\MySQL\MySQL Workbench"

Attempt to launch program by clicking icon placed in start menu.

I installed to several different locations, all with the same error message.

Suggested fix:
Unknown, but I would imagine that the path is likely hard coded somewhere?
[4 Mar 2006 15:01] Jon Stephens
Does not start on my Win2K Server system, even when installed to default location - I:\Program Files\MySQL\MySQL Workbench 1.0. (Yes, my system drive is I:\, not C:\.) Error message is: Failed to Initialise.

This is true for both the MSI and the No-install/zip versions.

Set status to Verified, updated Synopsis.
[12 Apr 2006 8:27] Mike Lischke
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html