Common issues and solutions for the GIMP AI Plugin.
First time installing? Check the INSTALL.md guide for complete step-by-step instructions.
Symptoms: No "AI" submenu under Filters menu
Solutions:
-
Verify you installed BOTH files in the correct structure:
plug-ins/ └── gimp-ai-plugin/ ← Must be this exact folder name ├── gimp-ai-plugin.py ← Required file #1 └── coordinate_utils.py ← Required file #2 -
Check plugin directory location for your OS:
- macOS:
~/Library/Application Support/GIMP/3.1/plug-ins/gimp-ai-plugin/(or 3.0) - Linux:
~/.config/GIMP/3.1/plug-ins/gimp-ai-plugin/(or 3.0) - Windows:
%APPDATA%\GIMP\3.1\plug-ins\gimp-ai-plugin\(or 3.0)
Tip: See INSTALL.md for detailed instructions on finding these directories.
- macOS:
-
Check file permissions (Linux/macOS):
chmod +x ~/path/to/gimp-ai-plugin/gimp-ai-plugin.py -
Restart GIMP completely (quit and reopen, don't just close windows)
-
Check GIMP version: Plugin requires GIMP 3.0.4+ or 3.1.x
- In GIMP:
Help→About GIMP
- In GIMP:
-
Check GIMP Error Console for any error messages:
- In GIMP:
Windows→Dockable Dialogs→Error Console
- In GIMP:
Symptoms: Plugin installed but not loading
Solution: Check your GIMP version:
- Open GIMP → Help → About GIMP
- Use matching directory (3.0 vs 3.1)
- Install in correct version-specific folder
Symptoms: Plugin appears but crashes when used, or error about missing module
Solution: You need BOTH files for the plugin to work:
- Make sure
coordinate_utils.pyis in the same folder asgimp-ai-plugin.py - Both files must be in the
gimp-ai-pluginsubdirectory - Download the release ZIP from GitHub to get both files together
Tip: The release ZIP package includes both files in the correct structure. See INSTALL.md Step 1.
Symptoms: Error dialog when trying to use any AI feature
Solutions:
- Go to
Filters > AI > Settings(if available) - Or use any AI feature and click "Configure" in the error dialog
- Enter your OpenAI API key
- Settings are automatically saved to GIMP preferences
Symptoms: "Authentication failed" or similar errors
Solutions:
- Verify API key: Copy from OpenAI dashboard exactly
- Check key format: Should start with
sk- - Test key: Try in OpenAI playground first
- Account status: Ensure OpenAI account has credits
Symptoms: Need to re-enter API key every restart
Solutions:
- Check GIMP preferences directory permissions
- Manual config location (if needed):
- macOS:
~/Library/Application Support/GIMP/3.1/gimp-ai-plugin/config.json - Linux:
~/.config/GIMP/3.1/gimp-ai-plugin/config.json - Windows:
%APPDATA%\GIMP\3.1\gimp-ai-plugin\config.json
- macOS:
"Python not found" error:
- GIMP 3.x includes Python - shouldn't happen
- If it does, reinstall GIMP from official source
Permission denied errors:
xattr -d com.apple.quarantine ~/Library/Application\ Support/GIMP/3.1/plug-ins/gimp-ai-plugin.pyPlugin directory doesn't exist:
mkdir -p ~/.config/GIMP/3.1/plug-ins/gimp-ai-plugin/Python import errors:
- Check if GIMP was compiled with Python support
- Some package managers have GIMP without Python
Flatpak GIMP:
- Plugin directory:
~/.var/app/org.gimp.GIMP/config/GIMP/3.1/plug-ins/gimp-ai-plugin/ - May have restricted network access
Path not found:
- Use Windows Explorer to navigate to
%APPDATA%\GIMP\3.1\plug-ins\gimp-ai-plugin\ - Create directory if it doesn't exist
Antivirus blocking:
- Some antivirus software blocks .py files
- Add plugin directory to exceptions
Symptoms: Operations fail with timeout messages
Solutions:
- Check internet connection
- Firewall/proxy: Ensure HTTPS traffic allowed
- Corporate networks: May block OpenAI API
- Large images: Try smaller images first
Symptoms: API calls rejected with rate limit error
Solutions:
- Wait and retry: OpenAI has rate limits
- Check usage: Review OpenAI dashboard
- Upgrade plan: If on free tier, consider paid plan
Symptoms: Operations take very long to complete
Solutions:
- Image size: Try images under 1024px first
- Network speed: Check internet connection
- Server load: OpenAI API can be slower during peak times
Symptoms: Inpainting fails even with selection
Solutions:
- Make selection before running inpainting
- Check selection visibility: View → Show Selection
- Refresh selection: Select → None, then reselect
Symptoms: GIMP closes unexpectedly
Solutions:
- Check GIMP Error Console: Windows → Error Console
- Update GIMP: Use latest 3.1.x if possible
- Reduce image size: Try smaller images
- Report bug: Include error console output
Symptoms: Error in coordinate calculations
Solutions:
- Check image dimensions: Very unusual sizes may fail
- Selection bounds: Ensure selection is within image
- Try simple rectangular selection first
- Resize large images before processing
- Use smaller selections for inpainting
- Simple prompts process faster than complex ones
- Check this guide for common solutions
- Try with a simple test image (small, basic selection)
- Check GIMP Error Console for detailed errors
- Test internet connection and API key independently
Include this information:
- OS and version (e.g., "Windows 11", "Ubuntu 22.04", "macOS Ventura")
- GIMP version (exact version from Help → About)
- Plugin version (0.8.0-beta)
- Error messages from GIMP Error Console
- Steps to reproduce the issue
- Image details (size, format, what you were trying to do)
**Platform**: [Windows/Linux/macOS + version]
**GIMP Version**: [e.g., 3.1.2]
**Issue Type**: [Installation/Configuration/Runtime/Performance]
**Description**: [What happened vs what you expected]
**Error Messages**: [Any error dialog text or console output]
**Steps**: [Exact steps to reproduce]
**Image Details**: [Size, format, selection details if relevant]
Currently, debug output goes to GIMP's Error Console:
- View logs: Windows → Dockable Dialogs → Error Console
- Clear logs: Right-click in console → Clear
- Save logs: Copy text from console for bug reports
- Restart GIMP often resolves temporary issues
- Try smaller images if processing fails
- Use simple selections (rectangles) for testing
- Test with basic prompts like "blue sky" or "green grass"
This troubleshooting guide will be updated based on beta feedback. Report new issues on GitHub!