Gimp-Forum.net

Full Version: Testing Script attachments
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Let's see if the forum will allow me to attach a script-fu .scm file

Please correct the following errors before continuing:
  • The type of file that you attached is not allowed. Please remove the attachment or choose a different type.
And Python .py ?

Please correct the following errors before continuing:
  • The type of file that you attached is not allowed. Please remove the attachment or choose a different type.
And a Zip:

[attachment=21]

And 7z:

Please correct the following errors before continuing:
  • The type of file that you attached is not allowed. Please remove the attachment or choose a different type.
So in conclusion, only .zip is allowed.
I have enabled 7z (but not .rar).

I pondered .py and .scm... For .py,

  1. it could be executed by default on Windows, so it's a security problem
  2. for Linux & OSX, it's the opposite, it won't be executable by default, and you have to remind everybody to set the flag (something that many OSX people don't know how to do), but if you package it in a .zip or 7z, it gets the executable flag automatically when you unzip. You can think that this is in contradiction with 1), but at least the user had to 1) explicitly unzip the file and 2) manually invoke it...
I agree this isn't a problem with .scm, but then I would have to explain why .scm and not .py Smile
I've not got a problem with zipping either Pythons or Script-Fus, it just means explicitly explaining about extraction.
Trying a 7z
Well code is still allowed so no biggy.  Smile


Code:
my code here
(10-15-2016, 01:34 AM)Rod Wrote: [ -> ]Well code is still allowed so no biggy.  Smile


Code:
my code here

The is a limit on posts size (about 32K).