Skip to content

ISSUE #6 i5-11400H - MSI GF63 Thin 11UC - Arch Linux #7

@onlymikey

Description

@onlymikey

Device: MSI GF63 Thin 11uc
OS: Arch Linux
Desktop: Hyprland

I'm getting this weird log on nohup.out when executing the python script:

        1 :- Close this(Before closing read all the steps)
        2 :- boot into windows
        3 :- set the fan profile to auto
        4 :- boot back to linux and then [SELECT NO]1 -> Set Fan Profile
2 -> Battery charge threshold
3 -> Monitorting
Choise -> Traceback (most recent call last):
  File "/home/Mikey/Desktop/OFC-l/OpenFreezeCenter-Lite.py", line 139, in <module>
    CONFIG_FILE = open(PATH_TO_CONFIG, "r")
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/Mikey/Desktop/OFC-l/config.py'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/Mikey/Desktop/OFC-l/OpenFreezeCenter-Lite.py", line 145, in <module>
    CONFIG.append(global_var_check(CHOICE, LINE_YES, LINE_NO))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/Mikey/Desktop/OFC-l/OpenFreezeCenter-Lite.py", line 130, in global_var_check
    INPUT = input(CHOICE)
            ^^^^^^^^^^^^^
OSError: [Errno 9] Bad file descriptor

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/Mikey/Desktop/OFC-l/OpenFreezeCenter-Lite.py", line 157, in <module>
    function()
  File "/home/Mikey/Desktop/OFC-l/OpenFreezeCenter-Lite.py", line 115, in function
    FUNC = int(input("1 -> Set Fan Profile\n2 -> Battery charge threshold\n3 -> Monitorting\nChoise -> "))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 9] Bad file descriptor

All dependencies are installed, also secure boot is disabled and ec_sys module is loaded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions