bzr vimdiff crashes

Bug #269844 reported by Aaron Small
4
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

$ bzr vimdiff -r 6..8 paper.tex

bzr: ERROR: bzrlib.errors.ObjectNotLocked: KnitPackRepository('bzr+ssh://nellie@smeagle/home/nellie/work/CDSX_stressTesting/.bzr/repository/') is not locked

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/absmall/.bazaar/plugins/vimdiff/__init__.py", line 37, in run
    revision=revision)
  File "/home/absmall/.bazaar/plugins/vimdiff/__init__.py", line 65, in vimdiff_to_file
    revision=revision)
  File "/home/absmall/.bazaar/plugins/vimdiff/__init__.py", line 88, in _vimdiff_to_file
    tmp_to = write_old_to_temp(to_tree, file_id, to_rev_no)
  File "/home/absmall/.bazaar/plugins/vimdiff/__init__.py", line 121, in write_old_to_temp
    basis_tmp.write(tree.get_file_text(file_id))
  File "/usr/lib/python2.5/site-packages/bzrlib/revisiontree.py", line 75, in get_file_text
    return ''.join(self.get_file_lines(file_id))
  File "/usr/lib/python2.5/site-packages/bzrlib/revisiontree.py", line 71, in get_file_lines
    weave = self._get_weave(file_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/revisiontree.py", line 67, in _get_weave
    self._repository.get_transaction())
  File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 1773, in get_weave_or_empty
    self.repo._pack_collection.ensure_loaded()
  File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 1341, in ensure_loaded
    raise errors.ObjectNotLocked(self.repo)
ObjectNotLocked: KnitPackRepository('bzr+ssh://nellie@smeagle/home/nellie/work/CDSX_stressTesting/.bzr/repository/') is not locked

bzr 1.5 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'vimdiff', '-r', '6..8', 'paper.tex']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_CA.UTF-8'
plugins:
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.5.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  vimdiff /home/absmall/.bazaar/plugins/vimdiff [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.

Revision history for this message
James Westby (james-w) wrote :

Hi,

This is actually a problem with the "vimdiff" plugin, so I reassign
the bug there.

Thanks,

James

Revision history for this message
John A Meinel (jameinel) wrote :

Actually, I'm 95% sure this is just bug #237067, since it is using a bzr+ssh url.

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.