debian bzr checkout failed

Bug #1100542 reported by Alan Reed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

reeda@debian:~$ bzr branch bzr://192.168.0.2/scp32c/scp409/trunk scp409-trunk
bzr: ERROR: exceptions.AssertionError:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1232, in run
    source_branch=br_from)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1182, in sprout
    result_repo.fetch(source_repository, fetch_spec=fetch_spec)
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 1704, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 3438, in fetch
    pb=pb, find_ghosts=find_ghosts)
  File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 83, in __init__
    self.__fetch()
  File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 109, in __fetch
    self._fetch_everything_for_search(search)
  File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 137, in _fetch_everything_for_search
    stream, from_format, [])
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4279, in insert_stream
    return self._locked_insert_stream(stream, src_format, is_resume)
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4312, in _locked_insert_stream
    self.target_repo.texts.insert_record_stream(substream)
  File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 1598, in insert_record_stream
    for _ in self._insert_record_stream(stream, random_id=False):
  File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 1721, in _insert_record_stream
    nostore_sha=nostore_sha)
  File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 797, in compress
    start, end, type = self._compress(key, bytes, len(bytes) / 2, soft)
  File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 967, in _compress
    delta = self._delta_index.make_delta(bytes, max_delta_size)
  File "_groupcompress_pyx.pyx", line 227, in bzrlib._groupcompress_pyx.DeltaIndex.make_delta
  File "_groupcompress_pyx.pyx", line 205, in bzrlib._groupcompress_pyx.DeltaIndex._populate_first_index
AssertionError

bzr 2.1.2 on python 2.6.6 (Linux-2.6.32-5-amd64-x86_64-with-debian-6.0.6)
arguments: ['/usr/bin/bzr', 'branch', 'bzr://192.168.0.2/scp32c/scp409/trunk', 'scp409-trunk']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.1.0]
  dbus /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus [0.1.0dev]
  gtk /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk [0.99.0dev1]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.1.2]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.1.2]
  news_merge /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.1.2]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
reeda@debian:~$reeda@debian:~$ bzr --version
Bazaar (bzr) 2.1.2
  Python interpreter: /usr/bin/python 2.6.6
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.32-5-amd64-x86_64-with-debian-6.0.6
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  Bazaar configuration: /home/reeda/.bazaar
  Bazaar log file: /home/reeda/.bzr.log

Copyright 2005-2010 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

reeda@debian:~$ reeda@debian:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.6G 3.8G 3.4G 53% /
tmpfs 186M 0 186M 0% /lib/init/rw
udev 181M 172K 181M 1% /dev
tmpfs 186M 0 186M 0% /dev/shm
reeda@debian:~$ bzr --version
Bazaar (bzr) 2.1.2
  Python interpreter: /usr/bin/python 2.6.6
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.32-5-amd64-x86_64-with-debian-6.0.6
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  Bazaar configuration: /home/reeda/.bazaar
  Bazaar log file: /home/reeda/.bzr.log

Copyright 2005-2010 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

reeda@debian:~$ cat /home/reeda/.bzr.log

this is a debug log for diagnosing/reporting problems in bzr
you can delete or truncate this file, or include sections in
bug reports to https://bugs.launchpad.net/bzr/+filebug

Fri 2013-01-11 18:33:21 +0000
0.117 bazaar version: 2.1.2
0.117 bzr arguments: []
0.246 encoding stdout as sys.stdout encoding 'UTF-8'
0.249 Transferred: 0KiB (0.0K/s r:0K w:0K)
0.249 return code 0

Fri 2013-01-11 18:34:17 +0000
0.034 bazaar version: 2.1.2
0.034 bzr arguments: [u'checkout']
0.064 looking for plugins in /home/reeda/.bazaar/plugins
0.064 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.275 encoding stdout as sys.stdout encoding 'UTF-8'
0.350 Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1307, in run
    branch_location)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 956, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 841, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 871, in open_from_transport
    redirected)
  File "/usr/lib/python2.6/dist-packages/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1648, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 858, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1822, in find_format
    raise errors.NotBranchError(path=transport.base)
NotBranchError: Not a branch: "/home/reeda/".

0.351 Transferred: 0KiB (0.0K/s r:0K w:0K)
0.351 return code 3

Fri 2013-01-11 18:37:42 +0000
0.039 bazaar version: 2.1.2
0.039 bzr arguments: [u'whoami']
0.044 looking for plugins in /home/reeda/.bazaar/plugins
0.045 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.129 encoding stdout as sys.stdout encoding 'UTF-8'
0.146 Transferred: 0KiB (0.0K/s r:0K w:0K)
0.147 return code 0

Fri 2013-01-11 18:41:10 +0000
0.036 bazaar version: 2.1.2
0.037 bzr arguments: [u'branch', u'bzr://192.168.0.2/scp32c/scp409/trunk', u'scp409-trunk']
0.042 looking for plugins in /home/reeda/.bazaar/plugins
0.042 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.124 encoding stdout as sys.stdout encoding 'UTF-8'
3.383 creating repository in file:///home/reeda/scp409-trunk/.bzr/.
3.406 Using fetch logic to copy between RemoteRepository(bzr://192.168.0.2/scp32c/scp409/trunk/.bzr/)(RemoteRepositoryFormat(_network_name='Bazaar repository format 2a (needs bzr 1.16 or later)\n')) and CHKInventoryRepository('file:///home/reeda/scp409-trunk/.bzr/repository/')(RepositoryFormat2a())
2542.108 Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1232, in run
    source_branch=br_from)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1182, in sprout
    result_repo.fetch(source_repository, fetch_spec=fetch_spec)
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 1704, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 3438, in fetch
    pb=pb, find_ghosts=find_ghosts)
  File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 83, in __init__
    self.__fetch()
  File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 109, in __fetch
    self._fetch_everything_for_search(search)
  File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 137, in _fetch_everything_for_search
    stream, from_format, [])
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4279, in insert_stream
    return self._locked_insert_stream(stream, src_format, is_resume)
  File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4312, in _locked_insert_stream
    self.target_repo.texts.insert_record_stream(substream)
  File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 1598, in insert_record_stream
    for _ in self._insert_record_stream(stream, random_id=False):
  File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 1721, in _insert_record_stream
    nostore_sha=nostore_sha)
  File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 797, in compress
    start, end, type = self._compress(key, bytes, len(bytes) / 2, soft)
  File "/usr/lib/python2.6/dist-packages/bzrlib/groupcompress.py", line 967, in _compress
    delta = self._delta_index.make_delta(bytes, max_delta_size)
  File "_groupcompress_pyx.pyx", line 227, in bzrlib._groupcompress_pyx.DeltaIndex.make_delta
  File "_groupcompress_pyx.pyx", line 205, in bzrlib._groupcompress_pyx.DeltaIndex._populate_first_index
AssertionError

2544.193 couldn't find apport bug-reporting library: No module named apport
2546.272 Transferred: 530583KiB (208.4K/s r:530582K w:1K)
2546.272 return code 4

Fri 2013-01-11 21:05:43 +0000
0.782 bazaar version: 2.1.2
0.783 bzr arguments: [u'--version']
1.810 encoding stdout as sys.stdout encoding 'UTF-8'
2.180 Transferred: 0KiB (0.0K/s r:0K w:0K)
2.180 return code 0
reeda@debian:~$

Revision history for this message
Martin Packman (gz) wrote :

You're using an old version of bzr, updating should resolve this issue for you.

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.