Re: Python-Fu doesn't seem to work.

Robin Rowe <[email protected]> Wed, 07 Apr 2010 10:13:41 -0700
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <1270660421.2194.130.camel@warbird>
Dirk,

Thanks for letting us know about the Python bug. We haven't heard from
any Python users in a long time. 

The code hasn't changed. I suppose that something changed in Python or
gcc, Unless someone with embedded Python expertise/interest wants to
volunteer, we have nobody to work on this plug-in.

Robin

On Sun, 2010-04-04 at 00:45 -0400, Dirk Mittler wrote:
> 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
> 


-- 
Robin Rowe
CinePaint Project Leader
Beverly Hills, California
www.CinePaint.org


------------------------------------------------------------------------------
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