no clean abort after bzr+ssh:// connection timeout. ERROR: exceptions.AssertionError: end of file reading from server.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Ian Clatworthy |
Bug Description
bzr should abort cleanly after a connection timeout. commandline output:
bzr pull
Using saved location: bzr+ssh://<email address hidden>
ssh: connect to host myhost.de port 22: Connection timed out
ssh: connect to host myhost.de port 22: Connection timed out
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
branch_from = Branch.
File "/usr/lib/
control = bzrdir.
File "/usr/lib/
return BzrDir.
File "/usr/lib/
redirected)
File "/usr/lib/
return action(transport)
File "/usr/lib/
return transport, BzrDirFormat.
File "/usr/lib/
return format.
File "/usr/lib/
format_string = transport.
File "/usr/lib/
return StringIO(
File "/usr/lib/
resp = protocol.
File "/usr/lib/
result = self._recv_tuple()
File "/usr/lib/
assert new_char != '', "end of file reading from server."
AssertionError: end of file reading from server.
bzr 0.15.0 on python 2.5.1.candidate.1 (linux2)
arguments: ['/usr/bin/bzr', 'pull']
** please send this report to <email address hidden>
Changed in bzr: | |
assignee: | nobody → ian-clatworthy |
Changed in bzr: | |
status: | Confirmed → Fix Committed |
Changed in bzr: | |
milestone: | none → 0.92 |
status: | Fix Committed → Fix Released |
Confirmed. In general there are quite a few cases where the smart server code doesn't handle disconnects/ timeouts/ etc in a clean manner.