[PyKDE] Crashes with QAbstractListModel?
Phil Thompson
phil at riverbankcomputing.co.uk
Sat Jul 15 22:58:12 BST 2006
On Saturday 15 July 2006 10:50 pm, Jan Ekholm wrote:
> Hi,
>
> I've used PyQt 4.0 as released a while ago for some time now without major
> problems. Seems quite stable and is fun to work with (ok, I absolutely hate
> the QtCore.* and QtGui.* package names, they make the code far too verbose
> and prone to silly typos).
>
> However, I seem to always run into crashes when I use the
> QAbstractListModel together with a QListView in ListMode. I get no other
> meaningful output except:
>
> Fatal Python error: GC object already tracked
> Aborted
>
> When using IconMode the QListView shows the model data but crashes with a
> segmentation fault as soon as a row is clicked. I don't really know how to
> get more meaningful information about the crash. Hints are welcome.
>
> PyQt4 is compiled with sip-4.4.5 and uses Qt 4.1.2 from Kubuntu Dapper.
>
> Any ideas? Should one just not use the model/view stuff?
You need to post a short example that demonstrates the problem.
Phil
More information about the PyQt
mailing list