SensorsScreenlet.py crashed with TypeError in update()

Bug #198675 reported by unggnu
52
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Screenlets
Fix Released
Undecided
Unassigned
screenlets (Ubuntu)
Fix Released
Medium
Kjell Braden

Bug Description

Binary package hint: screenlets

I always get this error after adding sensors or system monitor screenlets but they still seam to work.

ProblemType: Crash
Architecture: amd64
Date: Wed Mar 5 10:07:53 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/share/screenlets/Sensors/SensorsScreenlet.py
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: screenlets 0.0.12-0ubuntu1
PackageArchitecture: all
ProcCmdline: python -u /usr/share/screenlets/Sensors/SensorsScreenlet.py
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/screenlets/Sensors/SensorsScreenlet.py']
SourcePackage: screenlets
Title: SensorsScreenlet.py crashed with TypeError in update()
Traceback:
 Traceback (most recent call last):
   File "/usr/share/screenlets/Sensors/SensorsScreenlet.py", line 198, in update
     self.load = int(sensors.disk_get_usage(self.sensor)[4].replace('%',''))
 TypeError: 'NoneType' object is unsubscriptable
Uname: Linux 2.6.24-11-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev video

Tags: apport-crash
Revision history for this message
unggnu (unggnu) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software.

Changed in screenlets:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Helder Fraga (whise) wrote :

could you provide a traceback please?

Revision history for this message
Helder Fraga (whise) wrote :

nevermind , i didnt look its up there

Revision history for this message
Helder Fraga (whise) wrote :

fixed in rev 259

Changed in screenlets:
status: New → Fix Committed
Kjell Braden (afflux)
Changed in screenlets:
assignee: nobody → afflux
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package screenlets - 0.0.12-0ubuntu4

---------------
screenlets (0.0.12-0ubuntu4) hardy; urgency=low

  * This is a bugfix upload. (LP: #213385)
  * debian/patches/10-problem-on-create-tmpfile.patch: dropped, didn't fix the
    issue
  * new patches from upstream:
    - debian/patches/15_better-daemon-running-check.patch: fix daemon starting
      multiple times (LP: #205526)
    - debian/patches/16_fix-option-theme-dialog-crashing.patch: fix a crash
      occuring in some theme dialogues (LP: #195036)
    - debian/patches/17_fix-crash-on-invalid-archive.patch: fix a crash
      occuring when trying to open broken screenlet packages (LP: #205526)
  * new patches from ubuntu:
    - debian/patches/14_no-unnecessary-updates-when-unmapped.patch: don't
      update the screenlets when they are not mapped, thanks criser
      (LP: #211525)
    - debian/patches/18_fix-crashing-on-invalid-sensor-type.patch: fix a crash
      occuring in the sensor applet when a bad device was selected for
      monitoring (LP: #198675)
    - debian/patches/19_fix-creating-tempfile.patch: improve the error
      handling when initializing the tempfile (LP: #197712, #212175)

 -- Kjell Braden <email address hidden> Mon, 07 Apr 2008 17:05:29 +0200

Changed in screenlets:
status: In Progress → Fix Released
Helder Fraga (whise)
Changed in screenlets:
status: Fix Committed → Fix Released
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.