battery-applet.py crashed with DBusException in call_blocking()

Bug #325925 reported by lkykywkal
354
This bug affects 64 people
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
High
onox
awn-extras (Ubuntu)
Fix Released
Medium
Julien Lavergne

Bug Description

battery-applet.py crashed with DBusException in call_blocking()

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/share/avant-window-navigator/applets/battery-applet/battery-applet.py
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: awn-applets-python-core 0.3~bzr912-1ubuntu2
PackageArchitecture: all
ProcCmdline: python /usr/share/avant-window-navigator/applets/battery-applet/battery-applet.py --uid=1233618127 --window=41943091 --orient=0 --height=48
ProcEnviron:
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/avant-window-navigator/applets/battery-applet/battery-applet.py', '--uid=1233618127', '--window=41943091', '--orient=0', '--height=48']
SourcePackage: awn-extras-applets
Title: battery-applet.py crashed with DBusException in call_blocking()
Uname: Linux 2.6.28-6-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/awn/extras/AWNLib.py", line 1173, in __run
    self.__callback()
  File "/usr/share/avant-window-navigator/applets/battery-applet/battery-applet.py", line 232, in check_status_cb
    if not self.backend.is_present():
  File "/usr/share/avant-window-navigator/applets/battery-applet/battery-applet.py", line 397, in is_present
    return bool(self.__hal_battery.GetProperty("battery.present"))
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.1 was not provided by any .service files

Revision history for this message
lkykywkal (lkykywkal) wrote :
Revision history for this message
Mihai Glont (mihai-glont) wrote :

I encountered this bug on karmic 64 bit. Strangely though, the applet still works.

Revision history for this message
Ian Ross (iankross) wrote :

I found the same as Mihai Glont above.

Revision history for this message
dpessanha (levita-dw) wrote :

Same here...

Revision history for this message
Daniel Zapata (danielzapata13) wrote :

I have the same problem. I'm using lucid 64 bits.

Revision history for this message
Julien Lavergne (gilir) wrote :

Thanks for your bug report. Forwarded upstream.

Changed in awn-extras-applets (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
onox (onox) wrote :

This may probably because the battery applet still uses HAL. I'll port it to upower when I find some time.

Changed in awn-extras:
assignee: nobody → onox (onox)
importance: Undecided → Medium
status: New → Confirmed
onox (onox)
tags: added: applet battery
Revision history for this message
metjay (q-launchpad-net-met-jay-ch) wrote :

Just as sidenote: it seams that this wasn't related related to the 64bit architecture, I encountered this bug on my 32bit system as well.

onox (onox)
description: updated
Revision history for this message
Andrea Amoroso (heiko81) wrote :

I had the same problem in Maverick..awn 0.4.0..

Revision history for this message
onox (onox) wrote :

Implemented UPower backend in revision 1387 in trunk. Please wait for new PPAs to appear. For those who have UPower this should fix this bug. If org.freedesktop.UPower cannot be found on DBus system bus, then it falls back to HAL backend.

I'm not going to add a Devicekit Power backend. Patches are welcome though.

Quick search on packages.ubuntu.com suggests devicekit-power is being used on jaunty and karmic. upower on lucid and maverick.

Currently preferences window seems broken so I'll fix that in another commit.

Changed in awn-extras:
importance: Medium → High
milestone: none → 0.4.2
status: Confirmed → Fix Committed
Julien Lavergne (gilir)
Changed in awn-extras-applets (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Julien Lavergne (gilir)
Julien Lavergne (gilir)
affects: awn-extras-applets (Ubuntu) → awn-extras (Ubuntu)
Changed in awn-extras (Ubuntu):
status: In Progress → Fix Released
Povilas Kanapickas (p12)
Changed in awn-extras:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.