Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Temperature no longer displayed after CPU swap #208

Open
wnz99 opened this issue Apr 24, 2021 · 0 comments
Open

[BUG] Temperature no longer displayed after CPU swap #208

wnz99 opened this issue Apr 24, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wnz99
Copy link

wnz99 commented Apr 24, 2021

Describe the bug

I've recently replace my CPU and bashtop is no longer displaying the temperature

Expected behavior

Temperature should be displayed.

Info (please complete the following information):

  • Bashtop version: 0.9.25
  • (Linux) Linux distribution and version: Ubuntu 20.04.2 LTS
  • (Linux) Data collection type (/proc or psutil): psutil and /proc
  • Psutil version: python3 -c "import psutil; print(psutil.version_info)" (version 5.7.0 or above is required): (5, 8, 0)

Additional context

contents of $HOME/.config/bashtop/error.log

I looks like bashtop is trying to read the wrong path, which was the one for the old CPU.

Correct one is : /sys/class/hwmon/hwmon2/temp1_input

New instance of bashtop version: 0.9.25 Pid: 6234
/home/whitenoise/anaconda3/lib/python3.7/site-packages/psutil/_pslinux.py:1222: RuntimeWarning: ignoring FileNotFoundError(2, 'No such file or directory') for file '/sys/class/hwmon/hwmon3/temp1_input'
  RuntimeWarning)
/home/whitenoise/anaconda3/lib/python3.7/site-packages/psutil/_pslinux.py:1222: RuntimeWarning: ignoring FileNotFoundError(2, 'No such file or directory') for file '/sys/class/hwmon/hwmon3/temp2_input'
  RuntimeWarning)

@wnz99 wnz99 added the bug Something isn't working label Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants