bzr: ERROR: bzrlib.errors.ReadOnlyError: A write attempt was made in a read only transaction on LockableFiles

Bug #586956 reported by R. David Murray on 2010-05-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned

Bug Description

rdmurray@partner:~/python/bzr/py3k>bzr status -v -r lp:python-email6
bzr: ERROR: bzrlib.errors.ReadOnlyError: A write attempt was made in a read only transaction on LockableFiles(lock, file:///home/rdmurray/python/bzr/py3k/.bzr/pipes/email6/.bzr/branch/)

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 1070, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/bzrlib/builtins.py", line 326, in run
    show_pending=(not no_pending), verbose=verbose)
  File "/usr/lib/python2.6/site-packages/bzrlib/status.py", line 92, in show_tree_status
    old = revision[0].as_tree(wt.branch)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 257, in as_tree
    return self._as_tree(context_branch)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 266, in _as_tree
    revision_id = self.as_revision_id(context_branch)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 240, in as_revision_id
    return self._as_revision_id(context_branch)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 248, in _as_revision_id
    return self.in_history(context_branch).rev_id
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 222, in in_history
    return self._match_on_and_check(branch, revs)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 201, in _match_on_and_check
    info = self._match_on(branch, revs)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 327, in _match_on
    return self._try_spectype(rs_class, branch)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 309, in _try_spectype
    return rs.in_history(branch)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 222, in in_history
    return self._match_on_and_check(branch, revs)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 201, in _match_on_and_check
    info = self._match_on(branch, revs)
  File "/usr/lib/python2.6/site-packages/bzrlib/revisionspec.py", line 817, in _match_on
    branch.fetch(other_branch, revision_b)
  File "/usr/lib/python2.6/site-packages/bzrlib/decorators.py", line 192, in write_locked
    self.lock_write()
  File "/usr/lib/python2.6/site-packages/bzrlib/branch.py", line 2144, in lock_write
    return self.control_files.lock_write(token=token)
  File "/usr/lib/python2.6/site-packages/bzrlib/lockable_files.py", line 188, in lock_write
    raise errors.ReadOnlyError(self)
ReadOnlyError: A write attempt was made in a read only transaction on LockableFiles(lock, file:///home/rdmurray/python/bzr/py3k/.bzr/pipes/email6/.bzr/branch/)

bzr 2.1.1 on python 2.6.5 (Linux-2.6.33-tuxonice-r2-i686-Intel-R-_Core-TM-_Duo_CPU_T2350_@_1.86GHz-with-gentoo-2.0.1)
arguments: ['/usr/bin/bzr', 'status', '-v', '-r', 'lp:python-email6']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.utf8'
plugins:
  launchpad /usr/lib/python2.6/site-packages/bzrlib/plugins/launchpad [2.1.1]
  netrc_credential_store /usr/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.1.1]
  news_merge /usr/lib/python2.6/site-packages/bzrlib/plugins/news_merge [2.1.1]
  pipeline /home/rdmurray/.bazaar/plugins/pipeline [unknown]
  pydev /home/rdmurray/.bazaar/plugins/pydev [unknown]

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

Other bug subscribers