Re: Internal Pointers again... Was: [PyKDE] Model indexes and internal pointers

2006-09-19 Thread Phil Thompson
Phil et al: How much of a lost cause is this? I ask because I just got bit by this bug and ate up nearly a day trying to track down a very nasty seg fault. As Arve said in the original thread, Model-View programming is a core of QT and this issue makes it very difficult to successfully

Re: [PyKDE] PyQt4 Segmentation Fault - QTableView

2006-09-19 Thread Chris Dunscombe
Hi, I now have a simple script to demo the seg fault: from PyQt4.QtCore import * from PyQt4.QtGui import * class mainWindow(QMainWindow): def __init__(self, parent = None): QMainWindow.__init__(self, parent) self.centralWidget = QWidget()

Re: [PyKDE] PyQt4 Segmentation Fault - QTableView

2006-09-19 Thread Chris Dunscombe
Andreas, Thanks very much it's sorted now! Chris PS From what I could see there's no reference to this situation in the docs. --- Andreas Pakulat [EMAIL PROTECTED] wrote: On 19.09.06 08:44:32, Chris Dunscombe wrote: I now have a simple script to demo the seg fault: from PyQt4.QtCore

[PyKDE] pyuic4 problem

2006-09-19 Thread Detlev Offenbach
Hi, the attached form doesn't compile with pyuic4 of the latest snapshot. The debug output is - # -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'EmailDialog.ui' # # Created: Tue Sep 19 20:21:00 2006 # by: PyQt4 UI code generator

Re: Internal Pointers again... Was: [PyKDE] Model indexes and internal pointers

2006-09-19 Thread David Boddie
On Tuesday 19 September 2006 08:36:31 +0100 (BST), Phil Thompson wrote: Allen Bierbaum wrote: Phil et al: How much of a lost cause is this? I ask because I just got bit by this bug and ate up nearly a day trying to track down a very nasty seg fault. As Arve said in the original

[PyKDE] Re: Internal Pointers again... Was: Model indexes and internal pointers

2006-09-19 Thread Mike Rovner
Phil Thompson wrote: In my case I have wrappers around a scene graph (a tree structure for computer graphics). Anytime I call through to C++ and ask the tree nodes for children or parents, I get a python wrapper back. This wrapper is referencing a ref-counted class on the C++ side, but it is

Re: [PyKDE] [PyQt4] How to distribute an application.

2006-09-19 Thread David Boddie
On Sun, 17 Sep 2006 19:52:55 +0200, Javier Sanz wrote: What is the recommended way to distribute an application for PyQt4/Linux?. Most distros don't have PyQt4 available in their repositories. As an archive containing source code, or were you thinking about binary-only packages? Either way,