[Bug 963769] Re: AttributeError "'ResponseFile' object has no attribute 'readline'" in _read_prefix during pull

Jelmer Vernooij 963769 at bugs.launchpad.net
Fri Jul 20 23:30:25 UTC 2012


** Changed in: bzr (Ubuntu Quantal)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/963769

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

Status in Bazaar Version Control System:
  Fix Released
Status in “bzr” package in Ubuntu:
  Fix Released
Status in “bzr” source package in Quantal:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/963769/+subscriptions




More information about the foundations-bugs mailing list