trying to do checkout of some django code

Bug #212979 reported by Jenlu on 2008-04-06
2
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned

Bug Description

See traceback below:

jenlu@jenlu-laptop-tp:~/work/twostory/site-repo$ rm -rf new-trunk/
jenlu@jenlu-laptop-tp:~/work/twostory/site-repo$ bzr co bzr+ssh://www.labs.twostorysoftware.com/var/lib/bzr/twostory/site-repo/new-trunk
<email address hidden>'s password:
Server is too old for fast get_parent_map, reconnecting. (Upgrade the server to Bazaar 1.2 to avoid this)
<email address hidden>'s password:
bzr: ERROR: exceptions.ValueError: invalid literal for int() with base 10: 'from django.conf import settings\n'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1012, in run
    accelerator_tree, hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 766, in create_checkout
    checkout_branch.pull(self, stop_revision=revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1714, in pull
    run_hooks=run_hooks)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1513, in pull
    self.update_revisions(source, stop_revision, overwrite=overwrite)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1465, in update_revisions
    self.fetch(other, stop_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 266, in fetch
    pb=nested_pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 949, in fetch
    return inter.fetch(revision_id=revision_id, pb=pb, find_ghosts=find_ghosts)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 2963, in fetch
    pb=pb, find_ghosts=find_ghosts)
  File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 109, in __init__
    self.__fetch()
  File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 139, in __fetch
    self._fetch_everything_for_search(search, pp)
  File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 418, in _fetch_everything_for_search
    self.to_repository.insert_data_stream(data_stream)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 860, in insert_data_stream
    (format, data_list, reader_func))
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 803, in insert_data_stream
    self.join(source)
  File "/usr/lib/python2.5/site-packages/bzrlib/versionedfile.py", line 421, in join
    ignore_missing)
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 2704, in join
    return self._copy_texts(pb, msg, version_ids, ignore_missing)
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 2683, in _copy_texts
    self.source.get_lines(version),
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 1099, in get_lines
    return self.get_line_list([version_id])[0]
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 1138, in get_line_list
    text_map, content_map = self._get_content_maps(version_ids)
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 1179, in _get_content_maps
    copy_base_content=multiple_versions)
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 308, in parse_record
    delta = self.parse_line_delta(record, version_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 456, in parse_line_delta
    return list(self.parse_line_delta_iter(lines, version_id))
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 451, in parse_line_delta_iter
    start, end, c = [int(n) for n in header.split(',')]
ValueError: invalid literal for int() with base 10: 'from django.conf import settings\n'

bzr 1.3 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'co', 'bzr+ssh://www.labs.twostorysoftware.com/var/lib/bzr/twostory/site-repo/new-trunk']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.3.0]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
*** 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.
/usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:110: UserWarning: file group LockableFiles(<bzrlib.transport.remote.RemoteSSHTransport url=bzr+ssh://www.labs.twostorysoftware.com/var/lib/bzr/twostory/site-repo/.bzr/repository/>) was not explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)
jenlu@jenlu-laptop-tp:~/work/twostory/site-repo$

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers