Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

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

Open
mikekenyon99 opened this issue Mar 25, 2020 · 4 comments

Comments

@mikekenyon99
Copy link

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

@mikekenyon99 mikekenyon99 changed the title AttributeError: 'NoneType' object has no attribute 'group' when using run (Ubuntu) AttributeError: 'NoneType' object has no attribute 'group' when using run Mar 25, 2020
@Hobbydos
Copy link

having the same issue on Ubuntu 20.04 and python 3.8.2

@alexforencich
Copy link

alexforencich commented May 29, 2020

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

@jukie
Copy link

jukie commented Jun 11, 2020

Same here. 5700xt, Arch, and Python 3.8

@xqqy
Copy link

xqqy commented Jul 20, 2020

same here RX5600xt, Ubuntu20.04 python3.8.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants