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
So I cloned the fan.py from you and added the line in the config file which in my case on linuxmint 20 is /etc/thinkfan.conf but whenever i try to change the speed via fan.py i get the following result (example with trying to set to level 2): tee: /proc/acpi/ibm/fan: Das Argument ist ungültig Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.8/tkinter/__init__.py", line 1883, in __call__ return self.func(*args) File "fan.py", line 47, in <lambda> tk.Button(row1, text=str(i), command=lambda x=i: set_speed(x)).grid( File "fan.py", line 29, in set_speed return subprocess.check_output( File "/usr/lib/python3.8/subprocess.py", line 411, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.8/subprocess.py", line 512, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'echo level 2 | sudo tee "/proc/acpi/ibm/fan"' returned non-zero exit status 1.
I have no idea how to solve that and it drives me crazy because the gui is a wonderful idea and i would like to use it but, it seems like it doesn't
The text was updated successfully, but these errors were encountered:
So I cloned the fan.py from you and added the line in the config file which in my case on linuxmint 20 is /etc/thinkfan.conf but whenever i try to change the speed via fan.py i get the following result (example with trying to set to level 2):
tee: /proc/acpi/ibm/fan: Das Argument ist ungültig Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.8/tkinter/__init__.py", line 1883, in __call__ return self.func(*args) File "fan.py", line 47, in <lambda> tk.Button(row1, text=str(i), command=lambda x=i: set_speed(x)).grid( File "fan.py", line 29, in set_speed return subprocess.check_output( File "/usr/lib/python3.8/subprocess.py", line 411, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.8/subprocess.py", line 512, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'echo level 2 | sudo tee "/proc/acpi/ibm/fan"' returned non-zero exit status 1.
I have no idea how to solve that and it drives me crazy because the gui is a wonderful idea and i would like to use it but, it seems like it doesn't
The text was updated successfully, but these errors were encountered: