I was able to reproduce the problem with a C++ Qt app. I'll post a bug report with Trolltech support.
Thanks -Selim Selim Tuvi, Research Engineering Group, SLAC GLAST, I&T Online, MS 98 Tel:650-926-3376 Fax:650-926-4335 -----Original Message----- From: Phil Thompson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 2:22 PM To: Tuvi, Selim Cc: [EMAIL PROTECTED] Subject: Re: Python crash with qtsql.QSqlDatabase On Tuesday 04 May 2004 12:48 am, Tuvi, Selim wrote: > Not sure if this is a Qt bug or a PyQt bug but I am getting a crash on the last line of the following session (db.open()): > >>> from qt import * > >>> from qtsql import * > >>> a = QApplication() > >>> import sys > >>> a = QApplication(sys.argv) > >>> db = QSqlDatabase.addDatabase('QMYSQL3') > >>> db.isOpen() > > False > > >>> db.open() > > Granted, I am trying to open the database without specifying the host, the > name or the user id but I was expecting an exception. > > Running on Windows XP, SIP 4 (snapshot-20040411), PyQt 3.11 commercial, Qt > 3.3.1 academic. It works as expected on Linux - which would suggest it's not a PyQt problem. Can you tell where it's crashing? Phil _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
