Bug#604544: python-debian: Fails with python-apt 0.7.100+newapi

Julian Andres Klode jak at debian.org
Mon Nov 22 18:34:22 UTC 2010


Package: python-debian
Version: 0.1.18
Severity: important
Tags: experimental
User: deity at lists.debian.org
Usertags: python-apt-0-8-api

You are using apt_pkg.VersionCompare() which does not exist anymore in
experimental and will be removed in the first upload to unstable after
the Squeeze release. There may be more, see the documentation
for how to cope with that:

	http://apt.alioth.debian.org/python-apt-doc/whatsnew/0.7.100.html#porting-your-applications-to-the-new-python-apt-api

This bug will become release critical after the Squeeze release.

Using changes with id "1".
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'VersionCompare'                                                                               

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 917, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1117, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 691, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 710, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 6016, in run
    unshelver.run()
  File "/usr/lib/python2.6/dist-packages/bzrlib/shelf_ui.py", line 482, in run
    merger.do_merge()
  File "/usr/lib/python2.6/dist-packages/bzrlib/merge.py", line 704, in do_merge
    merge = operation.run_simple()
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/merge.py", line 675, in _do_merge_to
    merge.do_merge()
  File "/usr/lib/python2.6/dist-packages/bzrlib/merge.py", line 814, in do_merge
    operation.run()
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 131, in run
    self.cleanups, self.func, self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/merge.py", line 819, in _do_merge
    self._compute_transform()
  File "/usr/lib/python2.6/dist-packages/bzrlib/merge.py", line 857, in _compute_transform
    file_status = self._do_merge_contents(file_id)
  File "/usr/lib/python2.6/dist-packages/bzrlib/merge.py", line 1361, in _do_merge_contents
    hook_status, lines = hook.merge_contents(params)
  File "/usr/lib/python2.6/dist-packages/bzrlib/merge.py", line 144, in merge_contents
    return self.merge_matching(params)
  File "/usr/lib/python2.6/dist-packages/bzrlib/merge.py", line 211, in merge_matching
    return self.merge_text(params)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/merge_changelog.py", line 33, in merge_text
    params.base_lines)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/merge_changelog.py", line 71, in merge_changelog
    left_order = iter(sorted(left_blocks.keys(), reverse=True))
  File "/usr/lib/pymodules/python2.6/debian/debian_support.py", line 171, in __cmp__
    return apt_pkg.VersionCompare(str(self), str(other))
AttributeError: 'module' object has no attribute 'VersionCompare'

bzr 2.3b3 on python 2.6.6 (Linux-2.6.32-5-amd64-x86_64-with-debian-lenny-sid)
arguments: ['/usr/bin/bzr', 'unshelve']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.UTF-8'
plugins:
  bash_completion      /usr/lib/python2.6/dist-packages/bzrlib/plugins/bash_completion [2.3b3]
  bisect               /home/jak/.bazaar/plugins/bisect [1.1.0.pre.0]
  builddeb             /usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb [2.2.0]
  bzrtools             /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.3.0]
  checkeol             /home/jak/.bazaar/plugins/checkeol [1.2.1]
  deb_gnulog           /home/jak/.bazaar/plugins/deb_gnulog.py [unknown]
  diffstat             /home/jak/.bazaar/plugins/diffstat [0.2.0]
  etckeeper            /usr/lib/python2.6/dist-packages/bzrlib/plugins/etckeeper [unknown]
  grep                 /home/jak/.bazaar/plugins/grep [0.2.0]
  interactive          /home/jak/.bazaar/plugins/interactive [1.2.0]
  launchpad            /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.3b3]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.3b3]
  news_merge           /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.3b3]
  rewrite              /usr/lib/python2.6/dist-packages/bzrlib/plugins/rewrite [0.6.2dev]
  svn                  /usr/lib/python2.6/dist-packages/bzrlib/plugins/svn [1.0.5dev]

*** Bazaar has encountered an internal error.  This probably indicates a
    bug in Bazaar.  You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (350, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-debian depends on:
ii  python                  2.6.6-3+squeeze1 interactive high-level object-orie
ii  python-chardet          2.0.1-1          universal character encoding detec
ii  python-support          1.0.11           automated rebuilding support for P

Versions of packages python-debian recommends:
ii  python-apt                0.7.100+newapi Python interface to libapt-pkg

Versions of packages python-debian suggests:
ii  gpgv                          1.4.10-4   GNU privacy guard - signature veri

-- no debconf information

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20101122/23e9bd46/attachment.pgp>


More information about the pkg-python-debian-maint mailing list