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)
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):
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