Bug #62997 MySQL Workbench will not start after initially loading it on Windows 7
Submitted: 28 Oct 2011 18:04 Modified: 3 Nov 2011 19:42
Reporter: Brad Gilbert Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.35 CE-Revision 7915 OS:Windows (Win7)
Assigned to: CPU Architecture:Any
Tags: .NET Runtime Error from Event Viewer

[28 Oct 2011 18:04] Brad Gilbert
Description:
MySQL Workbench will not start after initially loading it on Windows 7.

How to repeat:
Try starting it again ...
[28 Oct 2011 18:15] Alfredo Kojima
Please try the workaround described in http://wb.fabforce.eu/?p=1259 and report back if it works
[28 Oct 2011 19:57] Brad Gilbert
I tried running MySQL Workbench 5.2 CE as "administrator" and am still receiving the same error on start up.
[28 Oct 2011 20:57] Alfredo Kojima
Can you get the list of files in the WB install folder and paste to this issue?
[31 Oct 2011 15:28] Alfredo Kojima
Please try this, from a command prompt shell, go to the installation folder of WB, then (as administrator):
cd python
..\python -mcompileall ..

If that doesn't work, please report and try deleting all .pyc files in that folder manually.
[31 Oct 2011 16:36] Brad Gilbert
The ...\python\ directory doesn't contain a python executable.  Here is what is in my python directory:

 Directory of C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\python

10/28/2011  12:50 PM    <DIR>          .
10/28/2011  12:50 PM    <DIR>          ..
10/28/2011  12:50 PM    <DIR>          DLLs
10/31/2011  10:14 AM    <DIR>          lib
10/28/2011  12:50 PM    <DIR>          libs
09/21/2011  05:19 AM           124,254 mysql_libs.zip
10/28/2011  12:50 PM    <DIR>          site-packages
[31 Oct 2011 18:34] Alfredo Kojima
You need to run the python command in the parent directory inside the python directory.
Type exactly:
cd python
..\python -mcompileall ..

The "..\" before python in the 2nd command is important.
[31 Oct 2011 20:24] Alfredo Kojima
Does workbench start after that?
[31 Oct 2011 20:26] Alfredo Kojima
What is the error you're getting when trying to start it?
[1 Nov 2011 11:50] Alfredo Kojima
OK, your error is actually a different one than what I thought. This is a duplicate of bug #62529
[3 Nov 2011 16:31] Brad Gilbert
Any other suggestions as to why MySQL Workbench will not start after installing it in my Windows 7 environment?
[3 Nov 2011 17:47] Alfredo Kojima
Are you sure you installed the 32bit version of the C++ runtimes?