molly wrote:
here are the three calendar scripts and they are all different. I remember when he wrote them and they come up as dupes when I run the script.
sg-calendar.scm
sg-calendar-year.scm
sg-platonic-calendar.scm
If you have the latest version of 'sg-calendar.scm' then the 'sg-calendar-year.scm' file is not needed (as both commands are provided in the file).
Please delete the file 'sg-calendar-year.scm' and ensure you are using the latest version of
'sg-calendar.scm'.
MrBiggz wrote:
The fellow who wrote those scripts probably used his first and then just added on and saved with a different name. Which is not a good thing to do!
If I recall correctly, the calendar-year script was written over a year after the calendar script was
released and in its initial beta form was a separate file requiring that the calendar script also be installed. During the development of the "year" script -- a process based largely on interaction with and feedback from the members of this forum -- it became expedient to combine the two files into one for technical reasons. The existence of 'sg-calendar-year.scm' on molly's computer is a remnant of her having participated in that development process; it does not belong there.
The 'sg-platonic-calendar.scm' file is an exceptional case. It is an optional adjunct to the 'sg-calendar' script. If installed, it requires 'sg-calendar.scm' to also be present (and thus there should be no conflict with both scripts being installed simultaneously). It is currently the only script I've published that depends upon resources not available with a default GIMP install. While the platonic script could be re-written to avoid this dependency, both scripts are already quite large by Script-fu standards (an order of magnitude larger than typical) and given the rather singular purpose of the platonic script, it would not be justified to either double the size of the calendar script or to maintain code redundancy in two separate scripts.