(01-08-2025, 04:48 PM)Deedolith Wrote: Thanks for the help,
Indeed it was an argument error.
Guess the tutorial I followed is outdated: https://testing.docs.gimp.org/2.10/en/gi...-in-basics
Any up to date links suggested ?
(01-08-2025, 08:45 AM)gasMask Wrote: I don't know your coding experience, but VS Code will help you catch frustrating errors and teach useful code habbits.I have very good experience with languages such as C++ or VB.Net, but I am fairly "green" with python.
Also, I am using Visual Studio, alas it does not support Gimp nativelly (unsure if I can configure it to do so).
No better suggestion but you can report that the tutorial is wrong.
Personally I'm using PyCharm (I used a plain editor for Gimp 2.10 scripts). I eventually managed to make it understand the Gimp GI imports, so I have some modicum of code completion. And I tend to pepper my code with type hints so PyCharm catches many things before I even try to run the code (with Python 2.7 the first runs were mostly used to fix syntax errors...).