03-25-2020, 06:55 AM
Hello. Thanks for sharing your work!
"If somebody tells that it is allright now, I'll add the line to my three other plugins. "
EXECUTIVE SUMMARY: Ottia Tuota, things are allright now.
THE FINE PRINT: As I recall, if the initialization string [#!/usr/bin/env python] wasn't the first line in a python file, in a Windows setting at its most basic level, the plug-in didn't even show up in the designated GIMP menu. Over three GIMP user forums I don't recall anyone offering a reason why the string position was necessary in Windows but not in other settings. For myself, I simply started adding the string as a matter of routine when I would download a python script and the string wasn't there.
Tonight I find some things seem to have changed in the last couple of years but I've no idea whether the changes were in Windows or GIMP or Python or all three. I removed the initializing line from "Rhodonea" and the plugin DID appear in the GIMP menu, but it also displayed errors, but it also ran. When I replaced the string, Rhodonea appeared in the menu and ran without error messages.
Seems to be a bewildering "quirk" or "feature" for programmers and users alike.
"If somebody tells that it is allright now, I'll add the line to my three other plugins. "
EXECUTIVE SUMMARY: Ottia Tuota, things are allright now.
THE FINE PRINT: As I recall, if the initialization string [#!/usr/bin/env python] wasn't the first line in a python file, in a Windows setting at its most basic level, the plug-in didn't even show up in the designated GIMP menu. Over three GIMP user forums I don't recall anyone offering a reason why the string position was necessary in Windows but not in other settings. For myself, I simply started adding the string as a matter of routine when I would download a python script and the string wasn't there.
Tonight I find some things seem to have changed in the last couple of years but I've no idea whether the changes were in Windows or GIMP or Python or all three. I removed the initializing line from "Rhodonea" and the plugin DID appear in the GIMP menu, but it also displayed errors, but it also ran. When I replaced the string, Rhodonea appeared in the menu and ran without error messages.
Seems to be a bewildering "quirk" or "feature" for programmers and users alike.