Cannot branch a repository (AttributeError)

Bug #972652 reported by Valentin Lorentz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Hi,

When I run "bzr branch", I get this:

$ bzr branch lp:~ubuntu-fr/ubuntu-bots/ubotufr
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
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 1443, in run
    self.add_cleanup(br_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', 'branch', 'lp:~ubuntu-fr/ubuntu-bots/ubotufr']
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: 'fr_FR.utf8'

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

Regards,
Valentin Lorentz

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

Thanks for the report, this appears to be a regression with the trunk version of bzr.

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.