Resythesizer plugin/Heal Selection issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Resythesizer plugin/Heal Selection issue

Guy Stalnaker
​​
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:

<error>
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
</error>

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
[hidden email]
_______________________________________________
gimp-user-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Resythesizer plugin/Heal Selection issue

rich2005
>​​
>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:
>
><error>
>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
></error>
>
>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
>[hidden email]


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

--
rich2005 (via www.gimpusers.com/forums)
_______________________________________________
gimp-user-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list
Loading...