Bug 96372 - MySQL Administrator fails to start under KDE due to missing shabang.
Summary: MySQL Administrator fails to start under KDE due to missing shabang.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 19:10 UTC by Matthew Holder
Modified: 2006-04-28 21:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Holder 2006-04-26 19:10:12 UTC
When attemping to run MySQL Administrator (database/mysql-administrator) from KDE's Run Command Dialog, it core dumps with the following output:

(mysql-administrator-bin:985): libglade-WARNING **: could not find glade file '/usr/home/share/mysql-gui/common/preferences.glade'
terminate called after throwing an instance of 'MGGladeXML::Error'
Abort trap (core dumped)

It does not do this when ran a regular terminal window.

Fix: 

When logged in as root or using su, edit the /usr/X11R6/bin/mysql-administrator file.  Add "#!/bin/sh" line to the top of the file.
How-To-Repeat: In KDE, click on the "K Menu" button.  Select "Run Command..."  and when the dialog appears, enter "mysql-administrator".  To view the output, click "Options >>" and check "Run in terminal window".
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-04-26 22:42:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Over to maintainer
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2006-04-28 21:44:56 UTC
State Changed
From-To: open->closed

Fixed. Thanks!