Re: [PyQt] Bug in sip.voidptr?

2010-12-11 Thread Phil Thompson
On Fri, 10 Dec 2010 15:56:23 -0500, Nathan Weston nat...@genarts.com wrote: I think I've found a bug when constructing sip.voidptr from an integer. This statement: sip.voidptr(2**31) raises an exception: TypeError: a single integer, Capsule, CObject, None or another voidptr is required

[PyQt] QSqlTableModel and submitAll

2010-12-11 Thread Michele Petrazzo - Unipex
Hi all, I have a piece of code where I connect a sqlite db to a QSqlDatabase, I pass it to QSqlTableModel set it to a qtableview. The db has some foreign keys / unique feature that are honored by the sqlite command line correctly. All works except that the I save the modified table with the

[PyQt] Issue with latest PyQt snapshots

2010-12-11 Thread Detlev Offenbach
Hi, I've upgraded to the latest PyQt snapshots and immediately got this error: class 'KeyError': 'there is no matching overloaded signal' The code in question is: self.finished[QNetworkReply].connect(self.__class__.primaryManager.finished) where self is an object of a class derived from

Re: [PyQt] Issue with latest PyQt snapshots

2010-12-11 Thread Phil Thompson
On Sat, 11 Dec 2010 12:13:48 +0100, Detlev Offenbach det...@die-offenbachs.de wrote: Hi, I've upgraded to the latest PyQt snapshots and immediately got this error: class 'KeyError': 'there is no matching overloaded signal' The code in question is:

Re: [PyQt] Issue with latest PyQt snapshots

2010-12-11 Thread Detlev Offenbach
On Samstag, 11. Dezember 2010, Phil Thompson wrote: On Sat, 11 Dec 2010 12:13:48 +0100, Detlev Offenbach det...@die-offenbachs.de wrote: Hi, I've upgraded to the latest PyQt snapshots and immediately got this error: class 'KeyError': 'there is no matching overloaded signal' The

[PyQt] building pyqt and qt.conf

2010-12-11 Thread Erik Janssens
Hi, I was trying to build the latest snapshot of PyQt and for a reason I don't understand, PyQt would always build against QT installed on the system, despite pointing it explicitly to a custom QT build using the -q option. After many hours of looking, I found this was due to the fact that I had

Re: [PyQt] building pyqt and qt.conf

2010-12-11 Thread Phil Thompson
On Sat, 11 Dec 2010 14:31:08 +0100, Erik Janssens erik.janss...@conceptive.be wrote: Hi, I was trying to build the latest snapshot of PyQt and for a reason I don't understand, PyQt would always build against QT installed on the system, despite pointing it explicitly to a custom QT build

Re: [PyQt] building pyqt and qt.conf

2010-12-11 Thread Erik Janssens
ok, thanks ! my build script now temporary removes qt.conf when building pyqt... On Sat, Dec 11, 2010 at 5:35 PM, Phil Thompson p...@riverbankcomputing.com wrote: On Sat, 11 Dec 2010 14:31:08 +0100, Erik Janssens erik.janss...@conceptive.be wrote: Hi, I was trying to build the latest

Re: [PyQt] Next Releases of SIP, PyQt and QScintilla

2010-12-11 Thread Phil Thompson
On Fri, 10 Dec 2010 11:49:00 +0100, Tóth Csaba csaba.t...@i3rendszerhaz.hu wrote: Hey Phil, attached there is a patch what fixes a dependencie of pylupdate. I'm sure you can write it better, this was a quick fix. Thanks - instead I've just removed the dependency. Phil

Re: [PyQt] Next Releases of SIP, PyQt and QScintilla

2010-12-11 Thread Tóth Csaba
2010.12.11. 18:29 keltezéssel, Phil Thompson írta: On Fri, 10 Dec 2010 11:49:00 +0100, Tóth Csaba csaba.t...@i3rendszerhaz.hu wrote: Hey Phil, attached there is a patch what fixes a dependencie of pylupdate. I'm sure you can write it better, this was a quick fix. Thanks - instead I've just

Re: [PyQt] Next Releases of SIP, PyQt and QScintilla

2010-12-11 Thread Phil Thompson
On Sat, 11 Dec 2010 18:44:52 +0100, Tóth Csaba csaba.t...@i3rendszerhaz.hu wrote: 2010.12.11. 18:29 keltezéssel, Phil Thompson írta: On Fri, 10 Dec 2010 11:49:00 +0100, Tóth Csaba csaba.t...@i3rendszerhaz.hu wrote: Hey Phil, attached there is a patch what fixes a dependencie of pylupdate.

Re: [PyQt] Issue with latest PyQt snapshots

2010-12-11 Thread Phil Thompson
On Sat, 11 Dec 2010 13:16:50 +0100, Detlev Offenbach det...@die-offenbachs.de wrote: On Samstag, 11. Dezember 2010, Phil Thompson wrote: On Sat, 11 Dec 2010 12:13:48 +0100, Detlev Offenbach det...@die-offenbachs.de wrote: Hi, I've upgraded to the latest PyQt snapshots and immediately

[PyQt] PyQt crash on windows soon after instantiating Qt objects

2010-12-11 Thread Blaine Bell
Hi, I have two objects that are each subclassing QGraphicsView and QMainWindow, and I am getting the same behavior for both. Soon after I instantiate one of these objects, the process crashes. I have found that the event(QEvent *) function gets called quite a few times, then the crash

Re: [PyQt] PyQt crash on windows soon after instantiating Qt objects

2010-12-11 Thread Erik Janssens
Hello Blaine, crashes are always interesting. can you create an as small as possible example that crashes ? if possible, run it in a debugger as well, to see where exactly it crashes, eg withing qt or pyqt or something else... Erik On Sun, Dec 12, 2010 at 2:38 AM, Blaine Bell