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

Kazam package broken on unstable #71031

Closed
madhukar93 opened this issue Oct 12, 2019 · 6 comments
Closed

Kazam package broken on unstable #71031

madhukar93 opened this issue Oct 12, 2019 · 6 comments
Labels
0.kind: bug 0.kind: regression Something that worked before working no longer 6.topic: python

Comments

@madhukar93
Copy link

kazam package is broken. It does not start after installation. Looks like missing python3.7 dependency. Seems like a regression of #57660

$ nix-shell -p kazam
$ kazam
Traceback (most recent call last):
  File "/nix/store/bqjm7rv0bzsf6vb4r46947rai7hf130c-python3.7-pygobject-3.32.1/lib/python3.7/site-packages/gi/importer.py", line 138, in load_module
    introspection_module = get_introspection_module(namespace)
  File "/nix/store/bqjm7rv0bzsf6vb4r46947rai7hf130c-python3.7-pygobject-3.32.1/lib/python3.7/site-packages/gi/module.py", line 265, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/nix/store/bqjm7rv0bzsf6vb4r46947rai7hf130c-python3.7-pygobject-3.32.1/lib/python3.7/site-packages/gi/module.py", line 117, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Pango', version '1.0' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/nix/store/9bxmnfv8xxxay00kgab3df7gbs2vzbh2-kazam-1.4.5/bin/..kazam-wrapped-wrapped", line 33, in <module>
    from gi.repository import Gtk
  File "/nix/store/bqjm7rv0bzsf6vb4r46947rai7hf130c-python3.7-pygobject-3.32.1/lib/python3.7/site-packages/gi/importer.py", line 140, in load_module
    raise ImportError(e)
ImportError: Typelib file for namespace 'Pango', version '1.0' not found

Additional context
Add any other context about the problem here.

Metadata
nix-info -m

  • system: "x86_64-linux"
  • host os: Linux 4.19.78, NixOS, 20.03pre196586.b943338ea58 (Markhor)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.1
  • channels(root): "nixos-20.03pre196586.b943338ea58, home-manager, nixos-hardware"
  • channels(user): ""
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@worldofpeace
Copy link
Contributor

This actually a regression from strictDeps being enabled in buildPythonPackage.
See #56943, fixes are like a203bc7.

@veprbl veprbl added 0.kind: regression Something that worked before working no longer 6.topic: python labels Oct 12, 2019
@madhukar93
Copy link
Author

thanks, will try to send in a PR

@worldofpeace
Copy link
Contributor

Hmm, I did try fixing this briefly and it appeared it had more issues than this particular one.
Perhaps an update may improve the situation.

@madhukar93
Copy link
Author

Then it is probably beyond my abilities to fix 😬
What sort of update?

@worldofpeace
Copy link
Contributor

The issue I ran into was

Fix was hzbd/kazam#21, but it appears this tool is abandoned

And I don't particularly have patience for abandonware in nixpkgs, especially maintaining them.

@thorstenweber83
Copy link
Contributor

@madhukar93
kazam is now fixed on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 0.kind: regression Something that worked before working no longer 6.topic: python
Projects
None yet
Development

No branches or pull requests

4 participants