You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
undo tool crashes: 'Image' object has no attribute 'undo' #42
Calling the undo MCP tool always fails with an AttributeError instead of undoing the last operation. (Suspect redo has the same bug, untested.)
Steps to reproduce
Start the GIMP MCP server (Tools > MCP > Start MCP Server)
Create/open any image and perform any edit, e.g. fill_layer(color="#4169E1")
Call the undo tool
Expected
The last operation is undone.
Actual
Error executing tool undo: undo failed: 'Image' object has no attribute 'undo'
Likely cause
GIMP 3.2's PyGObject Gimp.Image object has no .undo() method. This should likely go through the PDB instead, e.g. the gimp-image-undo procedure (and gimp-image-redo for the redo tool):
Activity