PDB Array parameters need to be preceded by a parameter specifying the number or elements
Submitted by jry..@..il.com
Link to original bug (#795141)
Description
Created attachment 370757 Takes an array as an input, and sends it back as a gimp_message().
The various arrays that you can apparently use in python plugins (according to the 'gimpenums' pydoc), prevent the plugin from loading if used as input parameters or return values. "PDB_INT32ARRAY", "PDB_STRINGARRAY", etc. None of them work.
If I'm simply using them wrong, their functionality needs to be documented somewhere, because no one seems to know what's going on: http://www.gimpusers.com/forums/gimp-user/20548-arrays-in-python
Included a minimalist python plugin demonstrating this as an attachment.
Attachment 370757, "Takes an array as an input, and sends it back as a gimp_message().":
array_input_debug.py
Edited by Michael Schumacher