No heal transparency in GIMP 2.10 - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Installation and usage (https://www.gimp-forum.net/Forum-Installation-and-usage) +---- Forum: Linux and other Unixen (https://www.gimp-forum.net/Forum-Linux-and-other-Unixen) +---- Thread: No heal transparency in GIMP 2.10 (/Thread-No-heal-transparency-in-GIMP-2-10) |
No heal transparency in GIMP 2.10 - adlerhn - 10-14-2018 I have GIMP 2.10 installed from the Ubuntu Cosmic repository. I also have installed the gimp-plugin-registry package, and I can see under /usr/lib/gimp/2.0/plug-ins a plugin-heal-transparency.py file. However, I cannot see the "Heal transparency" filter in the menu. Also, in the plugin filter I don't see any plugin whose name contains "Heal", but "Resynthesize" is there in the list. I have also tried to install the flatpak version from gimp.org, but the filter does not appear there either. Any advice of what could I try to get the filter to show? I would happily downgrade to 2.8, but package repositories that also include the gimp-plugin-registry seem to be all on 2.10. RE: No heal transparency in GIMP 2.10 - Ofnuts - 10-14-2018 Check the pluginrc file in your Gimp profile. You should fin the resynthesize file listed, but do you see the *heal*.py files? If they are missing, a few possibilities:
Since you run a very recent Ubuntu 2) and 3) are possible, because Ubuntu has been in the process of making Python v3 the default Python. 2) would be because the script are run with Python v3 instead of the Python V2 they have been written for (Gimp mandates v2). 3) would be because there is no Python v2 installed on your system. Start Gimp in a terminal (gimp --verbose), and this will show you everything Gimp is doing on startup. Have you got python syntax error reported then? Or is it complaining about a missing Python2.7 executable? Have you go a file named /usr/lib/gimp/2.0/interpreters/pygimp.interp? It will contain lines such as: Code: python=/usr/bin/python2.7 Do the left parts (/usr/bin/python2.7) match an executable in your system? By the way, you can tell if the problem is for resynthesize only or if it is a general problem with Python. There are standard scripts/plugins that use Python, and they won't show in the menus if the Python support doesn't work:: Filters>Web>Slice, Filters>Decor>Fog and of course Filters>Python-fu>Console. RE: No heal transparency in GIMP 2.10 - adlerhn - 10-14-2018 Thanks for your thorough response. When running gimp --verbose, I get the following error: Quote:Failed to execute child process “python” (No such file or directory) However, I have both python 2.7 and 3.6 in my system. If I execute "python" in a terminal, I get into an interpreter console. Quote:ls -ltr /usr/bin/python* So, it is possible that my system is trying to run the plugin with the wrong version of Python? There is no /usr/lib/gimp/2.0/interpreters/pygimp.interp in my system. I tried creating one with the content: Quote:python=/usr/bin/python2.7 And now instead I get the following error on startup for a number of plugins: Quote:Querying plug-in: '/usr/lib/gimp/2.0/plug-ins/plugin-heal-transparency.py' RE: No heal transparency in GIMP 2.10 - Ofnuts - 10-14-2018 The full contents of my /usr/lib/gimp/2.0/interpreters/pygimp.interp is: Code: python=/usr/bin/python2.7 But before you break everything, did you check that other Python plugins are also broken? RE: No heal transparency in GIMP 2.10 - rich2005 - 10-14-2018 Quote:..I have GIMP 2.10 installed from the Ubuntu Cosmic repository.. That should ring a few alarm bells Does not matter if python 2.7 is installed , there is no python support in Gimp 2.10.6 from the repo. It gets worse, trying alternatives The otto-kesselgulasch/gimp ppa has un-met dependencies so that is no use The otto-kesselgulasch/gimp-edge ppa does install, but guess what, Gimp has no python support. Wasted half the afternoon on all of that, FWIW my advice, never mind cutting edge, ubuntu 18.04 has Gimp 2.8.22 as standard and you can either replace with Gimp 2.10 from a ppa or run the flatpak in parallel. RE: No heal transparency in GIMP 2.10 - rich2005 - 10-14-2018 Hate to be beat A little bit of digging, a couple of tools that Ubuntu should provide but don't (synaptic and a two pane file manager emelfm2) Python is missing because the gimp-python package is not set as a dependency, you have to install yourself. Used to be like that in the past, but not recently. screenshot: https://i.imgur.com/SIcO95L.jpg I used synaptic but I suppose a Code: sudo apt install gimp-python Don’t use the gimp-plugin-registry package, apart from being full of ancient cr*p, liable not to work Use these plugins, resynthesizer, I compiled against Gimp 2.10 packages https://www.dropbox.com/s/5pp8unwbh7wi9jy/plugin-heal.zip?dl=0 Unzip. The four files go in ~/.config/GIMP/2.10/plug-ins Looks like this https://i.imgur.com/3hu2GmK.jpg Does it work, does here: https://i.imgur.com/u1izqxg.jpg RE: No heal transparency in GIMP 2.10 - adlerhn - 10-15-2018 That's it! gimp-python is not present in the Ubuntu repository, but I installed the one from https://packages.debian.org/buster/amd64/gimp-python/download and it works now RE: No heal transparency in GIMP 2.10 - Zero01 - 11-24-2019 I've just switched to Ubuntu (18,04 LTS) from Windows (not out of choice but because I messed my system up with some dual-boot shenanigans..!!) so this post is very helpful! Thanks all! |