Bug 49661 - bins-edit-gui opens the wrong glade file returns: failed to return mandatory object of type Gtk::GladeXML at /usr/bin/bins-edit-gui line 134
Bug#: 49661 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: perl@gentoo.org Reported By: z122v@hotmail.com
Component: Ebuilds
URL: 
Summary: bins-edit-gui opens the wrong glade file returns: failed to return mandatory object of type Gtk::GladeXML at /usr/bin/bins-edit-gui line 134
Keywords:  
Status Whiteboard: 
Opened: 2004-05-01 17:04 0000
Description:   Opened: 2004-05-01 17:04 0000
Line 128 of /usr/bin/bins-edit-gui from the package app-misc/bins-1.1.23-r1
assigns the value of
/var/tmp/portage/bins-1.1.23-r1/image/usr/share/bins/bins-edit-gui.glade to
$glade instead of /usr/share/bins/bins-edit-gui.glade 

The error when trying to run this program is:

DEVELOPER HACK

** WARNING **: document not well formed!

** WARNING **: Could not parse file
failed to return mandatory object of type Gtk::GladeXML at
/usr/bin/bins-edit-gui line 134.

To fix this, I changed the value being assigned to $glade and now everything
works fine. A post processing sed script would fix this but would break if the
image directory were different. I'm sure a more elegant solution exists. 


Reproducible: Always
Steps to Reproduce:
1.emerge bins
2.bins-edit-gui some.jpg
3.

Actual Results:  
DEVELOPER HACK 

** WARNING **: document not well formed! 

** WARNING **: Could not parse file 
failed to return mandatory object of type Gtk::GladeXML 
at /usr/bin/bins-edit-gui line 134. 

Expected Results:  
The program should have brought up a gui interface to edit xml tags.

------- Comment #1 From Michael Cummings (RETIRED) 2004-06-12 15:07:12 0000 -------
OK, this is fixed in r2. Sorry for the delay,

Mike