Open TheArcaneBrony opened 1 year ago
Bro i have arch linux how can i get your file which can be used please help me
Thanks @TheArcaneBrony , i was able to get this working on my system (msi gf63, pop os). The new write_EC.py file was giving me errors so i replaced it with original write_EC.py file (from @YoCodingMonster ). And few tweaks to conf.txt was needed for the Advanced window to pop up. 😇
Could you tell me what errors you were having, and what Python version your system is running?
Could you tell me what errors you were having, and what Python version your system is running?
sudo python indicator.py
Traceback (most recent call last):
File "/home/user/Downloads/OpenFreezeCenter-main/write_EC.py", line 49, in <module>
vr = get_temp_list(5)
File "/home/user/Downloads/OpenFreezeCenter-main/write_EC.py", line 45, in get_temp_list
vr.append(int(i))
ValueError: invalid literal for int() with base 10: '3C'
still it was functioning aside from 'Advanced' window (nothing happens when i click on it).
so i changed conf.txt file from this to this
mainly just replaced non-integers in the 5th line of conf.txt file . After this 'Advanced' window started to function, but when i click Apply button on 'Advanced' window it freeze . And 'indicator.py' does not launch unless i press (ctrl + c) two times after changing conf.txt file.
errors after changing the conf.txt file
sudo python indicator.py
^C^CTraceback (most recent call last):
File "/home/user/Downloads/OpenFreezeCenter-main/write_EC.py", line 27, in write_EC
file.seek(114)
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/Downloads/OpenFreezeCenter-main/write_EC.py", line 66, in <module>
write_EC(vr, battery_threshold)
File "/home/user/Downloads/OpenFreezeCenter-main/write_EC.py", line 16, in write_EC
with open(EC_IO_FILE, 'r+b') as file:
KeyboardInterrupt
then i replaced it with old 'write_EC.py' . and everything started to function perfectly(when i ran it as superuser). when i run it without superuser permission it gives me permission denied errors but it works .
sorry of being late and my English
Tiny refactor:
Resolves, aka carefully vetted list of affected issues:
python indicator.py
)Signed-off-by: TheArcaneBrony myrainbowdash949@gmail.com