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.

Thanks
-Selim

Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
Tel:650-926-3376 Fax:650-926-4335
 

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to