Public bug reported:

I am currently trying to build a QT App with PyQT4 and gconf. When
importing gconf, the app crashes:


My sample app:

import sys, os
from PyQt4.QtGui import *
from PyQt4.QtCore import *
import gconf


########################################################################
# Main function
########################################################################
def main(args):

        
        # Get App
        App = QApplication(args)
        
        # Get MainWindow
        MainWindow = QMainWindow()
        MainWindow.show()

        # Exec App & return exit statement from App
        sys.exit(App.exec_())


########################################################################
# 
########################################################################
if __name__=="__main__":
        main(sys.argv)



The output:
$ python  c_main2.py
Segmentation fault



If I remove the 'import gconf' statement, the app works fine.


$ lsb_release -rd
Description:    Ubuntu 10.04 LTS
Release:        10.04


$ apt-cache policy python-gconf
python-gconf:
  Installé : 2.28.0-1ubuntu1
  Candidat : 2.28.0-1ubuntu1
 Table de version :
 *** 2.28.0-1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status


$ apt-cache policy python-qt4
python-qt4:
  Installé : 4.7.3-1ubuntu2~lucid1~ppa2
  Candidat : 4.7.3-1ubuntu2~lucid1~ppa2
 Table de version :
 *** 4.7.3-1ubuntu2~lucid1~ppa2 0
        500 http://ppa.launchpad.net/canonical-dx-team/une/ubuntu/ lucid/main 
Packages
        100 /var/lib/dpkg/status
     4.7.2-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages

** Affects: gnome-python (Ubuntu)
     Importance: Undecided
         Status: New

-- 
python-gconf makes QT app crash
https://bugs.launchpad.net/bugs/641157
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-python in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to