Comment 1 for bug 358037

Revision history for this message
Brian de Alwis (slyguy) wrote :

With John's "_fetch_uses_deltas = False" patch, I get a stack trace:

$ /scratch/dev/bzr-1.14/bzr --no-plugins branch /scratch/dev/cvs-pkgsrc.org pkgsrc
bzr: ERROR: exceptions.TypeError: 'NoneType' object is unsubscriptable

Traceback (most recent call last):
  File "/scratch/dev/bzr-1.14/bzrlib/commands.py", line 727, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/scratch/dev/bzr-1.14/bzrlib/commands.py", line 922, in run_bzr
    ret = run(*run_argv)
  File "/scratch/dev/bzr-1.14/bzrlib/commands.py", line 559, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/scratch/dev/bzr-1.14/bzrlib/builtins.py", line 1122, in run
    source_branch=br_from)
  File "/scratch/dev/bzr-1.14/bzrlib/bzrdir.py", line 1139, in sprout
    result_repo.fetch(source_repository, revision_id=revision_id)
  File "/scratch/dev/bzr-1.14/bzrlib/repository.py", line 1493, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/scratch/dev/bzr-1.14/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/scratch/dev/bzr-1.14/bzrlib/repository.py", line 3705, in fetch
    self._fetch_all_revisions(revision_ids, pb)
  File "/scratch/dev/bzr-1.14/bzrlib/repository.py", line 3663, in _fetch_all_revisions
    basis_id = self._fetch_batch(batch, basis_id, cache)
  File "/scratch/dev/bzr-1.14/bzrlib/repository.py", line 3628, in _fetch_batch
    not self.target._format._fetch_uses_deltas))
  File "/scratch/dev/bzr-1.14/bzrlib/groupcompress.py", line 1288, in insert_record_stream
    for _ in self._insert_record_stream(stream, random_id=False):
  File "/scratch/dev/bzr-1.14/bzrlib/groupcompress.py", line 1412, in _insert_record_stream
    self._compressor.pop_last()
  File "/scratch/dev/bzr-1.14/bzrlib/groupcompress.py", line 702, in pop_last
    del self.chunks[self._last[0]:]
TypeError: 'NoneType' object is unsubscriptable

bzr 1.14rc1 on python 2.5.2 (darwin)
arguments: ['/scratch/dev/bzr-1.14/bzr', '--no-plugins', 'branch', '/scratch/dev/cvs-pkgsrc.org', 'pkgsrc']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_CA.UTF-8'
plugins:
*** 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.