[Pkg-bazaar-maint] Bug#537630: bzr clone git://ikiwiki.info/ crashes

Joey Hess joeyh at debian.org
Sun Jul 19 22:43:05 UTC 2009


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

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 1147, in run
    source_branch=br_from)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1187, in sprout
    revision_id=revision_id, repository_policy=repository_policy)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1067, in sprout
    self.copy_content_into(result, revision_id=revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1106, in copy_content_into
    self._synchronize_history(destination, revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/git/remote.py", line 315, in _synchronize_history
    destination.generate_revision_history(self.last_revision())
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 2640, in generate_revision_history
    history = self._lefthand_history(revision_id, last_rev, other_branch)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 252, in _lefthand_history
    parents_map = graph.get_parent_map([current_rev_id])
  File "/usr/lib/python2.5/site-packages/bzrlib/graph.py", line 167, in get_parent_map
    parent_map = self._get_parent_map(needed_revisions)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/git/repository.py", line 145, in get_parent_map
    commit  = self._git.commit(hexsha)
  File "/usr/lib/python2.5/site-packages/dulwich/repo.py", line 330, in commit
    return self._get_object(sha, Commit)
  File "/usr/lib/python2.5/site-packages/dulwich/repo.py", line 314, in _get_object
    raise NotCommitError(ret)

Before and after this it prints some:

bzr: ERROR: dulwich.errors.NotCommitError: 100644 .gitignore

Followed by what looks like possibly raw git binary data.


I also see this on what Jelmer tells me is the reference
repository, git://git.kitenet.net/etckeeper :

joey at gnu:~/tmp>bzr clone git://git.kitenet.net/etckeeper
git: Counting objects: 84                                                      
git: Counting objects: 1719, done.

git: Compressing objects:   0% (1/952)                                         
git: Compressing objects:   1% (10/952)   
git: Compressing objects:   2% (20/952)   
git: Compressing objects:   3% (29/952)   
git: Compressing objects:   4% (39/952)   
git: Compressing objects:   5% (48/952)   
git: Compressing objects:   6% (58/952)   
git: Compressing objects:   7% (67/952)   
git: Compressing objects:   8% (77/952)   
git: Compressing objects:   9% (86/952)   
git: Compressing objects:  10% (96/952)   
git: Compressing objects:  11% (105/952)   
git: Compressing objects:  12% (115/952)   
git: Compressing objects:  13% (124/952)   
git: Compressing objects:  14% (134/952)   
git: Compressing objects:  15% (143/952)   
git: Compressing objects:  16% (153/952)   
git: Compressing objects:  17% (162/952)   
git: Compressing objects:  18% (172/952)   
git: Compressing objects:  19% (181/952)   
git: Compressing objects:  20% (191/952)   
git: Compressing objects:  21% (200/952)   
git: Compressing objects:  22% (210/952)   
git: Compressing objects:  23% (219/952)   
git: Compressing objects:  24% (229/952)   
git: Compressing objects:  25% (238/952)   
git: Compressing objects:  26% (248/952)   
git: Compressing objects:  27% (258/952)   
git: Compressing objects:  28% (267/952)   
git: Compressing objects:  29% (277/952)   
git: Compressing objects:  30% (286/952)   
git: Compressing objects:  31% (296/952)   
git: Compressing objects:  32% (305/952)   
git: Compressing objects:  33% (315/952)   
git: Compressing objects:  34% (324/952)   
git: Compressing objects:  35% (334/952)   
git: Compressing objects:  36% (343/952)   
git: Compressing objects:  37% (353/952)   
git: Compressing objects:  38% (362/952)   
git: Compressing objects:  39% (372/952)   
git: Compressing objects:  40% (381/952)   
git: Compressing objects:  41% (391/952)   
git: Compressing objects:  42% (400/952)   
git: Compressing objects:  43% (410/952)   
git: Compressing objects:  44% (419/952)   
git: Compressing objects:  45% (429/952)   
git: Compressing objects:  46% (438/952)   
git: Compressing objects:  47% (448/952)   
git: Compressing objects:  48% (457/952)   
git: Compressing objects:  49% (467/952)   
git: Compressing objects:  50% (476/952)   
git: Compressing objects:  51% (486/952)   
git: Compressing objects:  52% (496/952)   
git: Compressing objects:  53% (505/952)   
git: Compressing objects:  54% (515/952)   
git: Compressing objects:  55% (524/952)   
git: Compressing objects:  56% (534/952)   
git: Compressing objects:  57% (543/952)   
git: Compressing objects:  58% (553/952)   
git: Compressing objects:  59% (562/952)   
git: Compressing objects:  60% (572/952)   
git: Compressing objects:  61% (581/952)   
git: Compressing objects:  62% (591/952)   
git: Compressing objects:  63% (600/952)   
git: Compressing objects:  64% (610/952)   
git: Compressing objects:  65% (619/952)   
git: Compressing objects:  66% (629/952)   
git: Compressing objects:  67% (638/952)   
git: Compressing objects:  68% (648/952)   
git: Compressing objects:  69% (657/952)   
git: Compressing objects:  70% (667/952)   
git: Compressing objects:  71% (676/952)   
git: Compressing objects:  72% (686/952)   
git: Compressing objects:  73% (695/952)   
git: Compressing objects:  74% (705/952)   
git: Compressing objects:  75% (714/952)   
git: Compressing objects:  76% (724/952)   
git: Compressing objects:  77% (734/952)   
git: Compressing objects:  78% (743/952)   
git: Compressing objects:  79% (753/952)   
git: Compressing objects:  80% (762/952)   
git: Compressing objects:  81% (772/952)   
git: Compressing objects:  82% (781/952)   
git: Compressing objects:  83% (791/952)   
git: Compressing objects:  84% (800/952)   
git: Compressing objects:  85% (810/952)   
git: Compressing objects:  86% (819/952)   
git: Compressing objects:  87% (829/952)   
git: Compressing objects:  88% (838/952)   
git: Compressing objects:  89% (848/952)   
git: Compressing objects:  90% (857/952)   
git: Compressing objects:  91% (867/952)   
git: Compressing objects:  92% (876/952)   
git: Compressing objects:  93% (886/952)   
git: Compressing objects:  94% (895/952)   
git: Compressing objects:  95% (905/952)   
git: Compressing objects:  96% (914/952)   
git: Compressing objects:  97% (924/952)   
git: Compressing objects:  98% (933/952)   
git: Compressing objects:  99% (943/952)   
git: Compressing objects: 100% (952/952)   
git: Compressing objects: 100% (952/952), done.

git: Total 1719 (delta 1145), reused 1137 (delta 743)                          

bzr: ERROR: exceptions.AssertionError: Expected instance of <class 'dulwich.objects.Blob'>, got <Tree 3d1481493c7ed6aee367581ab2a5073010f22a06>

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 1147, in run
    source_branch=br_from)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1195, in sprout
    hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1599, in create_workingtree
    accelerator_tree=accelerator_tree, hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1429, in initialize
    wt.set_parent_trees(parents_list, allow_leftmost_as_ghost=True)
  File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 52, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1129, in set_parent_trees
    dirstate.set_parent_trees(real_trees, ghosts=ghosts)
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 2344, in set_parent_trees
    new_details.append(self._inv_entry_to_details(entry))
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1939, in _inv_entry_to_details
    fingerprint = inv_entry.text_sha1 or ''
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/git/inventory.py", line 82, in text_sha1
    return osutils.sha_string(self.object.data)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/git/inventory.py", line 66, in object
    (self._git_class, self._object)
AssertionError: Expected instance of <class 'dulwich.objects.Blob'>, got <Tree 3d1481493c7ed6aee367581ab2a5073010f22a06>

bzr 1.16.1 on python 2.5.4 (linux2)
arguments: ['/usr/bin/bzr', 'clone', 'git://git.kitenet.net/etckeeper']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools             /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.16]
  etckeeper            /usr/lib/python2.5/site-packages/bzrlib/plugins/etckeeper [unknown]
  git                  /usr/lib/python2.5/site-packages/bzrlib/plugins/git [0.4]
  launchpad            /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [1.16.1]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [1.16.1]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
zsh: exit 4     bzr clone git://git.kitenet.net/etckeeper

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

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

bzr-git suggests no packages.

-- no debconf information

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20090720/8bbc5dca/attachment.pgp>


More information about the Pkg-bazaar-maint mailing list