Comment 2 for bug 742833

Revision history for this message
mathew (meta23) wrote :

Hmm. I tried using trunk, which required that I update bzrlib to version (2,4,0) or higher; so I upgraded bzr to 2.3.1 using the downloads from http://wiki.bazaar.canonical.com/MacOSXDownloads

Now I get a failed import:

 bzr co git://android.git.kernel.org/platform/packages/apps/Launcher2.git launcher2
bzr: ERROR: exceptions.ImportError: cannot import name ZERO_SHA

Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 926, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1126, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 691, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 713, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1302, in run
    branch_location)
  File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 807, in open_tree_or_branch
    return bzrdir._get_tree_branch()
  File "/Library/Python/2.6/site-packages/bzrlib/controldir.py", line 559, in _get_tree_branch
    branch = self.open_branch(name=name)
  File "/Users/meta/.bazaar/plugins/git/remote.py", line 223, in open_branch
    repo = self.open_repository()
  File "/Users/meta/.bazaar/plugins/git/remote.py", line 220, in open_repository
    return RemoteGitRepository(self, self._lockfiles)
  File "/Users/meta/.bazaar/plugins/git/remote.py", line 307, in __init__
    GitRepository.__init__(self, gitdir, lockfiles)
  File "/Users/meta/.bazaar/plugins/git/repository.py", line 64, in __init__
    from bzrlib.plugins.git import fetch, push
  File "/Users/meta/.bazaar/plugins/git/fetch.py", line 23, in <module>
    from dulwich.object_store import (
ImportError: cannot import name ZERO_SHA

Looks like that's a dulwich problem?