Exception starting guidance-power-manager

Bug #410355 reported by Stefan Fleiter
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Guidance
Fix Released
High
guidance-power-manager (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: guidance-power-manager

I got signaled this apport report when my session started.
Let me know what further information I can provide.

Starting it from a shell produces this:

guidance-power-manager &
[1] 1813
# Traceback (most recent call last):
  File "/usr/bin/guidance-power-manager", line 1178, in <module>
    main()
  File "/usr/bin/guidance-power-manager", line 1153, in main
    mainWindow = PowermanagerApp(None)
  File "/usr/bin/guidance-power-manager", line 1077, in __init__
    self.pmwidget.prepare()
  File "/usr/bin/guidance-power-manager", line 89, in prepare
    self.configToUi()
  File "/usr/bin/guidance-power-manager", line 410, in configToUi
    self._setCB(self.BatteryCriticalCombo, self.cb_act, self.cb_act_def_critical, self._checkOldConfig(self.config.readEntry("batteryCriticalAction", ""), False))
  File "/usr/bin/guidance-power-manager", line 163, in _checkOldConfig
    num_val = int(value)
TypeError: int() argument must be a string or a number, not 'QVariant'

[1]+ Exit 255 guidance-power-manager

# apt-cache policy guidance-power-manager
guidance-power-manager:
  Installiert: 4:4.2.0-0ubuntu2
  Kandidat: 4:4.2.0-0ubuntu2
  Versions-Tabelle:
 *** 4:4.2.0-0ubuntu2 0
        700 http://de.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

I have installed the KDE 4.3 backport in case this mattters;

# apt-cache policy kde
kde:
  Installiert: 5:48ubuntu2~jaunty1~ppa1
  Kandidat: 5:48ubuntu2~jaunty1~ppa1
  Versions-Tabelle:
 *** 5:48ubuntu2~jaunty1~ppa1 0
        700 http://ppa.launchpad.net jaunty/main Packages
        700 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
Architecture: amd64
Dependencies:
 libgcc1 1:4.3.3-5ubuntu4
 zlib1g 1:1.2.3.3.dfsg-12ubuntu2
 gcc-4.3-base 4.3.3-5ubuntu4
 findutils 4.4.0-2ubuntu4
 libc6 2.9-4ubuntu6
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/python2.6
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: python2.6-minimal 2.6.2-0ubuntu1
ProcCmdline: /usr/bin/python /usr/bin/guidance-power-manager -session 1010c15ac899000124907707000000057020013_1249602823_293181
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
PythonArgs: []
SourcePackage: python2.6
Title: python2.6 crashed with TypeError in _checkOldConfig()
Uname: Linux 2.6.28-14-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev video

Revision history for this message
Stefan Fleiter (stefan-fleiter) wrote :
tags: removed: need-duplicate-check
visibility: private → public
description: updated
summary: - Crash report at start
+ Exception starting guidance-power-manager
Changed in guidance-power-manager (Ubuntu):
status: New → Confirmed
Changed in guidance:
status: Unknown → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :
Changed in guidance-power-manager (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Fix Committed
Changed in guidance:
status: Confirmed → Fix Released
Revision history for this message
Stefan Fleiter (stefan-fleiter) wrote :

This works in karmic.

Changed in guidance-power-manager (Ubuntu):
status: Fix Committed → Fix Released
Changed in guidance:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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