I am trying to python-fu script for gimp-2.0.1 on Debian
testing/sarge, but I must be doing something wrong because when I run
my script I get the following

[gnalle_~]% gimp          

GLib-ERROR **: could not allocate 1072693248 bytes
aborting...

And a window pops up saying that my plugin has crashed. 

I would be grateful for any hints and enlightening flames.

                        Niels L Ellegaard


PS: The plugin is here
[gnalle_~]% cat ~/.gimp-2.0/plug-ins/test.py 
#!/usr/bin/python
from gimpfu import *

def testme(timg, tdrawable, depth=3):
        depth = 9 

register(
        "testme",
        "Test",
        "Test",
        "Niels L Ellegaard",
        "Niels L Ellegaard",
        "2004",
        "<Toolbox>/testme",
        "RGB*, GRAY*",
        [
                (PF_INT, "depth", "Depth", 3)
        ],
        [],
        testme)

main()







-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/

_______________________________________________
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to