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

Help Installing Resynthesizer Script / Heal Selection

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.

2015-03-26 09:15:56 UTC (over 9 years ago)
postings
2

Help Installing Resynthesizer Script / Heal Selection

Hi all

This is my first post.

I am running GIMP on Linux / Ubuntu (latest stable version of GIMP) and I just tried too install a script i.e. Resynthesizer Script / Heal Selection

I installed it following instructions from the Gimp registry site :

When I attempt to use heal selection :

Select --- Enhance ---- Heal Selection

I get a nice little dialog asking me to enter my params

I then click OK and get the following

a pop up error message box that reads

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

Traceback (most recent call last): File "/usr/lib/gimp/2.0/python/gimpfu.py", line 699, 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 "/home/phil/.gimp-2.8/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

My scripts are here

~/.gimp-2.8/plug-ins -rwxr-xr-x 1 root root 3153 Mar 26 00:15 plugin-heal-transparency.py -rwxr-xr-x 1 root root 6595 Mar 26 00:15 plugin-heal-selection.py -rwxr-xr-x 1 root root 6011 Mar 26 00:15 plugin-uncrop.py -rwxr-xr-x 1 root root 3262 Mar 26 00:15 plugin-resynth-sharpen.py -rwxr-xr-x 1 root root 3609 Mar 26 00:15 plugin-resynth-fill-pattern.py -rwxr-xr-x 1 root root 3303 Mar 26 00:15 plugin-resynth-enlarge.py -rwxr-xr-x 1 root root 7684 Mar 26 00:15 plugin-render-texture.py -rwxr-xr-x 1 root root 17194 Mar 26 00:15 plugin-map-style.py -rwxr-xr-x 1 root root 62838 Mar 26 00:18 resynthesizer -rwxr-xr-x 1 root root 53607 Mar 26 00:18 resynthesizer-gui

I am not the most geeky person in the world, but can find my way around the linux command line OK, albeit I am no Linux expert

Can anybody tell me what I've done wrong

Originally I had the scripts residing in usr/lib/gimp/2.0 (but I read they should be in the 2.8 directory). In fact the scripts are in both folders

MAny thanks in anticipation of your help

Phil

Alexandre Prokoudine
2015-03-27 15:53:13 UTC (over 9 years ago)

Help Installing Resynthesizer Script / Heal Selection

On Thu, Mar 26, 2015 at 12:15 PM, bwfcnottingham wrote:

My scripts are here

~/.gimp-2.8/plug-ins -rwxr-xr-x 1 root root 3153 Mar 26 00:15 plugin-heal-transparency.py -rwxr-xr-x 1 root root 6595 Mar 26 00:15 plugin-heal-selection.py -rwxr-xr-x 1 root root 6011 Mar 26 00:15 plugin-uncrop.py -rwxr-xr-x 1 root root 3262 Mar 26 00:15 plugin-resynth-sharpen.py -rwxr-xr-x 1 root root 3609 Mar 26 00:15 plugin-resynth-fill-pattern.py -rwxr-xr-x 1 root root 3303 Mar 26 00:15 plugin-resynth-enlarge.py -rwxr-xr-x 1 root root 7684 Mar 26 00:15 plugin-render-texture.py -rwxr-xr-x 1 root root 17194 Mar 26 00:15 plugin-map-style.py -rwxr-xr-x 1 root root 62838 Mar 26 00:18 resynthesizer -rwxr-xr-x 1 root root 53607 Mar 26 00:18 resynthesizer-gui

I am not the most geeky person in the world, but can find my way around the linux command line OK, albeit I am no Linux expert

Can anybody tell me what I've done wrong

You copied them as root (superadministrator) user. Easiest way to fix it is to remove them with same privilegies, then copy as ordinary user.

Also, make sure they are executable. For that you can either run 'chmod +x ~/.gimp-2.8/plug-ins/*.py' or use file browser of your choice.

Alex

Ofnuts
2015-03-27 17:50:44 UTC (over 9 years ago)

Help Installing Resynthesizer Script / Heal Selection

On 26/03/15 10:15, bwfcnottingham wrote:

Hi all

This is my first post.

I am running GIMP on Linux / Ubuntu (latest stable version of GIMP) and I just tried too install a script i.e. Resynthesizer Script / Heal Selection

I installed it following instructions from the Gimp registry site :

When I attempt to use heal selection :

Select --- Enhance ---- Heal Selection

I get a nice little dialog asking me to enter my params

I then click OK and get the following

a pop up error message box that reads

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

Traceback (most recent call last): File "/usr/lib/gimp/2.0/python/gimpfu.py", line 699, 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 "/home/phil/.gimp-2.8/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

My scripts are here

~/.gimp-2.8/plug-ins -rwxr-xr-x 1 root root 3153 Mar 26 00:15 plugin-heal-transparency.py -rwxr-xr-x 1 root root 6595 Mar 26 00:15 plugin-heal-selection.py -rwxr-xr-x 1 root root 6011 Mar 26 00:15 plugin-uncrop.py -rwxr-xr-x 1 root root 3262 Mar 26 00:15 plugin-resynth-sharpen.py -rwxr-xr-x 1 root root 3609 Mar 26 00:15 plugin-resynth-fill-pattern.py -rwxr-xr-x 1 root root 3303 Mar 26 00:15 plugin-resynth-enlarge.py -rwxr-xr-x 1 root root 7684 Mar 26 00:15 plugin-render-texture.py -rwxr-xr-x 1 root root 17194 Mar 26 00:15 plugin-map-style.py -rwxr-xr-x 1 root root 62838 Mar 26 00:18 resynthesizer -rwxr-xr-x 1 root root 53607 Mar 26 00:18 resynthesizer-gui

I am not the most geeky person in the world, but can find my way around the linux command line OK, albeit I am no Linux expert

Can anybody tell me what I've done wrong

Originally I had the scripts residing in usr/lib/gimp/2.0 (but I read they should be in the 2.8 directory). In fact the scripts are in both folders

In Ubuntu you can install the gimp-registry package from the repository. This will install a bunch of useful plugins including this one.

rich
2015-03-27 18:48:04 UTC (over 9 years ago)

Help Installing Resynthesizer Script / Heal Selection

bwfcnottingham gimpusers.com> writes:

This is my first post.

ofnuts beats me to it again

I am running GIMP on Linux / Ubuntu (latest stable version of GIMP) and I just tried too install a script i.e. Resynthesizer Script / Heal Selection

I installed it following instructions from the Gimp registry site :

When I attempt to use heal selection :

Select --- Enhance ---- Heal Selection

I get a nice little dialog asking me to enter my params I then click OK and get the following a pop up error message box that reads

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

The heal-selection plugin is python and that will work whatever. It could be that the binary resynthesizer plug-in is the wrong 'flavour' 32 bit and should be 64 bit maybe or something else.

snip My scripts are here

~/.gimp-2.8/plug-ins -rwxr-xr-x 1 root root 3153 Mar 26 00:15 plugin-heal-transparency.py -rwxr-xr-x 1 root root 6595 Mar 26 00:15 plugin-heal-selection.py -rwxr-xr-x 1 root root 6011 Mar 26 00:15 snip
resynthesizer -rwxr-xr-x 1 root root 53607 Mar 26 00:18 resynthesizer-gui

root is not the correct owner for files in your gimp profile ~/.gimp-2.8/ plugins.
phil should be in there as owner.

I am not the most geeky person in the world, but can find my way around the linux command line OK, albeit I am no Linux expert

Can anybody tell me what I've done wrong

Originally I had the scripts residing in usr/lib/gimp/2.0 (but I read they should be in the 2.8 directory). In fact the scripts are in both folders

I think plug-ins should go in your Gimp profile. However if installed from a package, they will end up in /user... Not a good idea to have in both locations, AFAIK your Gimp profile takes precedence and that has incorrect permissions.

One way for Ubuntu (is this the worst user distro in the world?)

Get rid of all the previous stuff.

open a terminal to get a root prompt: sudo -i (then password) apt-getupdate
apt-get install gimp-plugin registry

screenshot: http://tinyurl.com/p3o8gbv

Unfortunately you get a whole load of other scripts and plugins, such is the price.. but you do get heal-selection in Filters -> enhance and you should see resynthesizer in Filters -> Map

2015-03-28 00:22:07 UTC (over 9 years ago)
postings
2

Help Installing Resynthesizer Script / Heal Selection

Hi Everybody

Thanks for your valuable help and assistance.

I've fixed the problem (rather easily actually), I went for the option to install GIMP plugins (lots of them) from the Ubuntu software centre . I removed the files I dowloaded and then installed the plugins from the software centre. The filter works fine now. Internet forums are excellent , people freely offering to help and assist you. Have a great weekend everybody :)

Thanks again Phil :)