Re: [PyQt] Disturbing evidence of garbage collection error

2012-04-30 Thread Hans-Peter Jansen
Dear Andrew, Am Sunday 29 April 2012 17:21:34 schrieb 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

Re: [PyQt] Disturbing evidence of garbage collection error

2012-04-30 Thread Andrew Suffield
On Mon, Apr 30, 2012 at 09:25:52AM +0200, Hans-Peter Jansen wrote: following Eriks suggestion of disabling the GC altogether would have given a valuable data point for your issue. Oh, I did try that. Everything works fine when GC is disabled. Vanishing still referenced local variables in a

[PyQt] ANN: New eric 5.3 snapshot released

2012-04-30 Thread detlev
/unstable/5.3-20120430 Regards Detlev -- Detlev Offenbach det...@die-offenbachs.de ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] SIP fails with syntax error on simple class inheritance

2012-04-30 Thread tuxor1337
Why does the attached sip-file always fail to be sipped with the following error message: sip: my_dialog.sip:15: syntax error (line 15 is class MyDialog : public QDialog {) I tried to use a configure.py or directly call sip command line, but it always fails with the same error message.

Re: [PyQt] SIP fails with syntax error on simple class inheritance

2012-04-30 Thread Phil Thompson
On Mon, 30 Apr 2012 12:27:03 +0200, tuxor1...@web.de wrote: Why does the attached sip-file always fail to be sipped with the following error message: sip: my_dialog.sip:15: syntax error (line 15 is class MyDialog : public QDialog {) I tried to use a configure.py or directly call sip

Re: [PyQt] SIP fails with syntax error on simple class inheritance

2012-04-30 Thread tuxor1337
Thanks for your quick response! What version of SIP are you using? Assuming it's older than v4.13.1 then you need to remove the public (as it says in the documentation for your version). Yes, you are right. I'm using 4.12.2, so next time I'm going to refer to the documentation provided with

[PyQt] sip fails with [CLASSNAME] has not been defined

2012-04-30 Thread tuxor1337
Hi all, maybe somebody can help me with this. I'm using SIP 4.12.2. My configure.py script is executing the following sip command line: /opt/python/bin/sip -c . -b ui/ui.sbf -I /opt/python/share/sip/PyQt4 -x PyQt_Accessibility -x PyQt_Cursor -x PyQt_ImageFormat_JPEG -x PyQt_Picture -x

Re: [PyQt] PyQwt and PyQt 4.9

2012-04-30 Thread mitja_mreza
Hello, I keep getting errors when trying PyQwt with PyQt 4.9.1 on Snow Leopard. I've tried the PyQwt version 5.2.0 as found on http://pyqwt.sourceforge.net/download.html as well as a 5.2.1 version PyQwt-5.2.1-cvs20100927-101816.tar.bz2 from OpenSuse, but neither seems to produce usable results.

Re: [PyQt] PyQwt and PyQt 4.9

2012-04-30 Thread William Kyngesburye
Well, though I seemed to have some initial success with it, it's not working for me now. I think what David Kaufman said is true - PyQwt does not work with PyQt 4.9. On Apr 30, 2012, at 8:42 PM, mitja_mr...@indiana.edu wrote: Hello, I keep getting errors when trying PyQwt with PyQt 4.9.1