computertemp crashed with OSError in listdir()

Bug #272326 reported by Márcio Santos
348
This bug affects 51 people
Affects Status Importance Assigned to Milestone
computertemp (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: computertemp

Just installed and was configuring when it crashed...

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/lib/gnome-applets/computertemp
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: computertemp 0.9.6.1-1
PackageArchitecture: all
ProcAttrCurrent: unconfined
ProcCmdline: python /usr/lib/gnome-applets/computertemp --oaf-activate-iid=OAFIID:GNOME_ComputertempApplet_Factory --oaf-ior-fd=28
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 SHELL=/bin/bash
PythonArgs: ['/usr/lib/gnome-applets/computertemp', '--oaf-activate-iid=OAFIID:GNOME_ComputertempApplet_Factory', '--oaf-ior-fd=28']
SourcePackage: computertemp
Title: computertemp crashed with OSError in listdir()
Uname: Linux 2.6.27-3-generic i686
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare vboxusers

Tags: apport-crash
Revision history for this message
Márcio Santos (marcio.santos) wrote :
visibility: private → public
Changed in computertemp (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Tom McK (tommck) wrote :

just got the same thing when upgrading to the latest Karmic Koala alpha

Revision history for this message
Anatoliy Kounitskiy (bgtroll) wrote :

Upgraded to Karmic and tried the sensor option "Kernel i2c .. (hwmon)". After choosing this option it chrashed. Now I'm using APCI as before for getting the cpu temp

Revision history for this message
Draknof (painyhouse) wrote :

same with Karmic

Revision history for this message
MMe (marko-smit) wrote :

I've tryed to install it but it crashes and I cannot install LM-sensors right so I can't read my temperatures....

Revision history for this message
Dagfinn Ilmari Mannsåker (ilmari) wrote :

This problem is occurring on Lucid with IBM ACPI sensors as well. it is caused by computertemp assuming that the sensor info always is under the device/ symlink in the sysfs hwmon directory, but Documentation/hwmon/sysfs-interface says:

> Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes
> in the "physical" device directory. Since lm-sensors 3.0.1, attributes found
> in the hwmon "class" device directory are also supported. Complex drivers
> (e.g. drivers for multifunction chips) may want to use this possibility to
> avoid namespace pollution. The only drawback will be that older versions of
> libsensors won't support the driver in question.

So computertemp should look directly in /sys/class/hwmon/hwmonX/ if device/ doesn't exist.

Revision history for this message
Adolfo González Blázquez (infinito) wrote :

Could you please test if latest code from SVN fixes this bug? Thanks!

PS: Repository is in http://svn.infinicode.org/computertemp/trunk/computertemp

Revision history for this message
Kaizer (getkaizer) wrote : Re: [Bug 272326] Re: computertemp crashed with OSError in listdir()

Hi Adolfo,

I'm not quite sure what you want me to do with the link. I clicked on it and
it took me to a website with some information like a directory. Can you
please tell me what i should do with this link?

Sorry but i'm a newbie to this...

Regards,
Kaizer.

----------------------------------------

Kaizer Billimoria
"'It is no measure of health to be well adjusted to a profoundly sick
society." - J.Krishnamurti.

"In obedience there is always fear, and fear darkens the mind." -
J.Krishnamurti

See My Google profile: http://www.google.com/profiles/getkaizer

Google Wave: - <email address hidden>

----------------------------------------

2010/6/5 Adolfo González Blázquez <email address hidden>

> Could you please test if latest code from SVN fixes this bug? Thanks!
>
> PS: Repository is in
> http://svn.infinicode.org/computertemp/trunk/computertemp
>
> --
> computertemp crashed with OSError in listdir()
> https://bugs.launchpad.net/bugs/272326
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “computertemp” package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: computertemp
>
> Just installed and was configuring when it crashed...
>
> ProblemType: Crash
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ExecutablePath: /usr/lib/gnome-applets/computertemp
> InterpreterPath: /usr/bin/python2.5
> NonfreeKernelModules: nvidia
> Package: computertemp 0.9.6.1-1
> PackageArchitecture: all
> ProcAttrCurrent: unconfined
> ProcCmdline: python /usr/lib/gnome-applets/computertemp
> --oaf-activate-iid=OAFIID:GNOME_ComputertempApplet_Factory --oaf-ior-fd=28
> ProcEnviron:
> LANG=en_US.UTF-8
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> SHELL=/bin/bash
> PythonArgs: ['/usr/lib/gnome-applets/computertemp',
> '--oaf-activate-iid=OAFIID:GNOME_ComputertempApplet_Factory',
> '--oaf-ior-fd=28']
> SourcePackage: computertemp
> Title: computertemp crashed with OSError in listdir()
> Uname: Linux 2.6.27-3-generic i686
> UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare
> vboxusers
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/computertemp/+bug/272326/+subscribe
>

Revision history for this message
Adolfo González Blázquez (infinito) wrote :

Ok, follow this:

$ sudo apt-get remove computertemp
$ sudo apt-get build-dep computertemp
$ sudo apt-get install gnome-common subversion
$ svn co http://svn.infinicode.org/computertemp/trunk/computertemp
$ cd computertemp
$ sh autogen.sh --prefix /usr
$ make
$ sudo make install

Then logout/login, add computertemp to your panel, and see if it works.

Revision history for this message
Lucian Adrian Grijincu (lucian.grijincu) wrote :

Still present in Maverick (version 0.9.6.1-1.1)

Revision history for this message
BlueT - Matthew Lien - 練喆明 (bluet) wrote :

This bug's still exist in 10.04...
It crashes everyday :(

Revision history for this message
BlueT - Matthew Lien - 練喆明 (bluet) wrote :

This bug's still exist in 10.04...
It crashes everyday...

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.