On Thu, 2011-04-07 at 03:05 +0000, Andrew Cowie wrote:
> Public bug reported:
>
> $ bzr pull
> Using saved parent location: git+ssh://<email address hidden>/git/gtk+/
> bzr: failed to report crash using apport:
> OSError(13, 'Permission denied')
> bzr: ERROR: exceptions.AssertionError: Invalid sha for <Commit 87a5d4f4faa9b24bace2bd1d74cbbbfbc87c5e95>: c8df83a2fee148d871b36ca5ac742dc566c64612
>
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 926, in exception_to_return_code
> return the_callable(*args, **kwargs)
> File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 1126, in run_bzr
> ret = run(*run_argv)
> File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 691, in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/usr/lib/pymodules/python2.6/bzrlib/commands.py", line 713, in run
> return self._operation.run_simple(*args, **kwargs)
> File "/usr/lib/pymodules/python2.6/bzrlib/cleanup.py", line 135, in run_simple
> self.cleanups, self.func, *args, **kwargs)
> File "/usr/lib/pymodules/python2.6/bzrlib/cleanup.py", line 165, in _do_with_cleanups
> result = func(*args, **kwargs)
> File "/usr/lib/pymodules/python2.6/bzrlib/builtins.py", line 1008, in run
> show_base=show_base)
> File "/usr/lib/pymodules/python2.6/bzrlib/decorators.py", line 194, in write_locked
> result = unbound(self, *args, **kwargs)
> File "/usr/lib/pymodules/python2.6/bzrlib/workingtree.py", line 1676, in pull
> local=local)
> File "/usr/lib/pymodules/python2.6/bzrlib/branch.py", line 1086, in pull
> possible_transports=possible_transports, *args, **kwargs)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/branch.py", line 617, in pull
> stop_revision, overwrite=overwrite, graph=graph, limit=limit)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/branch.py", line 566, in _update_revisions
> determine_wants, self.source.mapping, limit=limit)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/fetch.py", line 594, in fetch_objects
> progress)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/remote.py", line 310, in fetch_objects
> lambda x: os.write(fd, x), progress)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/remote.py", line 301, in fetch_pack
> pack_data, progress)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/remote.py", line 130, in fetch_pack
> graph_walker, pack_data, progress)
> File "/usr/lib/pymodules/python2.6/dulwich/client.py", line 229, in fetch_pack
> have = graph_walker.next()
> File "/usr/lib/pymodules/python2.6/dulwich/object_store.py", line 771, in next
> ps = self.get_parents(ret)
> File "/usr/lib/pymodules/python2.6/dulwich/object_store.py", line 194, in <lambda>
> return ObjectStoreGraphWalker(heads, lambda sha: self[sha].parents)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/object_store.py", line 565, in __getitem__
> (type, type_data) = self.lookup_git_sha(sha)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/object_store.py", line 557, in lookup_git_sha
> return self.lookup_git_shas([sha], update_map=update_map)[sha]
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/object_store.py", line 548, in lookup_git_shas
> self._update_sha_map()
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/object_store.py", line 322, in _update_sha_map
> self._update_sha_map_revision(revid)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/object_store.py", line 419, in _update_sha_map_revision
> roundtrip=True):
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/object_store.py", line 408, in _revision_to_objects
> _check_expected_sha(foreign_revid, commit_obj)
> File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/git/object_store.py", line 139, in _check_expected_sha
> expected_sha))
> AssertionError: Invalid sha for <Commit 87a5d4f4faa9b24bace2bd1d74cbbbfbc87c5e95>: c8df83a2fee148d871b36ca5ac742dc566c64612
This is probably unrelated to the gtk+ import, but just to do with the
revisions that are already in that repository.
On Thu, 2011-04-07 at 03:05 +0000, Andrew Cowie wrote: AssertionError: Invalid sha for <Commit 87a5d4f4faa9b24 bace2bd1d74cbbb fbc87c5e95> : c8df83a2fee148d 871b36ca5ac742d c566c64612 pymodules/ python2. 6/bzrlib/ commands. py", line 926, in exception_ to_return_ code pymodules/ python2. 6/bzrlib/ commands. py", line 1126, in run_bzr pymodules/ python2. 6/bzrlib/ commands. py", line 691, in run_argv_aliases **all_cmd_ args) pymodules/ python2. 6/bzrlib/ commands. py", line 713, in run .run_simple( *args, **kwargs) pymodules/ python2. 6/bzrlib/ cleanup. py", line 135, in run_simple pymodules/ python2. 6/bzrlib/ cleanup. py", line 165, in _do_with_cleanups pymodules/ python2. 6/bzrlib/ builtins. py", line 1008, in run show_base) pymodules/ python2. 6/bzrlib/ decorators. py", line 194, in write_locked pymodules/ python2. 6/bzrlib/ workingtree. py", line 1676, in pull pymodules/ python2. 6/bzrlib/ branch. py", line 1086, in pull transports= possible_ transports, *args, **kwargs) python2. 6/dist- packages/ bzrlib/ plugins/ git/branch. py", line 617, in pull overwrite, graph=graph, limit=limit) python2. 6/dist- packages/ bzrlib/ plugins/ git/branch. py", line 566, in _update_revisions mapping, limit=limit) python2. 6/dist- packages/ bzrlib/ plugins/ git/fetch. py", line 594, in fetch_objects python2. 6/dist- packages/ bzrlib/ plugins/ git/remote. py", line 310, in fetch_objects python2. 6/dist- packages/ bzrlib/ plugins/ git/remote. py", line 301, in fetch_pack python2. 6/dist- packages/ bzrlib/ plugins/ git/remote. py", line 130, in fetch_pack pymodules/ python2. 6/dulwich/ client. py", line 229, in fetch_pack pymodules/ python2. 6/dulwich/ object_ store.py" , line 771, in next parents( ret) pymodules/ python2. 6/dulwich/ object_ store.py" , line 194, in <lambda> hWalker( heads, lambda sha: self[sha].parents) python2. 6/dist- packages/ bzrlib/ plugins/ git/object_ store.py" , line 565, in __getitem__ git_sha( sha) python2. 6/dist- packages/ bzrlib/ plugins/ git/object_ store.py" , line 557, in lookup_git_sha git_shas( [sha], update_ map=update_ map)[sha] python2. 6/dist- packages/ bzrlib/ plugins/ git/object_ store.py" , line 548, in lookup_git_shas sha_map( ) python2. 6/dist- packages/ bzrlib/ plugins/ git/object_ store.py" , line 322, in _update_sha_map sha_map_ revision( revid) python2. 6/dist- packages/ bzrlib/ plugins/ git/object_ store.py" , line 419, in _update_ sha_map_ revision python2. 6/dist- packages/ bzrlib/ plugins/ git/object_ store.py" , line 408, in _revision_ to_objects expected_ sha(foreign_ revid, commit_obj) python2. 6/dist- packages/ bzrlib/ plugins/ git/object_ store.py" , line 139, in _check_expected_sha bace2bd1d74cbbb fbc87c5e95> : c8df83a2fee148d 871b36ca5ac742d c566c64612
> Public bug reported:
>
> $ bzr pull
> Using saved parent location: git+ssh://<email address hidden>/git/gtk+/
> bzr: failed to report crash using apport:
> OSError(13, 'Permission denied')
> bzr: ERROR: exceptions.
>
> Traceback (most recent call last):
> File "/usr/lib/
> return the_callable(*args, **kwargs)
> File "/usr/lib/
> ret = run(*run_argv)
> File "/usr/lib/
> return self.run(
> File "/usr/lib/
> return self._operation
> File "/usr/lib/
> self.cleanups, self.func, *args, **kwargs)
> File "/usr/lib/
> result = func(*args, **kwargs)
> File "/usr/lib/
> show_base=
> File "/usr/lib/
> result = unbound(self, *args, **kwargs)
> File "/usr/lib/
> local=local)
> File "/usr/lib/
> possible_
> File "/usr/lib/
> stop_revision, overwrite=
> File "/usr/lib/
> determine_wants, self.source.
> File "/usr/lib/
> progress)
> File "/usr/lib/
> lambda x: os.write(fd, x), progress)
> File "/usr/lib/
> pack_data, progress)
> File "/usr/lib/
> graph_walker, pack_data, progress)
> File "/usr/lib/
> have = graph_walker.next()
> File "/usr/lib/
> ps = self.get_
> File "/usr/lib/
> return ObjectStoreGrap
> File "/usr/lib/
> (type, type_data) = self.lookup_
> File "/usr/lib/
> return self.lookup_
> File "/usr/lib/
> self._update_
> File "/usr/lib/
> self._update_
> File "/usr/lib/
> roundtrip=True):
> File "/usr/lib/
> _check_
> File "/usr/lib/
> expected_sha))
> AssertionError: Invalid sha for <Commit 87a5d4f4faa9b24
This is probably unrelated to the gtk+ import, but just to do with the
revisions that are already in that repository.
What is the output of:
$ bzr git-object 87a5d4f4faa9b24 bace2bd1d74cbbb fbc87c5e95 871b36ca5ac742d c566c64612
$ bzr git-object c8df83a2fee148d
status incomplete
Cheers,
Jelmer