Bug #73854 | MySQLWorkbench 6.2.2 RC for OSX cannot be installed/launched | ||
---|---|---|---|
Submitted: | 9 Sep 2014 11:53 | Modified: | 2 Oct 2014 8:50 |
Reporter: | Flemming Jønsson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S3 (Non-critical) |
Version: | 6.2.2 | OS: | MacOS (10.9.4) |
Assigned to: | CPU Architecture: | Any |
[9 Sep 2014 11:53]
Flemming Jønsson
[9 Sep 2014 11:56]
Flemming Jønsson
I have only tested this using this dmg: Mac OS X (x86, 32-bit), DMG Archive 6.2.2 51.5M (mysql-workbench-community-6.2.2-osx-i686.dmg) MD5: d24d17a5c11c0a9469719484bbbe28b0
[9 Sep 2014 13:19]
MySQL Verification Team
WorkBench installed
Attachment: WB_6.2.2.png (image/png, text), 340.17 KiB.
[9 Sep 2014 13:21]
MySQL Verification Team
I couldn't repeat on: MySQL Workbench Community (GPL) for Mac OS X version 6.2.2 revision 12242 build 2167 (32 bit) Configuration Directory: /Users/miguel/Library/Application Support/MySQL/Workbench Data Directory: /Volumes/MySQL Workbench/MySQLWorkbench.app/Contents/Resources Cairo Version: 1.10.2 OS: OS X 10.9.x Mavericks CPU: 4x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 16.00GiB RAM Which is your OS version?. Thanks.
[9 Sep 2014 14:23]
Flemming Jønsson
I am using OSx 10.9.4 I just noticed that the Python error when running MySQLWorkbench from Terminal referenced my Python framework from my MacPorts install. If I remove my Macports /opt/local folders from PATH and thus fall back to the Python framework supplied with osx I can start MySQLWorkbench from terminal and open existing connections without the SSH error. However I am still not able to simply double click the MySQLWorkbench app and launch it. It continues to report this error: "MySQLWorkbench" is damaged and can't be opened. You should move it to the trash. Well since I can launch it using the Terminal I'm guessing it is path issue as well. FYI I never had any issues using 6.1.x Workbench with the Macports python on my path - it is only 6.2.2 that fails for me .
[9 Sep 2014 14:52]
Flemming Jønsson
To work around the path issue and enforce using the Apple provided Python I created a MySQLWorkbench.sh script next to the MySQLWorkbench binary with this content: #!/bin/sh ## PATH workaround as described here: http://apple.stackexchange.com/questions/51677/how-to-set-path-for-finder-launched-applica... ## . ~/.bash_profile export PATH=/usr/bin:$PATH logger "`dirname \"$0\"`/MySQLWorkbench" exec "`dirname \"$0\"`/MySQLWorkbench" $@ I then updated the Info.plist in the MySQLWorkbench.app directory and changed the CFBundleExecutable to refer to the sh script instead. <key>CFBundleExecutable</key> <!-- <string>MySQLWorkbench</string> --> <string>MySQLWorkbench.sh</string> Finally I ran: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v -f /Applications/MySQLWorkbench.app/ And now I can launch the MySQLWorkbench no matter if Macports is installed or not.
[22 Sep 2014 0:05]
Mike H
See http://bugs.mysql.com/bug.php?id=74000
[23 Sep 2014 18:36]
Alfredo Kojima
Please try version 6.2.3, about to be released
[2 Oct 2014 8:49]
Flemming Jønsson
Version 6.2.3 works for me out of the box (both with- and without Macports installed).
[2 Oct 2014 8:50]
Flemming Jønsson
6.2.3 fixes this issue