RSS/Atom feed Twitter
Site is read-only, email is disabled

Resythesizer plugin/Heal Selection issue

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Resythesizer plugin/Heal Selection issue Guy Stalnaker 24 Feb 04:59
  Resythesizer plugin/Heal Selection issue rich2005 24 Feb 08:43
Guy Stalnaker
2017-02-24 04:59:24 UTC (about 7 years ago)

Resythesizer plugin/Heal Selection issue

​​
Version: Gimp 2.9.5~87-0z0~ppa~9fd139e commit: 9fd139efadefd182a22e4b3c25cb92e36ae2cb4a PPA - ppa:otto-kesselgulasch/gimp-edge

- OR -

Version: Gimp 2.8.16 Standard LinuxMint 18.1 repositories

System (Lenovo i5 desktop)

hollin% uname -a Linux hollin 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
hollin% inxi
CPU~Quad core Intel Core i5-4460 (-MCP-) speed/max~3197/3400 MHz Kernel~4.4.0-53-generic x86_64 Up~1 day Mem~4353.5/11928.8MB HDD~4000.8GB(52.2% used) Procs~231 Client~Shell inxi~2.2.35

​hollin% cat /etc/lsb-release DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.1
DISTRIB_CODENAME=serena
DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena"

This LinuxMint release is a recent new install of LinuxMint 18.1.​ Using the gimp-edge PPA on LinuxMint 17.3 this issue *did not* occur. I have searched the bug system for "resynthesizer" and "heal" with nothing relvant. ​
I'm working on an "old family photographs" project and the current image is badly scratched. So, I'm creating masks then using them for selections, and then running heal selection. Issue is trying to use heal-selection. I get an odd error that I did NOT get with the gimp-edge PPA when installed on LinuxMint 17.3:

Traceback (most recent call last): File "/usr/lib/gimp/2.0/python/gimpfu.py", line 740, in response dialog.res = run_script(params)
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script return apply(function, params)
File "/usr/lib/gimp/2.0/plug-ins/plugin-heal-selection.py", line 148, in heal_selection
pdb.plug_in_resynthesizer(timg, tdrawable, 0,0, useBorder, work_drawable.ID, -1, -1, 0.0, 0.117, 16, 500) error: procedure not found

Calling error for procedure 'gimp-procedural-db-proc-info': Procedure 'plug-in-resynthesizer' not found

This is odd because a gimp 2.9 install with gimp-edge PPA worked just days ago on LinuxMint 17.3. and because both resynthesizer and resynthesizer-gui *are* in the plugins directory where they are supposed to be. All files are owned by me and the execute bit is set.​ *It is doubly odd because I get the same error with the standard LinuxMint 18.1 repo Gimp version 2.8.16.*

​Anyone have any ideas? I have uninstalled/reinstalled, purged/reinstalled with no change. Error remains.​

Guy Stalnaker jimmyg521@gmail.com

rich2005
2017-02-24 08:43:49 UTC (about 7 years ago)

Resythesizer plugin/Heal Selection issue

​​
Version: Gimp 2.9.5~87-0z0~ppa~9fd139e commit: 9fd139efadefd182a22e4b3c25cb92e36ae2cb4a PPA - ppa:otto-kesselgulasch/gimp-edge

- OR -

Version: Gimp 2.8.16 Standard LinuxMint 18.1 repositories

System (Lenovo i5 desktop)

hollin% uname -a Linux hollin 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux
hollin% inxi
CPU~Quad core Intel Core i5-4460 (-MCP-) speed/max~3197/3400 MHz Kernel~4.4.0-53-generic x86_64 Up~1 day Mem~4353.5/11928.8MB HDD~4000.8GB(52.2% used) Procs~231 Client~Shell inxi~2.2.35

​hollin% cat /etc/lsb-release DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.1
DISTRIB_CODENAME=serena
DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena"

This LinuxMint release is a recent new install of LinuxMint 18.1.​ Using
the gimp-edge PPA on LinuxMint 17.3 this issue *did not* occur. I have searched the bug system for "resynthesizer" and "heal" with nothing relvant.

I'm working on an "old family photographs" project and the current image is
badly scratched. So, I'm creating masks then using them for selections, and
then running heal selection. Issue is trying to use heal-selection. I get
an odd error that I did NOT get with the gimp-edge PPA when installed on
LinuxMint 17.3:

Traceback (most recent call last): File "/usr/lib/gimp/2.0/python/gimpfu.py", line 740, in response dialog.res = run_script(params)
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script return apply(function, params)
File "/usr/lib/gimp/2.0/plug-ins/plugin-heal-selection.py", line 148, in
heal_selection
pdb.plug_in_resynthesizer(timg, tdrawable, 0,0, useBorder, work_drawable.ID, -1, -1, 0.0, 0.117, 16, 500) error: procedure not found

Calling error for procedure 'gimp-procedural-db-proc-info': Procedure 'plug-in-resynthesizer' not found

This is odd because a gimp 2.9 install with gimp-edge PPA worked just days
ago on LinuxMint 17.3. and because both resynthesizer and resynthesizer-gui
*are* in the plugins directory where they are supposed to be. All files are
owned by me and the execute bit is set.​ *It is doubly odd because I get
the same error with the standard LinuxMint 18.1 repo Gimp version 2.8.16.*

​Anyone have any ideas? I have uninstalled/reinstalled, purged/reinstalled
with no change. Error remains.​

Guy Stalnaker jimmyg521@gmail.com

You seem to have done all the obvious - permissions etc.

I assume you are using the Gimp 2.9 profile ~/.config/GIMP/2.9/plug-ins. Is that correct? There is a deprecated procedure in plugin-heal-selection.py that throws up warnings but it should work.

Where did you get resynthesizer from? Is it the correct flavour 32/64 bit ? Strange that it fails with regular Gimp as well. Does resynthesizer alone show and work: Filters -> Map -> Resynthesize Again is everything in the appropriate Gimp profile.

Do other python plugins work OK?

Do you run Gimp with compatibility mode on? If not try it.

gimp2.9 --pdb-compat-mode=on

I keep a small collection of "2.9 plug-ins" that work for me, includes resynth & heal-selection. Using Kubuntu 16.04 which AFAIK is equivalent to Mint 18. As a long shot you could try that version.

details and plugin download towards the bottom of the page:

http://www.gimp-forum.net/Thread-Portable-Gimp-2-9-5-for-linux?pid=581#pid581

rich: www.gimp-forum.net