Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openrazer-daemon broke after system update #310205

Closed
VeilSilence opened this issue May 8, 2024 · 3 comments · Fixed by #316717
Closed

Openrazer-daemon broke after system update #310205

VeilSilence opened this issue May 8, 2024 · 3 comments · Fixed by #316717

Comments

@VeilSilence
Copy link

VeilSilence commented May 8, 2024

Describe the bug

As title says, openrazer-daemon no longer work after update.

Steps To Reproduce

Steps to reproduce the behavior:

  1. update system
  2. reboot
  3. openrazer-daemon fail to start.

Expected behavior

Openrazer-daemon start on boot.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Manually calling openrazer-daemon -Fv print me this:

openrazer-daemon -Fv
Traceback (most recent call last):
  File "/nix/store/s8vsc4p2cyqc2kim2cjvvl85d9fdz54x-python3.11-openrazer-daemon-3.8.0/bin/.openrazer-daemon-wrapped", line 13, in <module>
    from openrazer_daemon.daemon import RazerDaemon, __version__
  File "/nix/store/s8vsc4p2cyqc2kim2cjvvl85d9fdz54x-python3.11-openrazer-daemon-3.8.0/lib/python3.11/site-packages/openrazer_daemon/daemon.py", line 20, in <module>
    from gi.repository import GLib
  File "/nix/store/40cddha2iiqzbqd6dpal3rlrgvb4p0yc-python3.11-pygobject-3.48.2/lib/python3.11/site-packages/gi/importer.py", line 133, in create_module
    raise ImportError('cannot import name %s, '
ImportError: cannot import name GLib, introspection typelib not found
`nix-store -q --requisites /run/current-system | cut -d- -f2- | sort | uniq | grep openrazer
openrazer-3.8.0-6.8.9
python3.11-openrazer-3.8.0
python3.11-openrazer-daemon-3.8.0
python3.11-openrazer-daemon-3.8.0-man
unit-openrazer-daemon.service`

Notify maintainers

@evanjs
@roelvandijk
@Lucus16

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.9-xanmod1, NixOS, 24.05 (Uakari), 24.05.20240507.b211b39`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix Super) 2.22.0pre20240422_5ecd820`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/f0ssy3p6898x9k880l23mhd0fl6rvrb2-source`

Add a 👍 reaction to issues you find important.

@VeilSilence VeilSilence changed the title Openrazer-daemon broke after update to 6.8.9 xanmod kernel Openrazer-daemon broke after system update May 8, 2024
@VeilSilence
Copy link
Author

 #openrazer fix
        openrazer-daemon = super.openrazer-daemon.overrideAttrs (oldAttrs: {
          nativeBuildInputs = (oldAttrs.nativeBuildInputs or []) ++ [pkgs.gobject-introspection pkgs.wrapGAppsHook3 pkgs.python3Packages.wrapPython];
        });

overlay fix for anyone who have this issue.

@caseya565
Copy link

This overlay fix worked for me, thank you!

@Artturin
Copy link
Member

Artturin commented Jun 2, 2024

#316717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants