Hi,
yesterday I updated for an other reason beside pimatic to python3. Since this the CPU temp went to -1°.
The temp of the CPU is available via command line cat /sys/class/thermal/thermal_zone*/temp
.
Any idea to fix this?
CPU temp from SystemSensor shows -1°
Hi,
yesterday I updated for an other reason beside pimatic to python3. Since this the CPU temp went to -1°.
The temp of the CPU is available via command line cat /sys/class/thermal/thermal_zone*/temp
.
Any idea to fix this?
@ortin said in CPU temp from SystemSensor shows -1°:
Any idea to fix this?
Does the problem still exist?
Do you have lm-sensors installed? Try sudo sensors
. If this yields “command not found” the next thing checked by the plugin is /sys/class/thermal/thermal_zone*/temp
. Maybe the plugin library is using python at some point. I’ll check.
Note, beyond, a lot of software packages still rely on python v2 even though support will finally end this year. Python (like Node.js) has created a lot of legacy due to bad engineering practice. Generally, Python 2 is incompatible with Python 3. How bad is this …
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
Yes, the problem is still there. I haven’t installed lm-sensors. I found many things which seems to refer to python2. I will thing about going back to it.
I can handle all the python3 stuff by calling my scripts with /usr/bin/python3
.