BoukeHaarsma23 / WattmanGTK

A Wattman-like GTK3+ GUI
GNU General Public License v2.0
372 stars 61 forks source link

(Ubuntu) AttributeError: 'NoneType' object has no attribute 'group' when using run #88

Open mikekenyon99 opened 4 years ago

mikekenyon99 commented 4 years ago

When I use the command:

python3 run.py

it finds sensors and then gives me the following error:

Found sensor temp2_input
Trying to read /sys/class/hwmon/hwmon1/temp2_input
Reading clock states and limits.
Traceback (most recent call last):
  File "run.py", line 23, in <module>
    wattman.main()
  File "/home/mikekenyon/Documents/Linux/WattmanGTK-master/WattmanGTK/wattman.py", line 158, in main
    card.get_states()
  File "/home/mikekenyon/Documents/Linux/WattmanGTK-master/WattmanGTK/GPU.py", line 70, in get_states
    self.pstate_clock.append(int(match.group(2)))
AttributeError: 'NoneType' object has no attribute 'group'

Screenshot from 2020-03-25 11-39-30

Thanks

Mike

Hobbydos commented 4 years ago

having the same issue on Ubuntu 20.04 and python 3.8.2

alexforencich commented 4 years ago

Seeing the same. RX 5700 XT, Arch Linux, Python 3.8.3.

jukie commented 4 years ago

Same here. 5700xt, Arch, and Python 3.8

xqqy commented 4 years ago

same here RX5600xt, Ubuntu20.04 python3.8.2