After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705711 - Gimp does not pick up plugins from configured plugin path
Gimp does not pick up plugins from configured plugin path
Status: RESOLVED INCOMPLETE
Product: GIMP
Classification: Other
Component: General
2.8.6
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2013-08-09 08:14 UTC by Thomas Hotz
Modified: 2013-10-28 18:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Hotz 2013-08-09 08:14:46 UTC
This is a bug report from: https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/1168056

The plug-ins path (Edit | Preferences, Folders | Plug-Ins) has two entries:

/home/user/.gimp-2.6/plug-ins
/usr/lib/gimp/2.0/plug-ins

However, nothing in the first entry is picked up. For example, running Filters | Python-Fu | Console:

GIMP 2.6.12 Python Console
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3]
>>> import sys
>>> sys.path
['/usr/lib/gimp/2.0/plug-ins', '/usr/lib/gimp/2.0/python', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
>>>

Only the /usr/lib/gimp/... location appears to be used, whih means I can't install my own Gimp plugins under my home directory. This is contrary to expectations.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gimp 2.6.12-1ubuntu1.2
ProcVersionSignature: Ubuntu 3.2.0-40.64-generic 3.2.40
Uname: Linux 3.2.0-40-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Thu Apr 11 17:52:25 2013
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gimp
UpgradeStatus: No upgrade log present (probably fresh install)

---

I can confirm this bug with GIMP 2.8.6 also. Thank you for your help!
Comment 1 Michael Natterer 2013-08-09 09:37:18 UTC
I'm not a python expert, but the plug-in path has afaik nothing todo
with sys.path. I can put python in my per-user plug-ins folder and they
appear in the menu just fine.

What exactly do you mean by you can't install them? Don't they
show up in your menus?
Comment 2 Thomas Hotz 2013-08-09 10:56:00 UTC
> I'm not a python expert, but the plug-in path has afaik nothing todo
with sys.path. 

Ok, then we would know it hasn't to do nothing with this. Thank you for this information Michael!


> What exactly do you mean by you can't install them? Don't they
show up in your menus?

I have installed a few plugins that work on GIMP 2.8.x. Yes, on my system they show up. Perhaps I have tested a plugin that was not for 2.8. I'm sorry for this.

I will ask the reporter for more information. Thank you!
Comment 3 Michael Schumacher 2013-08-09 13:36:41 UTC
I'm surprised that this seems to have been forwarded to upstream without an attempt to confirm it in Launchpad first. For example, the checks you seem to have done, as mentioned in comment #2, are not described there.
Comment 4 Thomas Hotz 2013-08-09 16:12:36 UTC
Michael Schumacher: I have tested the python console and the first question was why the patch doesn't show up here of the standard user plugin library of GIMP.

In the end currently I got one plugin running and that's G'MIC. I assume that the other plugins were not 64 bit compiled.

Yes, was my fault here, I want to apologize.
Comment 5 Michael Schumacher 2013-10-28 18:04:54 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!