Debian packaging doesn't declare minium python-tdb version

Bug #381270 reported by Wouter van Heyst
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Invalid
Undecided
Unassigned
bzr-svn (Debian)
Fix Released
Undecided
Unassigned

Bug Description

lp:~debian-bzr-svn/bzr-svn/unstable has:

    Recommends: python-tdb, python-xdg

With the python-tdb version on intrepid:

    ii python-tdb 1.1.2~git20080615-1 Python bindings for TDB

You get:

bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'open'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 729, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 924, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 560, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1113, in run
    from_location)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 953, in open_tree_or_branch
    return bzrdir._get_tree_branch()
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 938, in _get_tree_branch
    branch = self.open_branch()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/remote.py", line 226, in open_branch
    repos = self.find_repository()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/remote.py", line 145, in find_repository
    return SvnRepository(self, transport, self.branch_path)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/repository.py", line 357, in __init__
    cache_obj.open_logwalker())
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/cache/tdbcache.py", line 306, in open_logwalker
    return LogCache(self.open_tdb())
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/cache/tdbcache.py", line 294, in open_tdb
    cachedbs()[cache_file] = tdb_open(cache_file)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/cache/tdbcache.py", line 46, in tdb_open
    return tdb.open(path, 0, tdb.DEFAULT, os.O_RDWR|os.O_CREAT)
AttributeError: 'module' object has no attribute 'open'

bzr 1.15 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'https://host/branch']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [1.15]
  lessdiff /home/wouter/.bazaar/plugins/lessdiff [unknown]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [1.15]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.6.1]
  vimdiff /home/wouter/.bazaar/plugins/vimdiff [unknown]

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: New → Invalid
Revision history for this message
Wouter van Heyst (larstiq) wrote :

Jelmer, you mentioned using a different api instead of tdb.open() ?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Yeah, newer versions of bzr-svn use that one.

Revision history for this message
Wouter van Heyst (larstiq) wrote :

Fixed in bzr-svn 3023

Changed in bzr-svn (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.