Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New plugin: Rhodonea
#4
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.
Reply


Messages In This Thread
New plugin: Rhodonea - by Ottia Tuota - 03-24-2020, 06:43 PM
RE: New plugin: Rhodonea - by rich2005 - 03-24-2020, 07:20 PM
RE: New plugin: Rhodonea - by Ottia Tuota - 03-24-2020, 08:29 PM
RE: New plugin: Rhodonea - by neurolurker - 03-25-2020, 06:55 AM
RE: New plugin: Rhodonea - by Ottia Tuota - 03-25-2020, 03:07 PM

Forum Jump: