Debugging register function for registration of a python plugin under Windows XP
I've started writing plugins in Python for GIMP but have so far only been able
to successfully register a plugin via the following form:
# in C:\Program Files\GIMP 2_8\lib\gimp\2.0\plug-ins
N_("Adjust layers to the current animation-frame."),
N_("_Synchronize Layers to Current Frame"),
Changing the leading category from "<Toolbox>" to "<Image>" or "<Layer>" seems
to immediately break something and cause GIMP to skip over the script, as does
adding tuples to describe parameters to the first list.
I'm aware that Linux users can see what errors are raised by register during
startup but I'm not aware of how to do this with Windows. The Error Console and
builtin Python shell seem only to display errors from plugins that are able to
first load in correctly and show no record of what GIMP did while it was
loading. After I'm past that, things are straight-forward, but at present I have
no idea what I'm doing right or wrong as I register a function and currently
have to "pass" parameters to plugins in some awkward ways, unable to achieve
gimpfu registration with parameters. To avoid this, I need to debug the register
function's registration, which happens at startup, where errors are hidden.
How do I avoid flying blind on Windows (XP) with GIMP 2.8.8?
SeldomNeedy (via www.gimpusers.com/forums)
gimp-user-list mailing list
List address: email@example.com
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives: https://mail.gnome.org/archives/gimp-user-list