Bug #24071 usr/local/usr/local/...document.glade'
Submitted: 8 Nov 2006 3:30 Modified: 3 Jan 2007 9:00
Reporter: Carl Karsten (Silver Quality Contributor) Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Preview Severity:S2 (Serious)
Version:svnversion 447 OS:Linux (Linux)
Assigned to: CPU Architecture:Any

[8 Nov 2006 3:30] Carl Karsten
Description:
juser@e18:~/src/svn$ mysql-workbench

(mysql-workbench-bin:15907): libglade-WARNING **: could not find glade file '/usr/local/usr/local/share/mysql-gui/workbench/document.glade'
terminate called after throwing an instance of 'MGGladeXML::Error'
Aborted (core dumped)

I see the problem:
'/usr/local/usr/local/

juser@e18:/usr/local$ sudo ln -s /usr

now WB runs.

How to repeat:
juser@e18:~/src/svn$ mysql-workbench
[3 Dec 2006 9:00] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a version from GUI Tools 5.0r and inform about the results.
[4 Jan 2007 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".
[18 May 2007 0:58] Joaquin Bravo Contreras
I have the same problem.

I'm running revision 459 from SVN.
[18 May 2007 1:00] Joaquin Bravo Contreras
and version 2055 from the mysql-gui-commons svn.
[17 Oct 2007 18:50] Thomas Nickl
I used svn from today and had the same problem.

I "fixed" it too: root@katze:/usr/local# ln -s /usr

But then:

thomas@katze:~$ /usr/local/bin/mysql-workbench
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
*** glibc detected *** /usr/local/bin/mysql-workbench-bin: corrupted double-linked list: 0x086266d8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6bc13f9]
/lib/tls/i686/cmov/libc.so.6[0xb6bc31bd]
/lib/tls/i686/cmov/libc.so.6[0xb6bc4863]
/lib/tls/i686/cmov/libc.so.6(realloc+0x106)[0xb6bc6a66]
/usr/lib/libglib-2.0.so.0(g_realloc+0x3b)[0xb6ff09bb]
/usr/lib/libgdk-x11-2.0.so.0[0xb73313b7]
/usr/lib/libgdk-x11-2.0.so.0[0xb7330b63]
/usr/lib/libgdk-x11-2.0.so.0(gdk_region_union+0x81)[0xb7331f91]
/usr/lib/libgdk-x11-2.0.so.0(gdk_window_invalidate_maybe_recurse+0x1bf)[0xb7335bff]
/usr/lib/libgdk-x11-2.0.so.0(gdk_window_invalidate_region+0x40)[0xb7335df0]
/usr/lib/libgdk-x11-2.0.so.0(_gdk_window_process_expose+0x148)[0xb734d4c8]
/usr/lib/libgdk-x11-2.0.so.0[0xb734a042]
/usr/lib/libgdk-x11-2.0.so.0(_gdk_events_queue+0xdb)[0xb734a76b]
/usr/lib/libgdk-x11-2.0.so.0[0xb734ab6f]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x17c)[0xb6fe911c]
/usr/lib/libglib-2.0.so.0[0xb6fec55f]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xb6fec909]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb75839e4]
/usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk4Main8run_implEv+0x17)[0xb7a11827]
/usr/lib/libgtkmm-2.4.so.1(_ZN3Gtk4Main3runEv+0x22)[0xb7a11612]
/usr/local/bin/mysql-workbench-bin[0x806b56c]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb6b6f050]
/usr/local/bin/mysql-workbench-bin[0x806aad1]
======= Memory map: ========
...
b682f000-b6833000 r--s 00000000 fe:01 7164229    /var/cache/fontconfig/921a3Aborted (core dumped)

LOL
[21 Dec 2007 5:47] lee smoke
i fix it

vim mysql-workbench

find "export MWB_DIR="$DIRNAME" "
change to "export MWB_DIR="/""

OK,it's run