Gimp-Forum.net
Testing Script attachments - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: Testing Script attachments (/Thread-Testing-Script-attachments)



Testing Script attachments - Kevin - 10-11-2016

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.


RE: Testing Script attachments - Ofnuts - 10-11-2016

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


RE: Testing Script attachments - Kevin - 10-11-2016

I've not got a problem with zipping either Pythons or Script-Fus, it just means explicitly explaining about extraction.


RE: Testing Script attachments - Poupée-Chaussette - 10-11-2016

Trying a 7z


RE: Testing Script attachments - Rod - 10-15-2016

Well code is still allowed so no biggy.  Smile


Code:
my code here



RE: Testing Script attachments - Ofnuts - 10-15-2016

(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).