From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: gimp scripting support Date: Sat, 1 Aug 2015 18:01:19 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLZDt-0003ox-Kc for guix-devel@gnu.org; Sat, 01 Aug 2015 12:01:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLZDs-0004f3-U1 for guix-devel@gnu.org; Sat, 01 Aug 2015 12:01:21 -0400 Received: from mail-io0-x22a.google.com ([2607:f8b0:4001:c06::22a]:33107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLZDs-0004eX-PV for guix-devel@gnu.org; Sat, 01 Aug 2015 12:01:20 -0400 Received: by ioii16 with SMTP id i16so111202428ioi.0 for ; Sat, 01 Aug 2015 09:01:20 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel 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 from gimpfu import * File "/gnu/store/9gnpd0vkwyvy6x7jiv1kjjdgf6gd1hjl-gimp-2.8.14/lib/gimp/2.0/python/gimpfu.py", line 76, in 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