Camble / Safe-Power-Monitor

Camble - SudoMod
http://sudomod.com/forum/memberlist.php?mode=viewprofile&u=76
21 stars 7 forks source link

Retropie 4.4 #11

Closed ukbonkerz closed 6 years ago

ukbonkerz commented 6 years ago

Script no longer works in Retropie 4.4 and Raspberry Pi 3b+. When initially starting the script the pi instantly shuts down. After rebooting the script is not working and errors when trying to start.

pi@retropie:~ $ python ~/Safe-Power-Monitor/safe_power_monitor.py Traceback (most recent call last): File "/home/pi/Safe-Power-Monitor/safe_power_monitor.py", line 264, in main() File "/home/pi/Safe-Power-Monitor/safe_power_monitor.py", line 237, in main RPi.GPIO.setmode(RPi.GPIO.BCM) AttributeError: 'module' object has no attribute 'GPIO'

the script works ok with retropie retropie-4.3.15-rpi2_rpi3 with the 3b+

Thanks

edit: Tried going back to retropie-4.3.15-rpi2_rpi3 and i get the same error, i think the problem is with the latest commit.

Camble commented 6 years ago

Please pull the latest version of the script. This issue has been resolved.