Bug 801146

Summary: nut-client-2.4.3-5.el6.x86_64 gui.glade is not found
Product: [Fedora] Fedora EPEL Reporter: Yi Ding <yi.s.ding>
Component: nutAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: nut-2.6.3-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-26 06:42:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
my /usr/share/nut/nut-monitor/nut-monitor none

Description Yi Ding 2012-03-07 19:03:39 UTC
Description of problem:

When I start nut-manager it can't find gui.glade and exits.

In /usr/share/nut/nut-monitor/nut-monitor the gui.glade location is set to
/usr/share/nut-monitor/gui.glade instead of /usr/share/nut/nut-monitor/gui.glade.

After changing it, nut-manager loads.

Comment 1 Michal Hlavinka 2012-03-08 13:20:43 UTC
Version-Release number of selected component (if applicable):
????

It works for me. I've also checked nut-monitor and path was set correctly.

Comment 2 Yi Ding 2012-03-08 13:39:03 UTC
Created attachment 568634 [details]
my /usr/share/nut/nut-monitor/nut-monitor

Comment 3 Yi Ding 2012-03-08 13:40:05 UTC
Just installed brand new nut-client.x86_64 0:2.4.3-5.el6 rpm.

Here's the error I get:

$ nut-monitor

(nut-monitor:9113): libglade-WARNING **: could not find glade file '/usr/share/nut-monitor/gui.glade'
Traceback (most recent call last):
  File "/usr/bin/nut-monitor", line 422, in <module>
    app = gui()
  File "/usr/bin/nut-monitor", line 54, in __init__
    self.__widgets["interface"]                = gtk.glade.XML( glade_file )
RuntimeError: could not create GladeXML object

Comment 4 Michal Hlavinka 2012-03-09 10:08:28 UTC
2.4.3 is the old version, there is upcoming nut update - it's in updates-testing repository. I pushed it to updates repository today, so it should be available as an update soon. Once it's available, please test it and let me know if it solves problem for you. Thanks