Activity log for bug #237067

Date Who What changed Old value New value Message
2008-06-03 13:18:25 Matthew Paul Thomas bug added bug
2008-06-15 14:37:42 James Westby title "bzr check" on bzr+ssh:// branch returns ObjectNotLocked error RemoteBranch.lock_read() doesn't lock the underlying repository
2008-06-15 14:38:09 James Westby bzr: status New Confirmed
2008-06-15 14:38:09 James Westby bzr: importance Undecided High
2008-07-14 00:09:28 Andrew Bennetts description Bazaar 1.6b1, Ubuntu 8.04 > bzr check bzr+ssh://[...]/[...] Server does not understand Bazaar network protocol 3, reconnecting. (Upgrade the server to avoid this.) bzr: ERROR: bzrlib.errors.ObjectNotLocked: KnitPackRepository('bzr+ssh://[...]/.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 "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2418, in run check(branch_obj, verbose) File "/usr/lib/python2.5/site-packages/bzrlib/check.py", line 253, in check branch_result = branch.check() File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 705, in check last_revision_id)) File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1570, in iter_reverse_revision_history parents = graph.get_parent_map([next_id])[next_id] File "/usr/lib/python2.5/site-packages/bzrlib/graph.py", line 132, in get_parent_map new_parents = self._real_provider.get_parent_map(needed) File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 1921, in get_parent_map self._pack_collection.ensure_loaded() File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 1340, in ensure_loaded raise errors.ObjectNotLocked(self.repo) ObjectNotLocked: KnitPackRepository('bzr+ssh://[...]/.bzr/repository/') is not locked bzr 1.6b1 on python 2.5.2 (linux2) arguments: ['/usr/bin/bzr', 'check', 'bzr+ssh://[...]/[...]'] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_NZ.UTF-8' plugins: launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown] loom /home/mpt/.bazaar/plugins/loom [unknown] lpreview /home/mpt/.bazaar/plugins/lpreview [unknown] pqm /home/mpt/.bazaar/plugins/pqm [1.4.0dev0] *** 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. Bug 175570 is the same error with a different command over bzr://. Bazaar 1.6b1, Ubuntu 8.04 > bzr check bzr+ssh://[...]/[...] Server does not understand Bazaar network protocol 3, reconnecting. (Upgrade the server to avoid this.) bzr: ERROR: bzrlib.errors.ObjectNotLocked: KnitPackRepository('bzr+ssh://[...]/.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 "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2418, in run check(branch_obj, verbose) File "/usr/lib/python2.5/site-packages/bzrlib/check.py", line 253, in check branch_result = branch.check() File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 705, in check last_revision_id)) File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1570, in iter_reverse_revision_history parents = graph.get_parent_map([next_id])[next_id] File "/usr/lib/python2.5/site-packages/bzrlib/graph.py", line 132, in get_parent_map new_parents = self._real_provider.get_parent_map(needed) File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 1921, in get_parent_map self._pack_collection.ensure_loaded() File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 1340, in ensure_loaded raise errors.ObjectNotLocked(self.repo) ObjectNotLocked: KnitPackRepository('bzr+ssh://[...]/.bzr/repository/') is not locked bzr 1.6b1 on python 2.5.2 (linux2) arguments: ['/usr/bin/bzr', 'check', 'bzr+ssh://[...]/[...]'] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_NZ.UTF-8' plugins: launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown] loom /home/mpt/.bazaar/plugins/loom [unknown] lpreview /home/mpt/.bazaar/plugins/lpreview [unknown] pqm /home/mpt/.bazaar/plugins/pqm [1.4.0dev0] *** 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. "bzr cat" produces a similar traceback (originally reported in bug 175570).
2008-09-01 22:58:34 Andrew Bennetts bzr: assignee spiv
2008-09-01 22:58:34 Andrew Bennetts bzr: milestone 1.7
2008-09-05 10:17:48 Andrew Bennetts bzr: status Confirmed Fix Committed
2008-09-05 10:17:48 Andrew Bennetts bzr: statusexplanation I have a fix for this that I'm about to submit for review.
2008-09-07 10:38:35 Andrew Bennetts bzr: status Fix Committed Fix Released
2008-09-07 10:38:35 Andrew Bennetts bzr: statusexplanation I have a fix for this that I'm about to submit for review. Fixed in bzr.dev, and will be in 1.7.