Circuit script runs into error
Environment/Versions
- GIMP version: GIMP_2_99_16-661-g4fc9daed
- Package: Built from source
- Operating System: Linux
Description of the bug
Hopefully the last script-fu bug for now.
Stricter validation in GIMP_2_99_16-661-g4fc9daed makes the Circuit script error out. See bottom of report for terminal output.
(Before this commit the script caused a segfault, so validation was clearly needed.)
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open an image
- Filters->Render->Circuit
- Click OK
…
Expected result: Filter working
Actual result: Filter errors out
Additional information
In error console:
GIMP Warning
Plug-in 'Circuit' left image undo in inconsistent state, closing open undo groups.
In the terminal:
(script-fu:251533): LibGimpConfig-WARNING **: 02:00:51.355: gimp_config_class_init: not supported: GParamUChar (tileable | guchar)
(script-fu:251533): LibGimpConfig-WARNING **: 02:00:51.355: gimp_config_class_init: not supported: GParamUChar (algorithm | guchar)
(script-fu:251533): GLib-GObject-CRITICAL **: 02:00:51.355: g_object_set_is_valid_property: object class 'GimpProcedureConfig-plug-in-maze' has no property named 'tileable'
(script-fu:251533): GLib-GObject-CRITICAL **: 02:00:51.355: g_object_set_is_valid_property: object class 'GimpProcedureConfig-plug-in-maze' has no property named 'algorithm'
(script-fu:251533): LibGimp-CRITICAL **: 02:00:51.355: _gimp_procedure_config_get_values: assertion 'n_pspecs == n_values + n_aux_args + 1' failed
scriptfu-Message: 02:00:51.355: Error while executing script-fu-circuit:
Error: Procedure execution of plug-in-maze failed on invalid input arguments: Procedure 'plug-in-maze' has been called with value '<not transformable to string>' for argument 'image' (#2, type GimpImage). This value is out of range.