Skip to content

Multiple errors when running script #4

@onlymikey

Description

@onlymikey

Device: MSI GF63 Thin 11uc
OS: Fedora Workstation 38
Desktop: gnome 44.5 (Wayland)

reproduce:

cloned project
installed dependencies (ECTweaker and Config)
getting this output when running sudo python3 OpenFreezeCenter-Lite.py :

Traceback (most recent call last):
  File "/home/mikey/Descargas/OpenFreezeCenter-Lite-2.0/OpenFreezeCenter-Lite.py", line 86, in <module>
    CONFIG_FILE = open("config.py", "r")
                  ^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'config.py'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mikey/Descargas/OpenFreezeCenter-Lite-2.0/OpenFreezeCenter-Lite.py", line 91, in <module>
    AUTO_SPEED_CPU = [ECT.read(0x72, 1), ECT.read(0x73, 1), ECT.read(0x74, 1), ECT.read(0x75, 1), ECT.read(0x76, 1), ECT.read(0x77, 1), ECT.read(0x78, 1)] # CPU FAN speed at LOWEST, LOWER, LOW, MEDIUM, HIGH, HIGHER, HIGHEST CPU TEMP
                      ^^^^^^^^^^^^^^^^^
  File "/home/mikey/miniconda3/lib/python3.11/site-packages/ECTweaker.py", line 39, in read
    with open(EC_IO_FILE,'r+b') as file:
         ^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/debug/ec/ec0/io'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mikey/Descargas/OpenFreezeCenter-Lite-2.0/OpenFreezeCenter-Lite.py", line 107, in <module>
    AUTO_SPEED = config.AUTO_SPEED
                 ^^^^^^^^^^^^^^^^^
AttributeError: module 'config' has no attribute 'AUTO_SPEED'

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