Re: [PyQt] [PyKDE] KCrash, sometimes even glibc

2007-08-28 Thread Henrik Pauli
On Monday 27 August 2007, Phil Thompson wrote: Crashes on exit have two causes... - PyQt bugs related to object ownership - C++ objects being deleted in the wrong order (because Python objects are being garbage collected in a fairly random order). To debug these... - Always use current

[PyQt] Crash in KMainWindow.saveProperties() [small sample C++/Python code provided]

2007-08-28 Thread Adeodato Simó
Hello. I'm getting the same backtrace as mentioned in [1]. Please find attached a minimal C++ example application that successfully saves its state, and a Python equivalent that crashes when logging out of KDE. Note that the crash is not related to using config, just providing an empty

Re: [PyQt] Crash in KMainWindow.saveProperties() [small sample C++/Python code provided]

2007-08-28 Thread Jim Bublitz
On Tuesday 28 August 2007 11:10, Adeodato Simó wrote: Hello. I'm getting the same backtrace as mentioned in [1]. Please find attached a minimal C++ example application that successfully saves its state, and a Python equivalent that crashes when logging out of KDE. Note that the crash is not

Re: [PyQt] Crash in KMainWindow.saveProperties() [small sample C++/Python code provided]

2007-08-28 Thread Adeodato Simó
* Jim Bublitz [Tue, 28 Aug 2007 12:56:19 -0700]: On Tuesday 28 August 2007 11:10, Adeodato Simó wrote: Hello. I'm getting the same backtrace as mentioned in [1]. Please find attached a minimal C++ example application that successfully saves its state, and a Python equivalent that

Re: [PyQt] Help on resizing a custom widget

2007-08-28 Thread skawaii
David Boddie wrote: It sounds like you have a widget in a dialog, but you're not using a layout manager, so nothing is resizing the widget. I wrote a tutorial for EuroPython last year that covered the basic principles of PyQt:

Re: [PyQt] Crash in KMainWindow.saveProperties() [small sample C++/Python code provided]

2007-08-28 Thread Adeodato Simó
* Adeodato Simó [Tue, 28 Aug 2007 22:30:36 +0200]: Do you think there's a chance a newer version of PyKDE could help? Oh my. I built 3.16 from source (it's not in Debian yet, I'm afraid) and it... works! Thanks for confirming it worked for you, which triggered me to build the new version. :)

[PyQt] PyQt4.3 and stackless python 2.5.1 working?

2007-08-28 Thread Michael Guntsche
Hi list, I recently played around a little bit with stackless python and also wanted to try it together with PyQt to see how lightweight threading works. The problem is that it look like stackless and pyqt4 do not like each other very much. from PyQt4 import QtCore gives me a Bus error

Re: [PyQt] sip segfaults while using eric4

2007-08-28 Thread Christof Hanke
Phil Thompson wrote: Ok, I found a pretty quick way to crash it. * You open eric4. * Go to Project- Version Control - New From Repository * Select Subversion(svn) * Hit Ok and voila, it crashes (at least for me). I still can't reproduce it. Well, I can reproduce it on a clean RHEL 4