"directory not empty" creating lockdir on existing branch over sftp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Martin Pool |
Bug Description
I just got this error from bzr trying to lock an existing branch.
I think this is a launchpad sftp server bug; "directory not empty" is not a very reasonable cause for failing a lock attempt. However, possibly it means that bzr should treat this as the directory already being locked.
Tue 2009-03-10 16:56:56 +1000
0.035 bzr arguments: [u'push', u'sftp://
0.074 looking for plugins in /home/mbp/
0.293 looking for plugins in /home/mbp/
0.328 looking for plugins in /usr/lib/
0.329 Plugin name gtk already loaded
0.329 Plugin name launchpad already loaded
0.329 Plugin name netrc_credentia
0.380 encoding stdout as sys.stdout encoding 'UTF-8'
0.818 ssh implementation is OpenSSH
32.017 Raising exception with args ('Directory not empty: "/srv/bazaar.
32.827 Traceback (most recent call last):
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
use_
File "/home/
stop_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
_override_
File "/home/
target.
File "/home/
token = self.control_
File "/home/
token_from_lock = self._lock.
File "/home/
return self.wait_lock()
File "/home/
return self.attempt_lock()
File "/home/
result = self._attempt_
File "/home/
self.
File "/home/
': unable to rename to %r' % (rel_to))
File "/home/
raise e
IOError: Directory not empty: "/srv/bazaar.
32.828 return code 3
Related branches
- John A Meinel: Needs Information
- Robert Collins (community): Needs Fixing
- Diff: 345 lines (has conflicts)
Changed in bzr: | |
milestone: | none → 1.16rc1 |
status: | Fix Committed → Fix Released |
It's actually a bzr bug; we're not translating the paramiko exception correctly