Activity log for bug #865388

Date Who What changed Old value New value Message
2011-10-03 14:31:40 Tom Ellis bug added bug
2011-10-03 14:40:01 Tom Ellis description python-apt crashes when using a gtk element. Using the example from: http://apt.alioth.debian.org/python-apt-doc/library/apt.progress.gtk2.html This worked fine in before Oneiric's version of python-apt but now fails: Traceback (most recent call last): File "test.py", line 29, in <module> main() File "test.py", line 14, in main progress = apt.progress.gtk2.GtkAptProgress() File "/usr/lib/python2.7/dist-packages/apt/progress/gtk2.py", line 373, in __init__ self._progress_install = GInstallProgress(self._terminal) File "/usr/lib/python2.7/dist-packages/apt/progress/gtk2.py", line 130, in __init__ reaper = vte.reaper_get() AttributeError: 'module' object has no attribute 'reaper_get' ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: python-apt 0.8.0ubuntu8 ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4 Uname: Linux 3.0.0-12-generic x86_64 ApportVersion: 1.23-0ubuntu2 Architecture: amd64 Date: Mon Oct 3 15:09:11 2011 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111003) ProcEnviron: LANGUAGE=en_GB:en LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: python-apt UpgradeStatus: No upgrade log present (probably fresh install) ## Issue * python-apt crashes when using a gtk element. * Deprecated call from python-vte ## Environment Ubuntu 11.10 x86_64 python-apt 0.8.0ubuntu8 python-vte 0.28.0ubuntu2 ## Diagnostic steps 1. Using the example from: http://apt.alioth.debian.org/python-apt-doc/library/apt.progress.gtk2.html 2. Run example on an oneiric system This worked fine in before Oneiric's version of python-apt but now fails: Traceback (most recent call last):   File "test.py", line 29, in <module>     main()   File "test.py", line 14, in main     progress = apt.progress.gtk2.GtkAptProgress()   File "/usr/lib/python2.7/dist-packages/apt/progress/gtk2.py", line 373, in __init__     self._progress_install = GInstallProgress(self._terminal)   File "/usr/lib/python2.7/dist-packages/apt/progress/gtk2.py", line 130, in __init__     reaper = vte.reaper_get() AttributeError: 'module' object has no attribute 'reaper_get' ## Workaround ## Other info A gnome app, 'OnTV' faced a similar issue with the function and fixed it with this patch: http://mail.gnome.org/archives/commits-list/2011-February/msg00737.html ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: python-apt 0.8.0ubuntu8 ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4 Uname: Linux 3.0.0-12-generic x86_64 ApportVersion: 1.23-0ubuntu2 Architecture: amd64 Date: Mon Oct 3 15:09:11 2011 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111003) ProcEnviron:  LANGUAGE=en_GB:en  LANG=en_GB.UTF-8  SHELL=/bin/bash SourcePackage: python-apt UpgradeStatus: No upgrade log present (probably fresh install)
2011-10-03 14:40:14 Tom Ellis bug added subscriber Canonical PSE
2011-10-03 14:40:25 Tom Ellis tags amd64 apport-bug oneiric amd64 apport-bug customer-support oneiric pse
2011-10-03 15:12:36 Tom Ellis bug added subscriber Gustavo Yokoyama Ribeiro
2011-10-03 15:15:31 Tom Ellis attachment added test case from docs https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/865388/+attachment/2501610/+files/test.py
2011-10-03 15:35:10 Tom Ellis description ## Issue * python-apt crashes when using a gtk element. * Deprecated call from python-vte ## Environment Ubuntu 11.10 x86_64 python-apt 0.8.0ubuntu8 python-vte 0.28.0ubuntu2 ## Diagnostic steps 1. Using the example from: http://apt.alioth.debian.org/python-apt-doc/library/apt.progress.gtk2.html 2. Run example on an oneiric system This worked fine in before Oneiric's version of python-apt but now fails: Traceback (most recent call last):   File "test.py", line 29, in <module>     main()   File "test.py", line 14, in main     progress = apt.progress.gtk2.GtkAptProgress()   File "/usr/lib/python2.7/dist-packages/apt/progress/gtk2.py", line 373, in __init__     self._progress_install = GInstallProgress(self._terminal)   File "/usr/lib/python2.7/dist-packages/apt/progress/gtk2.py", line 130, in __init__     reaper = vte.reaper_get() AttributeError: 'module' object has no attribute 'reaper_get' ## Workaround ## Other info A gnome app, 'OnTV' faced a similar issue with the function and fixed it with this patch: http://mail.gnome.org/archives/commits-list/2011-February/msg00737.html ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: python-apt 0.8.0ubuntu8 ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4 Uname: Linux 3.0.0-12-generic x86_64 ApportVersion: 1.23-0ubuntu2 Architecture: amd64 Date: Mon Oct 3 15:09:11 2011 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111003) ProcEnviron:  LANGUAGE=en_GB:en  LANG=en_GB.UTF-8  SHELL=/bin/bash SourcePackage: python-apt UpgradeStatus: No upgrade log present (probably fresh install) ## Issue  * python-apt crashes when using a gtk element.  * Deprecated call from python-vte ## Environment Ubuntu 11.10 x86_64 python-apt 0.8.0ubuntu8 python-vte 0.28.0ubuntu2 ## Diagnostic steps 1. Using the example from: http://apt.alioth.debian.org/python-apt-doc/library/apt.progress.gtk2.html 2. Run example on an oneiric system This worked fine in before Oneiric's version of python-apt but now fails: Traceback (most recent call last):   File "test.py", line 29, in <module>     main()   File "test.py", line 14, in main     progress = apt.progress.gtk2.GtkAptProgress()   File "/usr/lib/python2.7/dist-packages/apt/progress/gtk2.py", line 373, in __init__     self._progress_install = GInstallProgress(self._terminal)   File "/usr/lib/python2.7/dist-packages/apt/progress/gtk2.py", line 130, in __init__     reaper = vte.reaper_get() AttributeError: 'module' object has no attribute 'reaper_get' ## Workaround * apply a small patch to gtk2.py 130,131c130,131 < reaper = vte.reaper_get() < reaper.connect("child-exited", self.child_exited) --- > self.terminal = vte.Terminal() > self.terminal.connect("child-exited", self.child_exited) * re-run test case ## Other info A gnome app, 'OnTV' faced a similar issue with the function and fixed it with this patch: http://mail.gnome.org/archives/commits-list/2011-February/msg00737.html ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: python-apt 0.8.0ubuntu8 ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4 Uname: Linux 3.0.0-12-generic x86_64 ApportVersion: 1.23-0ubuntu2 Architecture: amd64 Date: Mon Oct 3 15:09:11 2011 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111003) ProcEnviron:  LANGUAGE=en_GB:en  LANG=en_GB.UTF-8  SHELL=/bin/bash SourcePackage: python-apt UpgradeStatus: No upgrade log present (probably fresh install)
2011-10-03 15:40:35 Tom Ellis attachment added lp865388.patch https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/865388/+attachment/2501704/+files/lp865388.patch
2011-10-03 15:43:35 Jonathan Davies python-apt (Ubuntu): status New Confirmed
2011-10-03 16:11:28 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug customer-support oneiric pse amd64 apport-bug customer-support oneiric patch pse
2011-10-03 16:11:28 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2011-10-04 13:04:08 Michael Vogt python-apt (Ubuntu): status Confirmed In Progress
2011-10-04 13:04:09 Michael Vogt python-apt (Ubuntu): importance Undecided High
2011-10-04 13:04:17 Michael Vogt nominated for series Ubuntu Oneiric
2011-10-04 13:04:17 Michael Vogt bug task added python-apt (Ubuntu Oneiric)
2011-10-04 14:36:38 Launchpad Janitor branch linked lp:~mvo/python-apt/mvo
2011-10-04 14:39:02 Launchpad Janitor branch linked lp:~ubuntu-core-dev/python-apt/ubuntu
2011-10-04 18:24:41 Launchpad Janitor branch linked lp:python-apt
2011-10-05 01:06:56 Launchpad Janitor python-apt (Ubuntu Oneiric): status In Progress Fix Released
2011-10-05 02:15:11 Launchpad Janitor branch linked lp:ubuntu/python-apt
2011-10-20 19:33:58 Launchpad Janitor branch linked lp:debian/python-apt