RSS/Atom feed Twitter
Site is read-only, email is disabled

Debian + Python-fu + noob -> GLib-ERROR **: could not allocate 1072693248 bytes

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Debian + Python-fu + noob -> GLib-ERROR **: could not allocate 1072693248 bytes Niels L. Ellegaard 06 Jun 20:32
Niels L. Ellegaard
2004-06-06 20:32:57 UTC (almost 20 years ago)

Debian + Python-fu + noob -> GLib-ERROR **: could not allocate 1072693248 bytes

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",
"/testme",
"RGB*, GRAY*",
[
(PF_INT, "depth", "Depth", 3) ],
[],
testme)

main()