Public bug reported: The following program runs normally (i.e. messages 'step1' 'step2' and 'step3' are dispalyed when run in a console, or when run from inside eric4. If it is automatically run at session startup (i.e. Menu->system->application launcher -sorry my ubuntu version is in french-), it silently crashes after displaying 'step1' and 'step2. Always reproducible when running the enclosed program
Environment : Ubuntu 9.10; Python2.6 version 2.6.4-0ubuntu3; gnome 2.28.1 build date nov 3rd 2009 test program : #!/usr/bin/env python # -*- coding: utf-8 -*- from PyQt4.QtCore import * from PyQt4.QtGui import QMessageBox, QApplication from mx.DateTime import * from collections import * import sys, mx.DateTime app = QApplication(sys.argv) maintenant=now() projet=u"Home" de=u"portable" vers=u"papou" delaiMax=7 d=u"2009-12-20 10:04:49.02" nJours=8 datedernierBackup=DateTimeFrom(d) QMessageBox.information(None,u" myBackup : délai expiré",'\nstep 1') print u'Le dernier backup de %s, de %s vers %s date du %s' % (projet, de, vers, d) QMessageBox.information(None,u" myBackup : délai expiré",'\nstep 2') print u"soit depuis %s jours, ppour un délai prescrit de %s jours" % (nJours, delaiMax) QMessageBox.information(None,u" myBackup : délai expiré",'\nstep 3') ** Affects: ubuntu Importance: Undecided Status: New -- Abnormal crash of python script when launched from session startup https://bugs.launchpad.net/bugs/501238 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs