Re: [Gimp-user] Help Installing Resynthesizer Script / Heal Selection

2015-03-27 Thread rich
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


___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] Help Installing Resynthesizer Script / Heal Selection

2015-03-27 Thread Ofnuts

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.


___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] Help Installing Resynthesizer Script / Heal Selection

2015-03-27 Thread Alexandre Prokoudine
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
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list