Bug 258529

Summary: graphics/gimp-app 2.10.24_7,1
Product: Ports & Packages Reporter: Michael <michael.hmich>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: New ---    
Severity: Affects Only Me CC: fluffy
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: amd64   
OS: Any   

Description Michael 2021-09-16 11:02:05 UTC
after installing the pkg most of my plug-ins are not in the menus anymore
even the pkg gmic is gone from the menu

I wonder what happened but could not find the problem, nevertheless I get the following start errors appearing



(gimp:2345): Gtk-WARNING **: 07:49:48.530: Unable to locate theme engine in module_path: "adwaita",
Skipping duplicate plug-in: '/usr/local/libexec/gimp/2.2/plug-ins/plugin-heal-selection.py'
Skipping duplicate plug-in: '/usr/local/libexec/gimp/2.2/plug-ins/resynthesizer'
Skipping duplicate plug-in: '/usr/local/libexec/gimp/2.2/plug-ins/resynthesizer_gui'
Skipping duplicate plug-in: '/usr/local/libexec/gimp/2.2/plug-ins/wavelet-denoise'
  File "/usr/local/libexec/gimp/2.2/plug-ins/plugin-uncrop.py", line 94
    raise RuntimeError, "Failed duplicate image"
                      ^
SyntaxError: invalid syntax
GIMP-WARNING: gimp: gimp_wire_read(): error

  File "/usr/local/libexec/gimp/2.2/plug-ins/plugin-resynth-sharpen.py", line 53
    raise RuntimeError, "Failed duplicate image"
                      ^
SyntaxError: invalid syntax
GIMP-WARNING: gimp: gimp_wire_read(): error

Traceback (most recent call last):
  File "/usr/local/libexec/gimp/2.2/plug-ins/plugin-resynth-fill-pattern.py", line 33, in <module>
    from gimpfu import *
ModuleNotFoundError: No module named 'gimpfu'
GIMP-WARNING: gimp: gimp_wire_read(): error

  File "/usr/local/libexec/gimp/2.2/plug-ins/plugin-resynth-enlarge.py", line 54
    raise RuntimeError, "Failed duplicate image"
                      ^
SyntaxError: invalid syntax
GIMP-WARNING: gimp: gimp_wire_read(): error

  File "/usr/local/libexec/gimp/2.2/plug-ins/plugin-render-texture.py", line 121
    raise RuntimeError, "Failed create layer."
                      ^
SyntaxError: invalid syntax
GIMP-WARNING: gimp: gimp_wire_read(): error

Traceback (most recent call last):
  File "/usr/local/libexec/gimp/2.2/plug-ins/plugin-map-style.py", line 110, in <module>
    from gimpfu import *
ModuleNotFoundError: No module named 'gimpfu'
GIMP-WARNING: gimp: gimp_wire_read(): error

Traceback (most recent call last):
  File "/usr/local/libexec/gimp/2.2/plug-ins/plugin-heal-transparency.py", line 28, in <module>
    from gimpfu import *
ModuleNotFoundError: No module named 'gimpfu'
GIMP-WARNING: gimp: gimp_wire_read(): error

/home/hm/.config/GIMP/2.10/plug-ins/resynthesizer: error while loading shared libraries: libgimpui-2.0.so.0: cannot open shared object file: No such file or directory
GIMP-WARNING: gimp: gimp_wire_read(): error

/home/hm/.config/GIMP/2.10/plug-ins/resynthesizer_gui: error while loading shared libraries: libgimpui-2.0.so.0: cannot open shared object file: No such file or directory
GIMP-WARNING: gimp: gimp_wire_read(): error

Traceback (most recent call last):
  File "/home/hm/.config/GIMP/2.10/plug-ins/plugin-heal-selection.py", line 30, in <module>
    from gimpfu import *
ImportError: No module named gimpfu
GIMP-WARNING: gimp: gimp_wire_read(): error

/home/hm/.config/GIMP/2.10/plug-ins/wavelet-denoise.old: error while loading shared libraries: libgimpui-2.0.so.0: cannot open shared object file: No such file or directory
GIMP-WARNING: gimp: gimp_wire_read(): error

following by a lot of this msgs for every plugin but I thing they are irrelevant

Plug-in "script-fu"
(/usr/local/libexec/gimp/2.2/plug-ins/script-fu/script-fu) is installing procedure "script-fu-vivid-saturation" with a full menu path "<Image>/FX-Foundry/Photo/Enhancement/_Vivid Saturation" as menu label, this deprecated and will be an error in GIMP 3.0
Plug-in "script-fu"

...

with the last msg
gimp_check_updates_callback: loading of https://www.gimp.org/gimp_versions.json failed: Operation not supported


gimp is working fine with anything else, with script and plugins which are available in the menus
 
also no further errors while using or shutting it down

at for now last resource I did a reinstall this morning and it went smooth with no errors


I hope somebody can give me a help here
thanks
Comment 1 Michael 2021-11-02 08:36:46 UTC
probably invalid because of the version but the problem persist in 5.10.28, I believe it is because it is compiled --without-python what takes away the possibility to use py plugins which work without the dead gimp-python package
Comment 2 Dima Panov freebsd_committer 2021-11-02 15:29:16 UTC
Moin!

Currently gimp-app have dropped python support due to deprecation of python 2.7. This state is final and cannot be reverted by policy.

Please be patient, gimp3 is on the way and will be released soon with full python 3.x support and updated script-fu engine.

Dima, behalf of desktop@ team
Comment 3 Michael 2021-11-02 19:48:13 UTC
I see ...

understandable you switched it off, but there are a bunch of python plugins which run with python3 and pyhton2 can still be made usable

anyway, as you said, soon GIMP 3 is there with python3 enabled, patience of course is a difficult issue ... 

thanks