Thu 2009-03-12 15:14:44 +1000
0.062 bzr arguments: [u'push']
0.104 looking for plugins in /home/mbp/.bazaar/plugins
0.294 looking for plugins in /home/mbp/bzr/progress-fetch/bzrlib/plugins
0.333 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.334 Plugin name gtk already loaded
0.334 Plugin name launchpad already loaded
0.335 Plugin name netrc_credential_store already loaded
0.385 encoding stdout as sys.stdout encoding 'UTF-8'
9.864 hpss: Built a new medium: SmartSSHClientMedium
9.865 hpss call: 'BzrDir.open', '~mbp/bzr/progress-fetch/'
9.865 (to bzr+ssh://bazaar.launchpad.net/%7Embp/bzr/progress-fetch/)
9.957 ssh implementation is OpenSSH
16.034 Traceback (most recent call last):
File "/home/mbp/bzr/progress-fetch/bzrlib/commands.py", line 716, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/home/mbp/bzr/progress-fetch/bzrlib/commands.py", line 911, in run_bzr
ret = run(*run_argv)
File "/home/mbp/bzr/progress-fetch/bzrlib/commands.py", line 547, in run_argv_aliases
return self.run(**all_cmd_args)
File "/home/mbp/bzr/progress-fetch/bzrlib/builtins.py", line 1033, in run
use_existing_dir=use_existing_dir)
File "/home/mbp/bzr/progress-fetch/bzrlib/push.py", line 48, in _show_push_branch
dir_to = bzrdir.BzrDir.open_from_transport(to_transport)
File "/home/mbp/bzr/progress-fetch/bzrlib/bzrdir.py", line 832, in open_from_transport
return format.open(transport, _found=True)
File "/home/mbp/bzr/progress-fetch/bzrlib/bzrdir.py", line 1834, in open
return self._open(transport)
File "/home/mbp/bzr/progress-fetch/bzrlib/bzrdir.py", line 2806, in _open
return remote.RemoteBzrDir(transport, self)
File "/home/mbp/bzr/progress-fetch/bzrlib/remote.py", line 110, in __init__
response = self._call('BzrDir.open', path)
File "/home/mbp/bzr/progress-fetch/bzrlib/remote.py", line 54, in _call
return self._client.call(method, *args)
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/client.py", line 129, in call
result, protocol = self.call_expecting_body(method, *args)
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/client.py", line 142, in call_expecting_body
method, args, expect_response_body=True)
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/client.py", line 90, in _call_and_read_response
expect_body=expect_response_body)
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/message.py", line 297, in read_response_tuple
self._wait_for_response_args()
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/message.py", line 264, in _wait_for_response_args
self._read_more()
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/message.py", line 277, in _read_more
bytes = self._medium_request.read_bytes(next_read_size)
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/medium.py", line 459, in read_bytes
return self._read_bytes(count)
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/medium.py", line 471, in _read_bytes
return self._medium.read_bytes(count)
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/medium.py", line 149, in read_bytes
return self._read_bytes(bytes_to_read)
File "/home/mbp/bzr/progress-fetch/bzrlib/smart/medium.py", line 787, in _read_bytes
bytes = self._read_from.read(bytes_to_read)
IOError: [Errno 4] Interrupted system call
The way to fix this is to use bzrlib. osutils. until_no_ eintr in the SmartSSHClientM edium. The SmartTCPClientM edium already does this. The change should be simple.