Bug#573009: python-debian: exception when importing debian_bundle.changelog if python-apt is not installed
arno renevier
arno at renevier.net
Mon Mar 8 09:10:23 UTC 2010
Package: python-debian
Version: 0.1.14
Severity: normal
Hi,
if python-apt is not installed, trying to import debian_bundle.changelog
results in following exception
>>> import debian_bundle.changelog
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.5/debian_bundle/changelog.py", line 30, in <module>
import debian_support
File "/usr/lib/pymodules/python2.5/debian_bundle/debian_support.py", line 26, in <module>
import apt_pkg
ImportError: No module named apt_pkg
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-debian depends on:
ii python 2.5.4-9 An interactive high-level object-o
ii python-support 1.0.6.1 automated rebuilding support for P
Versions of packages python-debian recommends:
pn python-apt <none> (no description available)
Versions of packages python-debian suggests:
ii gpgv 1.4.10-2 GNU privacy guard - signature veri
-- no debconf information
More information about the pkg-python-debian-maint
mailing list