bzrlib.errors.ObjectNotLocked: KnitPackRepository('...') is not locked error when using --merge mode
Bug #206013 reported by
Andrew Hunter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned | ||
bzr-builddeb (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When using bzr-builddeb in merge mode, a bzrlib.
It is worth noting that the operation is sucessful if the --orig-dir value is correctly set.
Imo, the error message is obscure (the actual error raised does not indicate the actual problem) and should be handled cleanly.
Changed in bzr-builddeb: | |
importance: | Wishlist → Undecided |
status: | Incomplete → Invalid |
To post a comment you must log in.
1. rexbron/ code/bleedinged ge/trunk/ blender- svn.py" , line 32, in <module>
blender. main() rexbron/ code/bleedinged ge/trunk/ bleedingedge. py", line 128, in main
builddeb. run(branch= self.debianLoca lLocation, result= './build- area', orig_dir='./', builder= 'dpkg-buildpack age ' + self.debuildOpt ions, merge = True) python2. 5/site- packages/ bzrlib/ plugins/ builddeb/ __init_ _.py", line 266, in run
build. export( use_existing) python2. 5/site- packages/ bzrlib/ plugins/ builddeb/ builder. py", line 269, in export tarball( ) python2. 5/site- packages/ bzrlib/ plugins/ builddeb/ builder. py", line 169, in _find_tarball
self. _get_upstream_ from_watch( ) python2. 5/site- packages/ bzrlib/ plugins/ builddeb/ builder. py", line 125, in _get_upstream_ from_watch get_file_ text(watch_ id) python2. 5/site- packages/ bzrlib/ revisiontree. py", line 79, in get_file_text self.get_ file_lines( file_id) ) python2. 5/site- packages/ bzrlib/ revisiontree. py", line 75, in get_file_lines weave(file_ id) python2. 5/site- packages/ bzrlib/ revisiontree. py", line 71, in _get_weave
self. _repository. get_transaction ()) python2. 5/site- packages/ bzrlib/ repofmt/ pack_repo. py", line 1693, in get_weave_or_empty
self. repo._pack_ collection. ensure_ loaded( ) python2. 5/site- packages/ bzrlib/ repofmt/ pack_repo. py", line 1262, in ensure_loaded ObjectNotLocked (self.repo) errors. ObjectNotLocked : KnitPackReposit ory('file: ///home/ rexbron/ packages/ blender/ debian. bleedingedge/ .bzr/repository /') is not locked
Traceback (most recent call last):
2.
File "/home/
3.
4.
File "/home/
5.
6.
File "/usr/lib/
7.
8.
File "/usr/lib/
9.
tarball = self._find_
10.
File "/usr/lib/
11.
12.
File "/usr/lib/
13.
watch = self._tree.
14.
File "/usr/lib/
15.
return ''.join(
16.
File "/usr/lib/
17.
weave = self._get_
18.
File "/usr/lib/
19.
20.
File "/usr/lib/
21.
22.
File "/usr/lib/
23.
raise errors.
24.
bzrlib.