Re: [PyQt] Disturbing evidence of garbage collection error

2012-04-29 Thread Andrew Suffield
On Sun, Apr 29, 2012 at 03:51:43PM +0100, Phil Thompson wrote: > You might try keeping explicit references to any objects involved in the > query where you might be expecting PyQt to keep the reference for you. At the point when it gets collected, it's still in scope as a local variable of the pyt

Re: [PyQt] Disturbing evidence of garbage collection error

2012-04-29 Thread Phil Thompson
On Sat, 28 Apr 2012 12:14:14 +0100, Andrew Suffield wrote: > On Sat, Apr 28, 2012 at 01:05:37PM +0200, Erik Janssens wrote: >> which version of PyQt are you using ? >> >> When in older versions (I think something like 2 releases ago), >> the garbage collection kicks in in a thread and it deletes

Re: [PyQt] pyqtSlot, getting "undefined" return values when called from qml javascript

2012-04-29 Thread Phil Thompson
On Sat, 28 Apr 2012 00:57:47 +0300, "Ville M. Vainio" wrote: > I have a qml file invoking methods on a QObject subclass. I have used > @pyqtSlot decorator to expose the methods as slots. > > I can see that the methods are run; however, the return values seem to > be discarded. > > Code for the Q