[PyKDE] segmentation fault
phil at river-bank.demon.co.uk
Fri Jan 12 18:14:45 GMT 2001
> Carlos Miguel wrote:
> I'm creating a small application for accesing a MySQL database.
> The general layout of my application is a Main Form (which inherits
> QDialog) which display the list of all records from a particular
> table, and another form (a "detail" form) which is used to update the
> actual data (it inherits QDialog too, and when called, its parent is
> set to the Main Form). Everything seemed to work fine until I finished
> all the forms for each table in the database, and decided to create a
> fancy menu/form launcher based also on QDialog.
> The menu is made up of QPushbuttons, each one calling a different
> dialog, everything seems to work fine, until I try to add or modify a
> record (which would load up the "detail" form), sometimes python
> complains about a Type Error while trying to execute QDialog's
> constructor (sip complains too: sip.call_ctor or something like that),
> or sometimes it just segfaults.
> I've tried to debug the code, but even when I try to print the objects
> representation (to see their type), this causes the application to
> segfault too
> I know I'm not being very specific, I was hoping somebody had stepped
> into a similar problem and offered me some advice.
Which version of PyQt? If you are using 2.2 you might want to try
2.3pre1 in http://www.river-bank.demon.co.uk/software/private.
More information about the PyQt