[Pkg-bazaar-maint] Bug#557295: bzr-git: crashes when attempting to checkout a Git repository

Ben Finney ben+debian at benfinney.id.au
Sat Nov 21 00:43:22 UTC 2009


Package: bzr-git
Version: 0.4.1-1
Severity: normal

Attempting to checkout a Git repository results in a crash:

=====
$ bzr version
Bazaar (bzr) 2.0.2
  Python interpreter: /usr/bin/python 2.5.4
  Python standard library: /usr/lib/python2.5
  Platform: Linux-2.6.30-2-powerpc64-ppc64-with-debian-squeeze-sid
  bzrlib: /usr/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/bignose/.bazaar
  Bazaar log file: /home/bignose/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY.  bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

$ repo_dir=$(mktemp -d pavatar.XXXXXX)
$ bzr init-repository $repo_dir/
Shared repository with trees (format: 2a)
Location:
  shared repository: pavatar.pafwOo
$ cd $repo_dir/
$ bzr checkout git://github.com/jeena/Pavatar.git trunk/
bzr: ERROR: exceptions.NotImplementedError: <bound method GitBranchFormat.initialize of <bzrlib.plugins.git.branch.GitBranchFormat object at 0x10930b90>>

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1336, in run
    accelerator_tree, hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1325, in create_checkout
    to_location, force_new_tree=False, format=format)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 528, in create_branch_convenience
    result = bzrdir.create_branch()
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1590, in create_branch
    return self._format.get_branch_format().initialize(self)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1531, in initialize
    raise NotImplementedError(self.initialize)
NotImplementedError: <bound method GitBranchFormat.initialize of <bzrlib.plugins.git.branch.GitBranchFormat object at 0x10930b90>>

bzr 2.0.2 on python 2.5.4 (Linux-2.6.30-2-powerpc64-ppc64-with-debian-squeeze-sid)
arguments: ['/usr/bin/bzr', 'checkout', 'git://github.com/jeena/Pavatar.git', 'trunk/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
  builddeb             /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.95.0dev]
  bzrtools             /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [2.0.1]
  dbus                 /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus [0.1.0dev]
  etckeeper            /usr/lib/python2.5/site-packages/bzrlib/plugins/etckeeper [unknown]
  fastimport           /usr/lib/python2.5/site-packages/bzrlib/plugins/fastimport [0.9.0dev]
  git                  /usr/lib/python2.5/site-packages/bzrlib/plugins/git [0.4.1]
  gtk                  /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.97.0.final]
  hg                   /usr/lib/python2.5/site-packages/bzrlib/plugins/hg [0.1.0]
  launchpad            /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [2.0.2]
  loom                 /usr/lib/python2.5/site-packages/bzrlib/plugins/loom [1.4.0dev]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [2.0.2]
  pqm                  /usr/lib/python2.5/site-packages/bzrlib/plugins/pqm [1.4.0dev]
  search               /usr/lib/python2.5/site-packages/bzrlib/plugins/search [1.7.0dev]
  stats                /usr/lib/python2.5/site-packages/bzrlib/plugins/stats [unknown]
  svn                  /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [1.0.0]
  upload               /usr/lib/python2.5/site-packages/bzrlib/plugins/upload [1.0.0dev]

*** 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.
$ 
=====

This should either work as for any other repository type, or fail
gracefully with an error message.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.30-2-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr-git depends on:
ii  bzr                          2.0.2-1     easy to use distributed version co
ii  python                       2.5.4-2     An interactive high-level object-o
ii  python-central               0.6.12+nmu1 register and build utility for Pyt
ii  python-dulwich               0.4.0-1     Pure-python Git library

Versions of packages bzr-git recommends:
ii  python-tdb                    1.1.5-2+b1 Python bindings for TDB

bzr-git suggests no packages.

-- no debconf information

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.30-2-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr-git depends on:
ii  bzr                          2.0.2-1     easy to use distributed version co
ii  python                       2.5.4-2     An interactive high-level object-o
ii  python-central               0.6.12+nmu1 register and build utility for Pyt
ii  python-dulwich               0.4.0-1     Pure-python Git library

Versions of packages bzr-git recommends:
ii  python-tdb                    1.1.5-2+b1 Python bindings for TDB

bzr-git suggests no packages.

-- no debconf information


-- 
 \         “I think a good gift for the President would be a chocolate |
  `\   revolver. And since he's so busy, you'd probably have to run up |
_o__)              to him real quick and hand it to him.” —Jack Handey |
Ben Finney <ben at benfinney.id.au>





More information about the Pkg-bazaar-maint mailing list