Good Evening, ... I'm also running Archlinux and can reproduce the problem :-S If you (or somebody else) can tell me how to go on about it (probably off-list)...
Hello List, Before discussing the remainder of my post, I'd like you to verify that I have the right idea about Size and Dim in gamera: I picture a Rect to...
Am Sat, 17 Jan 2009 18:21:17 -0000 ... Hm, I fear the only way to do the porting is by running into the compilation errors and trying to fix them one by one. I...
Hi Georg, many thanks for spotting this! Incidentally this pointed me to another error in roman_text.py concerning x/y consistency. I have added your name to...
Dear Michael, just run into the problem that an image was destroyed before it could be displayed in the classifier dialog. It turned out that the cuplrit was...
I can't remember specifically why they were needed -- except that generally that would be a way to avoid memory leaks caused by cyclical references. It's...
Hello Christoph, ... That's great, thanks! :-) ... My incentive to put the two-argument signature in was to provide a simple non-ambiguous way to specify the...
Am Wed, 21 Jan 2009 19:35:44 +0100 ... Ok, this is a matter of philosophy: whether you prefer the Perl philosophy "there's more than seven ways to do it and...
Am Wed, 21 Jan 2009 19:35:44 +0100 ... Oh, sorry you are right, this does no longer matter. There once was the problem problem that in older versions of ...
Dear all, there is now a "Tutorial Introduction to the Gamera Framework" available from the Gamera homepage. See http://gamera.informatik.hsnr.de/#docs It is...
Dear all, I am currently trying to write a linear time median implementation, which is basically simply a wrapper around the STL algorithm nth_element(). ...
On Wed, Feb 4, 2009 at 10:54 AM, Christoph Dalitz ... Part of the problem is that given a Python list, you don't know whether it contains all ints or all...
Am Wed, 4 Feb 2009 11:14:51 -0500 ... Works great! I could use PyObject_RichCompare to define a "canonical" wrapper class around PyObject that can be used in...
That's correct. You're working with the raw Python C/API there, which being C does not have destructors, so reference counting must be handled manually. Mike ...
Am Fri, 6 Feb 2009 10:36:39 -0500 ... Is this also necessary when the return value is constructed with Py_BuildValue? That is, does the following work return...
... Eventually, I have found an explanation on http://docs.python.org/extending/extending.html#ownership-rules When Py_BuildValue is called, Py_INCREF is not...
Hallo, I have added a new class "canonicPyObject" to gameracore.so that is used in a new plugin in listutilities.py. Strangely, whenever I try to load my new...
Have you tried forcing a full rebuild (by removing the build directory?) I've seen similar things because distutils doesn't track header file dependencies. ...
Am Mon, 9 Feb 2009 07:28:49 -0500 ... Yes, I had rebuilt everything and checked in the logs that gameracore.so indeed was recompiled and my new cpp file...
Ok -- I see how this is built now. Plugins don't (can't?) link against gameracore.so. Instead, they import it through the Python API and then pull the...
Am Mon, 9 Feb 2009 08:30:16 -0500 ... Ah, I see. I have now explicitly linked against my object with the following line in the plugin specification: ...
You can add the path to the .cpp file using cpp_sources instead. But as you say, if you inline everything that won't be necessary anyway. Cheers, Mike On Mon,...
Hello, yet another somewhat crazy question... I would like to make a free plugin function (median) available under the same name on the C++ and Python side. ...
Hi All: Just found out about Gamera, and tried to install it on my FreeBSD development box. Unfortunately, it appears the gamera_setup.py file needs to be...
Welcome David! ... Additional include and lib directories can be added over the environment variables CFLAGS and LDFLAGS, e.g. CFLAGS=-I/usr/local/include ...