You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the sensors command is not available, the Python get_sensors() function is called instead. That function returns temperature values with "°C" appended:
The bug is probably in the Intel CPU package temperature code (and may also exist in the AMD code too), and my guess would be that the trailing unit isn't cut off, but my bash-fu isn't good enough to figure out exactly where the issue arises.
Info:
Bashtop version: 0.9.25
OS: TrueNAS CORE (FreeBSD 13.1)
Psutil version: 5.9.4
Bash version: 5.2.15
Terminal: PuTTY, invoking bashtop from tcsh 6.22.04
The text was updated successfully, but these errors were encountered:
If the
sensors
command is not available, the Pythonget_sensors()
function is called instead. That function returns temperature values with "°C" appended:bashtop/bashtop
Lines 4899 to 4903 in 60f95a1
However, it seems that the unit is not properly removed from temperature values, causing an error on startup:
This hangs bashtop in a 100% CPU loop, and a second session has to be opened to kill the process.
The error site is:
bashtop/bashtop
Line 2151 in 60f95a1
The bug is probably in the Intel CPU package temperature code (and may also exist in the AMD code too), and my guess would be that the trailing unit isn't cut off, but my bash-fu isn't good enough to figure out exactly where the issue arises.
Info:
The text was updated successfully, but these errors were encountered: