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
Hi fellas, Whether it works in Raspberry Pi? I've got the following error!!
pi@raspberrypi:~/Desktop $ python3 battery.py
Traceback (most recent call last):
File "battery.py", line 5, in
print(str(wear_level()) + "% wear")
File "/home/pi/.local/lib/python3.7/site-packages/statux/battery.py", line 54, in wrapper
raise ValueNotFoundError(get_name(), _PTH, err_no=error, msg=msg)
statux._errors.ValueNotFoundError: [Errno 42] No message of desired type: join() argument must be str or bytes, not 'NoneType': '/sys/class/power_supply/'
hello,after installed the statux by pip,how could i use it? could you please give me some advices?
The text was updated successfully, but these errors were encountered: