Color Space Invasion: Foggify not working
Environment/Versions
- GIMP version: GIMP_2_99_16-1343-g793d6e7d
- Package: Flatpak, compiled from source
- Operating System: Linux
Description of the bug
Fog plug-in fails on git master after Color Space Invasion. Confirmed to work on GIMP_2_99_16-1200-gf6ff7321 just before Space Invasion was merged.
Error console:
GIMP Warning
Plug-in 'Fog' left image undo in inconsistent state, closing open undo groups.
Terminal output:
(python-fu-foggify:40892): LibGimpUI-WARNING **: 21:51:10.406: gimp_procedure_dialog_get_widget: parameter color has non supported type GimpParamRGB for value type GimpRGB
Traceback (most recent call last):
File "/usr/local/lib/x86_64-linux-gnu/gimp/2.99/plug-ins/foggify/foggify.py", line 75, in foggify
Gimp.context_set_background(color)
TypeError: argument background: Expected Gegl.Color, but got gi.repository.Gimp.RGB
(python-fu-foggify:40892): LibGimp-WARNING **: 21:51:11.812: _gimp_procedure_run_array: no return values, shouldn't happen
/usr/local/lib/x86_64-linux-gnu/gimp/2.99/plug-ins/foggify/foggify.py:159: Warning: g_error_new: assertion 'domain != 0' failed
Gimp.main(Foggify.__gtype__, sys.argv)
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open an image
- Filters->Decor->Fog
- Click OK
…
Expected result: Script working
Actual result: TypeError