desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #07710
[Bug 641157] Re: python-gconf makes QT app crash
We are closing this bug report because it lacks the information we need
to investigate the problem, as described in the previous comments.
Please reopen it if you can give us the missing information, and don't
hesitate to submit bug reports in the future. To reopen the bug report
you can click on the current status, under the Status column, and change
the Status back to "New". Thanks again!
** Changed in: gnome-python (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-python in Ubuntu.
https://bugs.launchpad.net/bugs/641157
Title:
python-gconf makes QT app crash
Status in “gnome-python” package in Ubuntu:
Expired
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-python/+bug/641157/+subscriptions