Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
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
Summary: bins-edit-gui opens the wrong glade file returns: failed to return mandatory ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-01 17:04 UTC by Jason Mercer
Modified: 2004-06-12 15:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mercer 2004-05-01 17:04:41 UTC
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 Michael Cummings (RETIRED) gentoo-dev 2004-06-12 15:07:12 UTC
OK, this is fixed in r2. Sorry for the delay,

Mike