all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Federico Beffa <beffa@ieee.org>
To: Guix-devel <guix-devel@gnu.org>
Subject: gimp scripting support
Date: Sat, 1 Aug 2015 18:01:19 +0200	[thread overview]
Message-ID: <CAKrPhPPxWN0=4xqzPoGjmNuWcp+Fwnh0mmOmweS0pxCkn6BriQ@mail.gmail.com> (raw)

Hi,

I've updated the gimp in my profile and get the following errors:

Gtk-Message: Failed to load module "canberra-gtk-module"
Traceback (most recent call last):
  File "/gnu/store/9gnpd0vkwyvy6x7jiv1kjjdgf6gd1hjl-gimp-2.8.14/lib/gimp/2.0/plug-ins/gradients-save-as-css.py",
line 25, in <module>
    from gimpfu import *
  File "/gnu/store/9gnpd0vkwyvy6x7jiv1kjjdgf6gd1hjl-gimp-2.8.14/lib/gimp/2.0/python/gimpfu.py",
line 76, in <module>
    import gimp
ImportError: could not import pygtk


Given that 'pygtk' is now necessary, IMO it should be a propagated input.

Also, installing pygtk in my profile is not enough. This is because I
do use python-3, while gimp uses python-2. For this reason PYTHONPATH
doesn't work with gimp and I can't change it.

One solution is to define PYTHONPATH in a wrapper around gimp.

Regards,
Fede

             reply	other threads:[~2015-08-01 16:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-01 16:01 Federico Beffa [this message]
2015-08-01 19:25 ` gimp scripting support Andreas Enge
2015-08-01 20:12   ` Federico Beffa
2015-08-01 21:48     ` Andreas Enge
2015-08-18 15:42   ` Ludovic Courtès
2015-08-18 15:40 ` Ludovic Courtès
2015-08-18 17:01   ` Federico Beffa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKrPhPPxWN0=4xqzPoGjmNuWcp+Fwnh0mmOmweS0pxCkn6BriQ@mail.gmail.com' \
    --to=beffa@ieee.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.