Giter Site home page Giter Site logo

Systemd Service failure about handygccs HOT 2 OPEN

alfadhela avatar alfadhela commented on August 17, 2024
Systemd Service failure

from handygccs.

Comments (2)

pastaq avatar pastaq commented on August 17, 2024

Interesting. Is there another service that is interacting with evdev file descriptors on your system?

Edit:
Also, this seems like a truncated traceback, can you post the full log?

from handygccs.

alfadhela avatar alfadhela commented on August 17, 2024

Full service life cycle log:

Dec 08 12:47:13 ayaneo systemd[1]: Started Handheld Game Console Controller Service.
Dec 08 12:47:13 ayaneo nice[574]: [231208_12:47:13 | handycon.py:85:__init__] Starting Handhend Game Console Controller Service...
Dec 08 12:47:17 ayaneo nice[574]: [231208_12:47:17 | utilities.py:269:id_system] Identified host system as AIR Plus and configured defaults for AYA_GEN5.
Dec 08 12:47:17 ayaneo nice[574]: [231208_12:47:17 | utilities.py:287:get_config] Loading existing config: /etc/handygccs/handygccs.conf
Dec 08 12:47:18 ayaneo nice[574]: Traceback (most recent call last):
Dec 08 12:47:18 ayaneo nice[574]:   File "/usr/lib/python3.11/site-packages/evdev/device.py", line 125, in __init__
Dec 08 12:47:18 ayaneo nice[574]:     fd = os.open(dev, os.O_RDWR | os.O_NONBLOCK)
Dec 08 12:47:18 ayaneo nice[574]:          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]: FileNotFoundError: [Errno 2] No such file or directory: '/dev/input/event7'
Dec 08 12:47:18 ayaneo nice[574]: During handling of the above exception, another exception occurred:
Dec 08 12:47:18 ayaneo nice[574]: Traceback (most recent call last):
Dec 08 12:47:18 ayaneo nice[574]:   File "/usr/bin/handycon", line 8, in <module>
Dec 08 12:47:18 ayaneo nice[574]:     sys.exit(main())
Dec 08 12:47:18 ayaneo nice[574]:              ^^^^^^
Dec 08 12:47:18 ayaneo nice[574]:   File "/usr/lib/python3.11/site-packages/handycon/handycon.py", line 200, in main
Dec 08 12:47:18 ayaneo nice[574]:     handycon = HandheldController()
Dec 08 12:47:18 ayaneo nice[574]:                ^^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]:   File "/usr/lib/python3.11/site-packages/handycon/handycon.py", line 95, in __init__
Dec 08 12:47:18 ayaneo nice[574]:     devices.make_controller()
Dec 08 12:47:18 ayaneo nice[574]:   File "/usr/lib/python3.11/site-packages/handycon/devices.py", line 653, in make_controller
Dec 08 12:47:18 ayaneo nice[574]:     handycon.ui_device = UInput(
Dec 08 12:47:18 ayaneo nice[574]:                          ^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]:   File "/usr/lib/python3.11/site-packages/evdev/uinput.py", line 155, in __init__
Dec 08 12:47:18 ayaneo nice[574]:     self.device = self._find_device()
Dec 08 12:47:18 ayaneo nice[574]:                   ^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]:   File "/usr/lib/python3.11/site-packages/evdev/uinput.py", line 282, in _find_device
Dec 08 12:47:18 ayaneo nice[574]:     d = device.InputDevice(path)
Dec 08 12:47:18 ayaneo nice[574]:         ^^^^^^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]:   File "/usr/lib/python3.11/site-packages/evdev/device.py", line 127, in __init__
Dec 08 12:47:18 ayaneo nice[574]:     fd = os.open(dev, os.O_RDONLY | os.O_NONBLOCK)
Dec 08 12:47:18 ayaneo nice[574]:          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 08 12:47:18 ayaneo nice[574]: FileNotFoundError: [Errno 2] No such file or directory: '/dev/input/event7'
Dec 08 12:47:18 ayaneo systemd[1]: handycon.service: Main process exited, code=exited, status=1/FAILURE
Dec 08 12:47:18 ayaneo systemd[1]: handycon.service: Failed with result 'exit-code'.

I think it's late input initialize.

And I don't use any evdev service alongside handycon.

from handygccs.

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.