bzr: ERROR: exceptions.ImportError: cannot import name ZERO_SHA

Bug #743202 reported by mathew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dulwich
Fix Released
Medium
Jelmer Vernooij

Bug Description

The story so far is at https://bugs.launchpad.net/bzr-git/+bug/742833

I have bzr 2.3.1 on OS X, with dulwich 0.7.0. I'm trying to use the trunk version of bzr-git.

When I try to check something out, I get an exception from 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

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

bzr-git now depends on a newer version of dulwich.

Changed in dulwich:
status: New → Fix Released
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 0.7.1
importance: Undecided → Medium
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.