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'
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: gtk2.GtkAptProg ress() python2. 7/dist- packages/ apt/progress/ gtk2.py" , line 373, in __init__ _progress_ install = GInstallProgres s(self. _terminal) python2. 7/dist- packages/ apt/progress/ gtk2.py" , line 130, in __init__
Traceback (most recent call last):
File "test.py", line 29, in <module>
main()
File "test.py", line 14, in main
progress = apt.progress.
File "/usr/lib/
self.
File "/usr/lib/
reaper = vte.reaper_get()
AttributeError: 'module' object has no attribute 'reaper_get'
ProblemType: Bug ature: Ubuntu 3.0.0-12.19-generic 3.0.4
DistroRelease: Ubuntu 11.10
Package: python-apt 0.8.0ubuntu8
ProcVersionSign
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)