Giter VIP home page Giter VIP logo

Comments (13)

Akrai avatar Akrai commented on August 10, 2024 1

Working properly here

from fw-fanctrl.

OmegaLambda1998 avatar OmegaLambda1998 commented on August 10, 2024

Same issue here, it looks like COMMANDS_SOCKET_FILE_PATH only gets initialised if a FanController is instantiated, however if not using --run, this never happens

from fw-fanctrl.

OmegaLambda1998 avatar OmegaLambda1998 commented on August 10, 2024

As a temporary patch, create a file called override.conf in /etc/systemd/system/fw-fanctrl.service.d with the following"

[Service]
ExecStart=
ExecStart=/usr/bin/python3 /usr/bin/fw-fanctrl --run --config "/etc/fw-fanctrl/config.json" --no-log
ExecStopPost=
ExecStopPost=/bin/sh -c "ectool autofanctrl"

This got it working again for me, basically just taking the source code service file (https://github.com/TamtamHero/fw-fanctrl/blob/main/services/fw-fanctrl.service) and applying it

from fw-fanctrl.

leopoldhub avatar leopoldhub commented on August 10, 2024

Hi, as explained here, we are not the maintainers of the AUR package and cannot guarantee that it will work.
The AUR package imports external outdated service files, please contact the AUR maintainer instead.
Please use the installation script for the time being (as the AUR version should have done to begin with...)

from fw-fanctrl.

leopoldhub avatar leopoldhub commented on August 10, 2024

I have contacted the AUR package maintainer, who should be patching it soon

from fw-fanctrl.

icedream avatar icedream commented on August 10, 2024

Package maintainer here, I'm currently going over the current packaging complications I have with @leopoldhub via mail. I'll have time to hotfix the package files this evening after work but I intend to follow up with a better solution. Hopefully from there we find a more permanent solution soon.

from fw-fanctrl.

icedream avatar icedream commented on August 10, 2024

We're taking care of long-term fixes in #37, the error should no longer happen on the AUR package where a hotfix has been applied a few days ago.

from fw-fanctrl.

icedream avatar icedream commented on August 10, 2024

AUR package has been updated with the proper long-term solution, should now install service files properly from repository.

Ignore my previous comment if you see it via mail notification, I had a silly override still installed that I thought I removed. All good now. 👍🏻

from fw-fanctrl.

leopoldhub avatar leopoldhub commented on August 10, 2024

Made me panic for a bit 👀

from fw-fanctrl.

leopoldhub avatar leopoldhub commented on August 10, 2024

Hi everyone, the AUR package have been fixed (thanks to the wonderful work of @icedream).
Did any of you experience any kind of unexpected behaviour with the latest package version?
If not, I would like to close this issue.
Have a nice day

from fw-fanctrl.

leopoldhub avatar leopoldhub commented on August 10, 2024

It seems that everything has been resolved, so I will then close the issue.

from fw-fanctrl.

skerit avatar skerit commented on August 10, 2024

@leopoldhub I just installed fw-fanctrl-git (r38.f0d8d77-2), fw-fanctrl-ui-git (r1.120f20e-1) and fw-ectool-git from the AUR, but I still get the error:

$ fw-fanctrl                                                                                                                                                                                                   ma 22 jul 2024 11:18:05
Traceback (most recent call last):
  File "/usr/bin/fw-fanctrl", line 329, in <module>
    main()
  File "/usr/bin/fw-fanctrl", line 310, in main
    client_socket.connect(COMMANDS_SOCKET_FILE_PATH)
FileNotFoundError: [Errno 2] No such file or directory

The systemd service file was installed, though I didn't get a mention anywhere I needed to start & enable it manually.
After doing that (sudo systemctl start fw-fanctrl) it worked.

from fw-fanctrl.

icedream avatar icedream commented on August 10, 2024

@skerit The package should automatically update to the latest git (at this point that would be r45.dc6558e) when it's being built.

from fw-fanctrl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.