The error message bzr itself gives is very vague though, I just ran into this problem with resolve:
>> bzr resolved NEWS
bzr: ERROR: Could not acquire lock [Errno 11] Resource temporarily unavailable
Running with -Derror gives some more info:
>> bzr resolved NEWS -Derror
bzr: ERROR: bzrlib.errors.LockContention: Could not acquire lock [Errno 11] Resource temporarily unavailable
Traceback (most recent call last):
File "/home/larstiq/src/bzr/bzr.dev/bzrlib/commands.py", line 729, in run_bzr_catch_errors
return run_bzr(argv)
File "/home/larstiq/src/bzr/bzr.dev/bzrlib/commands.py", line 691, in run_bzr
ret = run(*run_argv)
File "/home/larstiq/src/bzr/bzr.dev/bzrlib/commands.py", line 389, in run_argv_aliases
return self.run(**all_cmd_args)
File "/home/larstiq/src/bzr/bzr.dev/bzrlib/conflicts.py", line 117, in run
resolve(tree, file_list)
File "/home/larstiq/src/bzr/bzr.dev/bzrlib/conflicts.py", line 121, in resolve
tree.lock_tree_write()
File "/home/larstiq/src/bzr/bzr.dev/bzrlib/workingtree_4.py", line 616, in lock_tree_write
self._lock_self_write()
File "/home/larstiq/src/bzr/bzr.dev/bzrlib/workingtree_4.py", line 600, in _lock_self_write
state.lock_write()
File "/home/larstiq/src/bzr/bzr.dev/bzrlib/dirstate.py", line 2350, in lock_write
self._lock_token = lock.WriteLock(self._filename)
File "/home/larstiq/src/bzr/bzr.dev/bzrlib/lock.py", line 146, in __init__
raise errors.LockContention(e)
LockContention: Could not acquire lock [Errno 11] Resource temporarily unavailable
The error message bzr itself gives is very vague though, I just ran into this problem with resolve:
>> bzr resolved NEWS
bzr: ERROR: Could not acquire lock [Errno 11] Resource temporarily unavailable
Running with -Derror gives some more info:
>> bzr resolved NEWS -Derror errors. LockContention: Could not acquire lock [Errno 11] Resource temporarily unavailable
bzr: ERROR: bzrlib.
Traceback (most recent call last): larstiq/ src/bzr/ bzr.dev/ bzrlib/ commands. py", line 729, in run_bzr_ catch_errors larstiq/ src/bzr/ bzr.dev/ bzrlib/ commands. py", line 691, in run_bzr larstiq/ src/bzr/ bzr.dev/ bzrlib/ commands. py", line 389, in run_argv_aliases **all_cmd_ args) larstiq/ src/bzr/ bzr.dev/ bzrlib/ conflicts. py", line 117, in run larstiq/ src/bzr/ bzr.dev/ bzrlib/ conflicts. py", line 121, in resolve lock_tree_ write() larstiq/ src/bzr/ bzr.dev/ bzrlib/ workingtree_ 4.py", line 616, in lock_tree_write _lock_self_ write() larstiq/ src/bzr/ bzr.dev/ bzrlib/ workingtree_ 4.py", line 600, in _lock_self_write lock_write( ) larstiq/ src/bzr/ bzr.dev/ bzrlib/ dirstate. py", line 2350, in lock_write _lock_token = lock.WriteLock( self._filename) larstiq/ src/bzr/ bzr.dev/ bzrlib/ lock.py" , line 146, in __init__ LockContention( e)
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
resolve(tree, file_list)
File "/home/
tree.
File "/home/
self.
File "/home/
state.
File "/home/
self.
File "/home/
raise errors.
LockContention: Could not acquire lock [Errno 11] Resource temporarily unavailable