Git Product home page Git Product logo

Comments (9)

mavrik132 avatar mavrik132 commented on August 26, 2024 2

I'm still experiencing this random temperature error.

I'm running:
Ubuntu 23.04 but it was still happening on the previous version as well
Gnome 44.0
Resource_Monitor 19

After rebooting, if it doesn't fix itself, opening the settings and scrolling through the tabs seems to fix it.

from resource_monitor.

0ry0n avatar 0ry0n commented on August 26, 2024

Thanks for reporting, I am aware of the problem. I will try to fix it in the next version.

from resource_monitor.

LenaKiseleva avatar LenaKiseleva commented on August 26, 2024

Hi, any idea how to fix this? Opening the settings does not fix it

изображение

from resource_monitor.

 avatar commented on August 26, 2024

Hi, any idea how to fix this? Opening the settings does not fix it

изображение

That's different error from what I've got. Mine's just an initialization issue of cputemp. Yours look like the temperature sensor itself didn't have a reading.

from resource_monitor.

 avatar commented on August 26, 2024

anyway to debug this @0ry0n ?

from resource_monitor.

0ry0n avatar 0ry0n commented on August 26, 2024

I am aware of the problem and am finding a solution. it is due to the asynchronous temperature reading mechanism.

from resource_monitor.

 avatar commented on August 26, 2024

Any updates on the fix mate ? This bug is repetitive & starting to annoy me xD.

from resource_monitor.

0ry0n avatar 0ry0n commented on August 26, 2024

Ok, I think I have solved the problem.
I have yet to test it well but waiting for the new version you can make these changes to your code

} else {
this._cpuTemperatureValue.text = _('[Temperature Error');
this._cpuTemperatureUnit.text = '';
}
move this "else" here
like this

if (GLib.file_test(path, GLib.FileTest.EXISTS)) {
this._loadFile(path).then(contents => {
const value = parseInt(ByteArray.toString(contents));

this._cpuTemperatures += value / 1000;
this._cpuTemperaturesReads++;
});
} else {
this._cpuTemperatureValue.text = _('[Temperature Error');
this._cpuTemperatureUnit.text = '';
}

from resource_monitor.

eual8 avatar eual8 commented on August 26, 2024

Facing the same error on Ubuntu 22.04.2 LTS X11. Opening Resource Monitor extension settings helps, the error disappears and the temperature value is displayed.

from resource_monitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.