=== modified file 'install-package.py'
--- install-package.py  2008-10-15 14:09:30 +0000
+++ install-package.py  2009-06-17 08:40:18 +0000
@@ -193,7 +193,11 @@
         self.resize(self.minimumSizeHint())

     def commit(self):
-        apt_pkg.PkgSystemLock()
+        try:
+            apt_pkg.PkgSystemLock()
+        except SystemError, e:
+            KMessageBox.sorry(None, e.message, i18n("Error"), 
KMessageBox.Notify)
+            sys.exit(1)
         if self.mode == "update":
             result = self._cache.update(self.fprogress)
         else:

-- 
python2.6 crashed with SystemError in commit()
https://bugs.launchpad.net/bugs/335897
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

Reply via email to