bzr commit over sftp fails
Ian R. Williams
i.r.williams at bristol.ac.uk
Fri Dec 15 02:12:02 GMT 2006
On Ubuntu Edgy, with paramiko latest source and bzr 0.13rc1, when trying
to commit a change to another machine running Ubuntu Edgy over sftp:
bzr: ERROR: exceptions.AttributeError: 'SFTPSubprocess' object has no
attribute 'recv_ready'
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 626,
in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 588,
in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 292,
in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 1874,
in run
reporter=reporter)
File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 51,
in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.4/site-packages/bzrlib/mutabletree.py", line
126, in commit
revprops=revprops, *args, **kwargs)
File "/usr/lib/python2.4/site-packages/bzrlib/commit.py", line 252, in
commit
self._check_bound_branch()
File "/usr/lib/python2.4/site-packages/bzrlib/commit.py", line 448, in
_check_bound_branch
self.master_branch.lock_write()
File "/usr/lib/python2.4/site-packages/bzrlib/branch.py", line 1039,
in lock_write
self.repository.lock_write()
File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line
228, in lock_write
self.control_files.lock_write()
File "/usr/lib/python2.4/site-packages/bzrlib/lockable_files.py", line
224, in lock_write
self._lock.lock_write()
File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 417,
in lock_write
self.wait_lock()
File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 384,
in wait_lock
self.attempt_lock()
File "/usr/lib/python2.4/site-packages/bzrlib/lockdir.py", line 217,
in attempt_lock
info_bytes)
File "/usr/lib/python2.4/site-packages/bzrlib/transport/sftp.py", line
653, in put_bytes_non_atomic
dir_mode=dir_mode)
File "/usr/lib/python2.4/site-packages/bzrlib/transport/sftp.py", line
609, in _put_non_atomic_helper
_open_and_write_file()
File "/usr/lib/python2.4/site-packages/bzrlib/transport/sftp.py", line
594, in _open_and_write_file
writer(fout)
File "/usr/lib/python2.4/site-packages/bzrlib/transport/sftp.py", line
650, in writer
fout.write(bytes)
File "/usr/lib/python2.4/site-packages/paramiko/file.py", line 314, in
write
self._write_all(data)
File "/usr/lib/python2.4/site-packages/paramiko/file.py", line 424, in
_write_all
count = self._write(data)
File "/usr/lib/python2.4/site-packages/paramiko/sftp_file.py", line
163, in _write
if not self.pipelined or self.sftp.sock.recv_ready():
AttributeError: 'SFTPSubprocess' object has no attribute 'recv_ready'
bzr 0.13.0candidate1 on python 2.4.4.candidate.1 (linux2)
arguments: ['/usr/bin/bzr', 'commit', '-m', 'General tidy up and bug
fixes for initialization']
More information about the bazaar
mailing list