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

broken package: Pitivi #20449

Closed
dermetfan opened this issue Nov 15, 2016 · 5 comments
Closed

broken package: Pitivi #20449

dermetfan opened this issue Nov 15, 2016 · 5 comments
Labels
0.kind: bug Something is broken 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: python

Comments

@dermetfan
Copy link
Member

Issue description

nix-env -iA nixos.pitivi

On launch:

Could not import 'gi'. Make sure you have pygobject available.

Technical details

  • System: 17.03.git.33afbf8 (Gorilla)
  • Nix version: nix-env (Nix) 1.11.4
  • Nixpkgs version: 17.03pre95306.a24728"
@FRidh FRidh added 0.kind: bug Something is broken 6.topic: python labels Nov 16, 2016
@FRidh
Copy link
Member

FRidh commented Nov 16, 2016

That error occurs because the interpreter cannot find the Python modules. The "old" solution is to create a wrapper that sets PYTHONPATH. A better solution is to instead create a Python environment that can find the modules without setting PYTHONPATH.

I've tried that, and found out that, while Pitivi requires Python 3, some modules it depends on were build against Python 2. This is a problem.

@moretea
Copy link
Contributor

moretea commented Feb 14, 2017

It broke for me on stable with a different cause:

[maarten@maarten-laptop:~]$ nix-shell --pure -p pitivi --command pitivi
Couldn't set locale. /nix/store/1dpfyblhgrad7knv0n6k9n8ajmdll0lh-pitivi-0.96/share/locale unsupported locale setting

(.pitivi-wrapped:19980): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
ERROR - The following hard dependencies are unmet:
==================================================
- gstgtk not found on the system
Missing soft dependency:
- pycanberra not found on the system
    -> enables sound notifications when rendering is complete

@davidak
Copy link
Member

davidak commented Dec 20, 2017

[davidak@dc7800:~]$ nix-shell --pure -p pitivi --command pitivi

** (.pitivi-wrapped:4153): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
ERROR - The following hard dependencies are unmet:
==================================================
- gstgtk not found on the system
Missing soft dependency:
- pycanberra not found on the system
    -> enables sound notifications when rendering is complete

  • system: "x86_64-linux"
  • host os: Linux 4.9.70, NixOS, 18.03pre123130.1bc288591ea (Impala)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 1.11.16
  • channels(root): "nixos-18.03pre123130.1bc288591ea"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

@jtojnar jtojnar added the 6.topic: GNOME GNOME desktop environment and its underlying platform label Feb 13, 2018
@mogorman
Copy link
Contributor

@davidak on 17.09 it runs for me in a pure nix-shell or normally @dermetfan can you confirm and close?

@davidak
Copy link
Member

davidak commented Feb 22, 2018

Pitivi starts on my NixOS 17.09 system. It has other issues unrelated to this. (see #35318)

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 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: python
Projects
None yet
Development

No branches or pull requests

7 participants