plugin help: not appearing in gimp - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +---- Forum: Scripting questions (https://www.gimp-forum.net/Forum-Scripting-questions) +---- Thread: plugin help: not appearing in gimp (/Thread-plugin-help-not-appearing-in-gimp) |
plugin help: not appearing in gimp - gimpygirl - 02-29-2024 Hi What's wrong with this code and why does it not appear in GIMP? What needs to be changed to make it work? Code: #!/usr/bin/env python RE: plugin help: not appearing in gimp - Adaddinsane - 03-02-2024 Using tabs and not spaces? (As a gimp/python newbie who suffered for several days with scripts randomly appearing and disappearing from the menu, and also not realising comments need to be indented too) RE: plugin help: not appearing in gimp - Ofnuts - 03-02-2024 Which is why the first thing to do is to run the script in command prompt outside of Gimp (yes, it' easier to do on Linux/OSX, but it can also be done in Windows): Bad code, will definitely not run when Gimp tries to make it register: Code: $python ggtest.py Worth trying (doesn't mean there are zero errors, but these will show when the script is used): Code: $python ggtest.py |