AttributeError "'ResponseFile' object has no attribute 'readline'" in _read_prefix during pull

Bug #963769 reported by jubuntu
86
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Critical
Jelmer Vernooij
bzr (Ubuntu)
Fix Released
High
Jelmer Vernooij
Quantal
Fix Released
High
Jelmer Vernooij

Bug Description

Reporting this as the trace suggested it might be helpful.

Jim

$ bzr pull
Using saved parent location: http+urllib://jeremy.visser.name/bzr/python-iview/
http+urllib://jeremy.visser.name/bzr/python-iview/ is permanently redirected to https+urllib://jeremy.visser.name/bzr/python-iview/
https+urllib://jeremy.visser.name/bzr/python-iview/ is permanently redirected to https+urllib://jeremy.visser.name/bzr/python-iview/
bzr: ERROR: exceptions.AttributeError: 'ResponseFile' object has no attribute 'readline'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1141, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1217, in run
    self.add_cleanup(branch_from.lock_read().unlock)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 2484, in lock_read
    self.repository.lock_read()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 1803, in lock_read
    self._refresh_data()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 1719, in _refresh_data
    self._pack_collection.reload_pack_names()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 1467, in reload_pack_names
    first_read = self.ensure_loaded()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 1087, in ensure_loaded
    for index, key, value in self._iter_disk_pack_index():
  File "/usr/lib/python2.7/dist-packages/bzrlib/index.py", line 546, in iter_all_entries
    self._buffer_all()
  File "/usr/lib/python2.7/dist-packages/bzrlib/index.py", line 464, in _buffer_all
    self._read_prefix(stream)
  File "/usr/lib/python2.7/dist-packages/bzrlib/index.py", line 558, in _read_prefix
    options_line = stream.readline()
AttributeError: 'ResponseFile' object has no attribute 'readline'

bzr 2.6.0dev2 on python 2.7.3rc2 (Linux-3.2.0-1-amd64-x86_64-with-debian-
    wheezy-sid)
arguments: ['/usr/bin/bzr', 'pull']
plugins: bash_completion[2.6.0dev2], bzrtools[2.5.0],
    changelog_merge[2.6.0dev2], launchpad[2.6.0dev2],
    netrc_credential_store[2.6.0dev2], news_merge[2.6.0dev2],
    po_merge[2.6.0dev2], weave_fmt[2.6.0dev2]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_AU'

*** 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.

Related branches

Jelmer Vernooij (jelmer)
Changed in bzr:
status: New → Triaged
importance: Undecided → Critical
Martin Packman (gz)
summary: - bzr crashes on pull
+ AttributeError "'ResponseFile' object has no attribute 'readline'" in
+ _read_prefix during pull
Jelmer Vernooij (jelmer)
Changed in bzr:
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 2.6b2
Jelmer Vernooij (jelmer)
Changed in bzr:
status: Triaged → In Progress
Jelmer Vernooij (jelmer)
Changed in bzr:
status: In Progress → Fix Released
no longer affects: ubuntu
Jelmer Vernooij (jelmer)
Changed in bzr (Ubuntu Quantal):
status: New → Triaged
importance: Undecided → High
Jelmer Vernooij (jelmer)
Changed in bzr (Ubuntu Quantal):
assignee: nobody → Jelmer Vernooij (jelmer)
status: Triaged → In Progress
Jelmer Vernooij (jelmer)
Changed in bzr (Ubuntu Quantal):
status: In Progress → Fix Released
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.