Bug 813901 - nut-monitor fails to run
Summary: nut-monitor fails to run
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nut
Version: el6
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-18 17:54 UTC by Gianni Giardina
Modified: 2012-05-18 21:39 UTC (History)
1 user (show)

Fixed In Version: nut-2.6.3-3.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-18 21:39:23 UTC
Type: Bug


Attachments (Terms of Use)

Description Gianni Giardina 2012-04-18 17:54:45 UTC
* Description of problem:

nut-monitor fails to run because of some missing files in the nut-client package. They are those which should be present in the /usr/share/nut/nut-monitor/pixmaps directory, currently empty.


* Version-Release number of selected component (if applicable):

nut-client-2.6.3-1.el6


* Steps to Reproduce:

Open a shell and type: 'nut-monitor'. The program aborts with the following error message:

Traceback (most recent call last):
  File "/usr/bin/nut-monitor", line 901, in <module>
    gui = interface()
  File "/usr/bin/nut-monitor", line 216, in __init__
    self.connect_to_ups()
  File "/usr/bin/nut-monitor", line 699, in connect_to_ups
    self.__gui_update_ups_vars_view()
  File "/usr/bin/nut-monitor", line 726, in __gui_update_ups_vars_view
    icon = gtk.gdk.pixbuf_new_from_file( icon_file )
glib.GError: Failed to open file '/usr/share/nut/nut-monitor/pixmaps/var-rw.png': No such file or directory


* Workaround

Download the SRPM (nut-2.6.3-1.el6.src.rpm), extract from the tarball contained in the package the missing files and copy them into the required location.

* Additional info:

Looking at the SPEC file, I see the line which should install the nut-monitor's pixmaps commented. Moreover, the pixmaps are not present in the package's file list.

Comment 1 Fedora Update System 2012-04-20 07:59:47 UTC
nut-2.6.3-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/nut-2.6.3-2.el6

Comment 2 Fedora Update System 2012-04-21 20:58:23 UTC
Package nut-2.6.3-2.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing nut-2.6.3-2.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-5622/nut-2.6.3-2.el6
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-05-18 21:39:23 UTC
nut-2.6.3-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.