From nobody@FreeBSD.org  Wed Apr 26 18:09:44 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F10EF16A403
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Apr 2006 18:09:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8A1F843D46
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Apr 2006 18:09:43 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k3QI9h0V028893
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Apr 2006 18:09:43 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k3QI9hje028892;
	Wed, 26 Apr 2006 18:09:43 GMT
	(envelope-from nobody)
Message-Id: <200604261809.k3QI9hje028892@www.freebsd.org>
Date: Wed, 26 Apr 2006 18:09:43 GMT
From: Matthew Holder <sixxgate@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: MySQL Administrator fails to start under KDE due to missing shabang.
X-Send-Pr-Version: www-2.3

>Number:         96372
>Category:       ports
>Synopsis:       MySQL Administrator fails to start under KDE due to missing shabang.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sem
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 26 18:10:12 GMT 2006
>Closed-Date:    Fri Apr 28 20:44:58 GMT 2006
>Last-Modified:  Fri Apr 28 20:44:58 GMT 2006
>Originator:     Matthew Holder
>Release:        6.0-RELEASE
>Organization:
>Environment:
FreeBSD server.holder 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Apr 24 14:38:07 CDT 2006     root@server.holder:/usr/src/sys/i386/compile/SERVER  i386

>Description:
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.
>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".

>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.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sem 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Apr 26 21:42:58 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96372 
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Fri Apr 28 20:44:56 UTC 2006 
State-Changed-Why:  
Fixed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96372 
>Unformatted:
