resynthesizer icon indicating copy to clipboard operation
resynthesizer copied to clipboard

Resynthesizer Failed to execute child process (Permission denied) GIMP

Open Milor123 opened this issue 8 years ago • 4 comments

Resynthesizer Fail - GIMP

Hi guys, I'm trying install the plugin Resynthesizer

How I was installed it:

I've download from http://registry.gimp.org/node/27986 the Resynthesizer file and uncompress in:

  • /usr/lib/gimp/2.0/plug-ins

The Errors

But when I execute gimp from my console with "sudo gimp", the console shows this errors:

(gimp:22874): GLib-GObject-WARNING **: g_object_set_is_valid_property: object class 'GeglConfig' has no property named 'cache-size'
Skipping duplicate plug-in: '/usr/lib/gimp/2.0/plug-ins/resynthesizer'
/usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: 1: /usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: 354: not found
/usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: 2: /usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: 6: not found
/usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: 3: /usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: x��i��T����: not found
/usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: 3: /usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: ̗�}��~�J: not found
/usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: 4: /usr/lib/gimp/2.0/plug-ins/gmic_film_cluts.gmz: Syntax error: "(" unexpected

(gimp:22874): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error

(gimp:22874): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
/usr/lib/gimp/2.0/plug-ins/resynthesizer-gui: error while loading shared libraries: libgimpui-2.0.so.0: wrong ELF class: ELFCLASS64

(gimp:22874): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
GIMP-Error: Unable to run plug-in "resynthesizer"
(/root/.gimp-2.8/plug-ins/resynthesizer)

Failed to execute child process “/root/.gimp-2.8/plug-ins/resynthesizer” (Permission denied)

image

What I've tried:

I was try do: apt-get install libgimp2.0* chmod +x /usr/lib/gimp/2.0/plug-ins but it is not the problem

Also:

git clone https://github.com/bootchk/resynthesizer.git
cd resynthesizer
./autogen.sh
./configure
make
make install

apparently all works nice in the process of compiling

My SO and Python:

  • I am in kali linux 64bits, is a debian jessie based distro.
  • Python 2.7 as main.

Can you help me.. Thank you very much

Milor123 avatar Dec 25 '17 01:12 Milor123

You tried to download an executable, and you tried to build it. The build, as you say "works nice" and almost certainly would install resynthesizer properly IF you used "sudo make install" instead of just "make install". (Installing almost always requires sudo. Unless you use sudo, you will see errors such as "permission denied")

But the messages from your first attempt (to download it) shows that GIMP is searching two different places for plugins: /usr/lib/gimp/2.0/plug-ins and /root/.gimp-2.8/plug-ins/ (in the home directory of the root user). And finding duplicates? So I think your GIMP is not installed properly or you have improperly changed the Preferences>Paths for GIMP? I could be wrong.

There is one other error message about improper ELF format that I don't understand. But if you build resynthesizer instead of downloading it, this should not be a problem.

bootchk avatar Dec 26 '17 14:12 bootchk

@bootchk I've only used make install because I am in kali in which I don't have user, I am working directly with the root user.

Ohh you have reason, the /usr/lib/gimp... and the other is duplicate, what should I do?

Milor123 avatar Dec 26 '17 23:12 Milor123

The fact that there is a duplicate should not cause any harm, since I presume the duplicates are identical (one you downloaded and one you built.)

You say you are always running as root, so the "permission denied" can only be that one of the duplicates does not have execute permission (the plugins must have execute permission.) Inspect the permissions on the two duplicates. It must be that the first one that GIMP finds does not have execute permission, but GIMP doesn't discover that until after it has refused to read the other one?

I don't know what kali is so that doesn't explain anything to me.

bootchk avatar Dec 26 '17 23:12 bootchk

I ran into a similar problem after installing the package. the solution in my case was to install the package gimp-python. Now everything works as intended. The gimp-python package is not included as part of the gimp installation, at least in Debian Sid.

frankzen avatar Jun 25 '19 16:06 frankzen