Bug#629993: gnome-power-manager: script used by reportbug raises error when hal is not installed

Julien Valroff julien at debian.org
Fri Jun 10 05:00:13 UTC 2011


Source: gnome-power-manager
Version: 2.32.0-2
Severity: minor

Hi,

Here is what I get when using `reportbug gnome-power-manager':

Gathering additional data, this may take a while...
/usr/share/gnome-power-manager/gnome-power-bugreport: 53: lshal: not found
/usr/share/gnome-power-manager/gnome-power-bugreport: 63: hal-find-by-capability: not found
/usr/share/gnome-power-manager/gnome-power-bugreport: 66: hal-find-by-capability: not found
/usr/share/gnome-power-manager/gnome-power-bugreport: 69: hal-find-by-capability: not found
/usr/share/gnome-power-manager/gnome-power-bugreport: 72: hal-find-by-capability: not found
/usr/share/gnome-power-manager/gnome-power-bugreport: 75: lshal: not found
The package bug script /usr/share/bug/gnome-power-manager/script exited with an error status (return code = 256). Do you still want to file a report? [y|N|q|?]?

While it doesn't prevent the bug to be reported correctly, it might mislead
users who don't have hal installed.

Making g-p-m depend on hal is not a solution, I guess the script should
simply be modified to not raise error when hal isn't installed.

Cheers,
Julien


-- Package-specific info:
Distro version:       wheezy/sid
Kernel version:       2.6.39-2-amd64
g-p-m version:        2.32.0
HAL version:          System manufacturer:  missing
System version:       missing
System product:       missing
AC adapter present:   no
Battery present:      no
Laptop panel present: no
CPU scaling present:  no
Battery Information:
UPower data:
Device: /org/freedesktop/UPower/devices/line_power_ACAD
  native-path:          /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/ACAD
  power supply:         yes
  updated:              Fri Jun 10 06:46:16 2011 (538 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             no

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT1
  vendor:               SANYO
  model:                UM09E36
  serial:               6341
  power supply:         yes
  updated:              Fri Jun 10 06:54:50 2011 (24 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              57.2871 Wh
    energy-empty:        0 Wh
    energy-full:         58.7634 Wh
    energy-full-design:  62.16 Wh
    energy-rate:         8.2806 W
    voltage:             12.239 V
    time to empty:       6.9 hours
    percentage:          97.4877%
    capacity:            94.5357%
    technology:          lithium-ion
  History (charge):
    1307681690	97.488	discharging
    1307681660	97.620	discharging
    1307681630	97.752	discharging
  History (rate):
    1307681690	8.281	discharging
    1307681660	8.636	discharging
    1307681630	9.357	discharging

Daemon:
  daemon-version:  0.9.11
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      yes
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       no
GNOME Power Manager Process Information:
julien    2292  0.0  0.3 294720 13180 ?        Sl   Jun09   0:00              \_ gnome-power-manager
julien   15002  3.4  0.6 204904 25472 pts/2    S+   06:54   0:01              |       \_ /usr/bin/python /usr/bin/reportbug -O --src gnome-power-manager
HAL Process Information:

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-power-manager depends on:
ii  consolekit                   0.4.5-1     framework for defining and trackin
ii  dbus-x11                     1.4.10-2    simple interprocess messaging syst
ii  gconf2                       2.32.3-2    GNOME configuration database syste
ii  libbonobo2-0                 2.24.3-1    Bonobo CORBA interfaces library
ii  libc6                        2.13-6      Embedded GNU C Library: Shared lib
ii  libcairo2                    1.10.2-6    The Cairo 2D vector graphics libra
ii  libcanberra-gtk0             0.28-1      Gtk+ helper for playing widget eve
ii  libcanberra0                 0.28-1      a simple abstract interface for pl
ii  libdbus-1-3                  1.4.10-2    simple interprocess messaging syst
ii  libdbus-glib-1-2             0.94-2      simple interprocess messaging syst
ii  libgconf2-4                  2.32.3-2    GNOME configuration database syste
ii  libglib2.0-0                 2.28.6-1    The GLib library of C routines
ii  libgnome-keyring0            3.0.3-1     GNOME keyring services library
ii  libgtk2.0-0                  2.24.4-3    The GTK+ graphical user interface 
ii  libnotify1 [libnotify1-gtk2. 0.5.0-2     sends desktop notifications to a n
ii  libpanel-applet2-0           2.30.2-4    library for GNOME Panel applets
ii  libpango1.0-0                1.28.3-6    Layout and rendering of internatio
ii  libunique-1.0-0              1.1.6-2     Library for writing single instanc
ii  libupower-glib1              0.9.11-1+b1 abstraction for power management -
ii  libx11-6                     2:1.4.3-1   X11 client-side library
ii  libxext6                     2:1.3.0-1   X11 miscellaneous extension librar
ii  libxrandr2                   2:1.3.1-1   X11 RandR extension library
ii  notification-daemon          0.5.0-3     daemon to displays passive pop-up 
ii  upower                       0.9.11-1+b1 abstraction for power management

Versions of packages gnome-power-manager recommends:
ii  udisks                        1.0.2-4    storage media interface

Versions of packages gnome-power-manager suggests:
ii  policykit-1                   0.101-4    framework for managing administrat

-- no debconf information

-- 
  .''`.   Julien Valroff ~ <julien at kirya.net> ~ <julien at debian.org>    
 : :'  :  Debian Developer & Free software contributor
 `. `'`   http://www.kirya.net/
   `-     4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1





More information about the pkg-gnome-maintainers mailing list