CommentStreams:69156319ea1f1e4a462235494dbe22f8
I am using an x1201 UPS Shield on a Raspberry Pi 5 Why am I getting an error after running this command?
sudo python3 x120x/qtx120x.py
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' Traceback (most recent call last):
File "/home/rpi5/x120x/qtx120x.py", line 190, in <module>
window = UPSStatusWindow()
^^^^^^^^^^^^^^^^^
File "/home/rpi5/x120x/qtx120x.py", line 119, in __init__
self.update_status()
File "/home/rpi5/x120x/qtx120x.py", line 163, in update_status
elif pld_state == 1 and self.shutdown:
^^^^^^^^^^^^^
AttributeError: 'UPSStatusWindow' object has no attribute 'shutdown'
Ross
2023thetalabs@gmail.com