resynthesizer icon indicating copy to clipboard operation
resynthesizer copied to clipboard

Installed (I suppose) but not working, missing installation of engine plugin plug-in-resynthesizer

Open CharlesTrois opened this issue 8 months ago • 12 comments

I get the same interface as Gimp 2.x, but ... Plug-in 'Heal Selection' left image undo in inconsistent state, closing open undo groups.

(Gimp 2.03, Manjaro Linux)

' [plug-in-heal-selection] The catalog directory does not exist: /home/ego/.config/GIMP/3.0/plug-ins/plug-in-heal-selection/locale [plug-in-heal-selection] Override method set_i18n() for the plug-in to customize or disable localization. [plug-in-heal-selection] Localization disabled Procedure 'plug-in-heal-selection': no mnemonic for property option Procedure 'plug-in-heal-selection': no mnemonic for property option-2 Procedure 'plug-in-heal-selection': no mnemonic for property adjustment

(script-fu-interpreter:77453): scriptfu-WARNING **: 10:44:24.088: While executing plug-in-heal-selection: Error: eval: unbound variable: plug-in-resynthesizer '

CharlesTrois avatar May 09 '25 09:05 CharlesTrois

The installation is faulty.

The messages means the file: ~/.config/GIMP/2.0/plug-ins/plug-in-resynthesizer does not exist (loosely speaking.)

That file is a separate plugin from the other plugins. It is a binary file. The others are text files (.py or .scm)

Can you please clarify 1. which version of GIMP and resynthesizer you are using 2. how you installed the resynthesizer? Did you build it yourself or download it?

(Above it says you are using GIMP 2.03, which is a version I don't recognize.)

bootchk avatar May 09 '25 14:05 bootchk

Excuse me, I use Gimp 3.03 (three - dot - 03 ...

CharlesTrois avatar May 09 '25 16:05 CharlesTrois

FYI, GIMP uses what is called "semantic versioning" which means the version is in form X.Y.Z. X is major version (3) Y is minor version (0) and Z is patch version (3). The even patch versions such as 3.0.4 are official releases, and the odd patch versions such as 3.0.3 are nightly builds of ongoing development.

So I think you mean 3.0.3 and I understand what you mean.

I just released a new version of the Resynthesizer 3.0.0.

Please try it (either build it yourself) or wait for a Manjaro build. But I really think the problem is in the installation somehow. Please tell how you installed resynthesizer, either built yourself, or installed a Manjaro package?

bootchk avatar May 18 '25 11:05 bootchk

Hello, and thanks for the reply!

It was indeed Gimp 3.0.3 and my problems were due to a “home-made” compilation of resynthetiser. My computer knowledge is what it is (and so are the instructions for compiling resynth ;). But I finally got it right and resynth works for me.

Thank you!!!

Le dimanche 18 mai 2025, 13:12:18 heure d’été d’Europe centrale Lloyd Konneker a écrit :

bootchk left a comment (bootchk/resynthesizer#150)

FYI, GIMP uses what is called "semantic versioning" which means the version is in form X.Y.Z. X is major version (3) Y is minor version (0) and Z is patch version (3). The even patch versions such as 3.0.4 are official releases, and the odd patch versions such as 3.0.3 are nightly builds of ongoing development.

So I think you mean 3.0.3 and I understand what you mean.

I just released a new version of the Resynthesizer 3.0.0.

Please try it (either build it yourself) or wait for a Manjaro build. But I really think the problem is in the installation somehow. Please tell how you installed resynthesizer, either built yourself, or installed a Manjaro package?

CharlesTrois avatar May 19 '25 06:05 CharlesTrois

Hello, and thanks for the reply!

It was indeed Gimp 3.0.3 and my problems were due to a “home-made” compilation of resynthetiser. My computer knowledge is what it is (and so are the instructions for compiling resynth ;). But I finally got it right and resynth works for me.

Thank you!!!

Le dimanche 18 mai 2025, 13:12:18 heure d’été d’Europe centrale Lloyd Konneker a écrit :

would you be so kind, and upload the files?

Rizzlord avatar May 19 '25 23:05 Rizzlord

Ok, but which files?

CharlesTrois avatar May 20 '25 13:05 CharlesTrois

Ok, but which files?

I believe there are 4 files that are required.

resynthesizer.exe which goes in the folder plugins\resynthesizer

plugin-heal-selection.scm plugin-heal-transparency.scm plugin-resynth-controls.scm

The last 3 files go in scripts folder.

Would appreciate if you can upload these files or point a location from where they can be downloaded.

mj

mmjoshi avatar May 24 '25 04:05 mmjoshi

Here are the files from config/Gimp/3.0/plug-ins/directory_with_same_name_as_the_4_attached_files :

Le samedi 24 mai 2025, 06:23:36 heure d’été d’Europe centrale mmjoshi a écrit :

mmjoshi left a comment (bootchk/resynthesizer#150)

Ok, but which files?

I believe there are 4 files that are required.

resynthesizer.exe which goes in the folder plugins\resynthesizer

plugin-heal-selection.scm plugin-heal-transparency.scm plugin-resynth-controls.scm

The last 3 files go in scripts folder.

Would appreciate if you can upload these files or point a location from where they can be downloaded.

mj

CharlesTrois avatar May 24 '25 13:05 CharlesTrois

I have the same problem. I built the plugin on macOS (It just needed some love with the dependencies and include paths) and this is what I get from meson install:

ninja: Entering directory `.../src/gimp-resynthesizer-plugin/resynthesizerBuild'
ninja: no work to do.
Installing enginePlugin/resynthesizer to /opt/gimp/3.0/plug-ins/resynthesizer
Installing .../src/gimp-resynthesizer-plugin/outerPlugins/plug-in-heal-selection.scm to /opt/gimp/3.0/plug-ins/plug-in-heal-selection
Installing .../src/gimp-resynthesizer-plugin/outerPlugins/plug-in-heal-transparency.scm to /opt/gimp/3.0/plug-ins/plug-in-heal-transparency
Installing .../src/gimp-resynthesizer-plugin/outerPlugins/plug-in-resynth-controls.scm to /opt/gimp/3.0/plug-ins/plug-in-resynth-controls
Installing .../src/gimp-resynthesizer-plugin/outerPlugins/plug-in-map-style.scm to /opt/gimp/3.0/plug-ins/plug-in-map-style
Installing .../src/gimp-resynthesizer-plugin/outerPlugins/plug-in-render-texture.scm to /opt/gimp/3.0/plug-ins/plug-in-render-texture
Installing .../src/gimp-resynthesizer-plugin/outerPlugins/plug-in-uncrop.scm to /opt/gimp/3.0/plug-ins/plug-in-uncrop
Installing .../src/gimp-resynthesizer-plugin/outerPlugins/plug-in-resynth-fill-pattern.scm to /opt/gimp/3.0/plug-ins/plug-in-resynth-fill-pattern

(I installed into /opt/gimp and told Gimp to look there for plugins.)

I suspect this line is problematic:

Installing enginePlugin/resynthesizer to /opt/gimp/3.0/plug-ins/resynthesizer

Here's what's installed:

$ find /opt/gimp/3.0/plug-ins/
/opt/gimp/3.0/plug-ins/
/opt/gimp/3.0/plug-ins/resynthesizer
/opt/gimp/3.0/plug-ins/resynthesizer/resynthesizer
/opt/gimp/3.0/plug-ins/plug-in-resynth-controls
/opt/gimp/3.0/plug-ins/plug-in-resynth-controls/plug-in-resynth-controls.scm
/opt/gimp/3.0/plug-ins/plug-in-render-texture
/opt/gimp/3.0/plug-ins/plug-in-render-texture/plug-in-render-texture.scm
/opt/gimp/3.0/plug-ins/plug-in-map-style
/opt/gimp/3.0/plug-ins/plug-in-map-style/plug-in-map-style.scm
/opt/gimp/3.0/plug-ins/plug-in-heal-selection
/opt/gimp/3.0/plug-ins/plug-in-heal-selection/plug-in-heal-selection.scm
/opt/gimp/3.0/plug-ins/plug-in-uncrop
/opt/gimp/3.0/plug-ins/plug-in-uncrop/plug-in-uncrop.scm
/opt/gimp/3.0/plug-ins/plug-in-heal-transparency
/opt/gimp/3.0/plug-ins/plug-in-heal-transparency/plug-in-heal-transparency.scm
/opt/gimp/3.0/plug-ins/plug-in-resynth-fill-pattern
/opt/gimp/3.0/plug-ins/plug-in-resynth-fill-pattern/plug-in-resynth-fill-pattern.scm

There's no sign of plug-in-resynthesizer anywhere in there, so it looks like a problem with the meson scripts?

brainy avatar May 25 '25 00:05 brainy

Here are the files from config/Gimp/3.0/plug-ins/directory_with_same_name_as_the_4_attached_files :

Le samedi 24 mai 2025, 06:23:36 heure d’été d’Europe centrale mmjoshi a écrit :

mmjoshi left a comment (bootchk/resynthesizer#150)

Ok, but which files?

I believe there are 4 files that are required.

resynthesizer.exe which goes in the folder plugins\resynthesizer

plugin-heal-selection.scm plugin-heal-transparency.scm plugin-resynth-controls.scm

The last 3 files go in scripts folder.

Would appreciate if you can upload these files or point a location from where they can be downloaded.

mj

I am still confused! Sorry. Could you tell me where I can find these files? I am on Windows 11 if that's important.

mmjoshi avatar May 25 '25 05:05 mmjoshi

I solved the problem on macOS, it was a shared library conflict. See PR 159.

brainy avatar Jul 02 '25 04:07 brainy

It makes me confused a long time until I put the files into puligin/resynthesizer not plugin .

alice112358133aa0 avatar Oct 21 '25 05:10 alice112358133aa0