Python-Fu doesn't seem to work.

Dirk Mittler <[email protected]> Sun, 04 Apr 2010 00:45:01 -0400
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
Hello again,

I've recently been playing with the version 0.25.0 which I just
compiled. And one sad fact is that on my Debian / Lenny build, with
Python 2.5, none of the 'Python-Fu plug-ins' seem to work. If I run
Cinepaint from the command line, then from an opened image, the message
I get when trying to apply the "Whirl & Pinch" effect in my 'Konsole'
terminal is:

/usr/local/lib/cinepaint/0.25.0/plug-ins/whirlpinch.py
*** glibc detected *** python: free(): invalid pointer: 0xb76b00a0 ***

However, when I try to activate a plug-in from the main Scripts menu,
such as 'Scripts -> Python-Fu -> Console', all I get is the message

/usr/local/lib/cinepaint/0.25.0/plug-ins/gimpcons.py

but no actual Python console opens up.

All of these plug-ins, including the in-program Python console, work
properly under GIMP for which I even installed the Debian add-ons
package 'gimp-python', but none of them seem to have a shadow of an
effect under Cinepaint.

What results have you guys been getting with this?
One opinion which I've seen under other Python postings, unrelated to
Cinepaint per se, is that this type of free() error can crop up, when
the Python calling context expects to receive a returned value, maybe
even an object which is to be destroyed later, but the function as
written returns no object. In that case something meaningless gets
passed to free() eventually.

I guess this is just one of the deep disadvantages to a language as
loosely defined as Python. Since we never need to declare anything, it
may be very hard to find that obscure function which was expected to
return something, but which fails to do so...

Dirk

-- 
You can visit my CGI at:

http://www.dirkmittler.net/GallIndex.htm
(Spelled ... lower-case el - el - Capital Eye ... ndex.htm) 


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev