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

switcherooctl fails with "ImportError: cannot import name Gio, introspection typelib not found" #321590

Open
schuelermine opened this issue Jun 21, 2024 · 1 comment · May be fixed by #375411
Open
Labels
0.kind: bug Something is broken

Comments

@schuelermine
Copy link
Contributor

Describe the bug

$ switcherooctl
Traceback (most recent call last):
  File "/nix/store/33kxplyhyjw512pp47h1zaw7sjm58qq7-switcheroo-control-2.6/bin/.switcherooctl-wrapped", line 4, in <module>
    from gi.repository import Gio, GLib
  File "/nix/store/ak80bykk8halwf1klflhvpncq9lw2f8s-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 Gio, introspection typelib not found

Additional context

Hardware: Framework Laptop 16
Using nixos-hardware

Notify maintainers

pkgs.switcheroo-control.meta.maintainers = [ ]

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.9.5, NixOS, 24.11 (Vicuna), 24.11.20240620.d603719
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.18.2
  • nixpkgs: /nix/store/xfpiyfgf6y30fxk5ngv0cjn474qfr3sj-source

Add a 👍 reaction to issues you find important.

@schuelermine schuelermine added the 0.kind: bug Something is broken label Jun 21, 2024
@alyraffauf
Copy link
Contributor

Still experiencing this on unstable as of 19/01/2025.

vasi added a commit to vasi/nixpkgs that referenced this issue Jan 21, 2025
@vasi vasi linked a pull request Jan 21, 2025 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants