0.16rc2: bzr+ssh: craches when host is unknown

Bug #112943 reported by greener
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Hi,

Tried to find a similar bug in the BTS, but didn't; as a newbie the lingo could make me overlook it, though...
I run with debian's Python 2.4.4 (#2, Apr 5 2007, 20:11:18)

As I now have the development branch, is it better to test that one rather than 0.16rc2?

Best regards
Tore

bzr init-repo --no-trees bzr+ssh://<email address hidden>/srv/bzr/upload
ssh: zeitgeist.hjemme.tf: Name or service not known
bzr: ERROR: exceptions.AssertionError: end of file reading from server.

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py", line 718, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py", line 679, in run_bzr
    ret = run(*run_argv)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py", line 375, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/builtins.py", line 1353, in run
    to_transport.mkdir('.')
  File "/usr/local/lib/python2.4/site-packages/bzrlib/transport/remote.py", line 224, in mkdir
    self._serialise_optional_mode(mode))
  File "/usr/local/lib/python2.4/site-packages/bzrlib/transport/remote.py", line 179, in _call2
    return self._client.call(method, *args)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/smart/client.py", line 30, in call
    result, protocol = self.call_expecting_body(method, *args)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/smart/client.py", line 45, in call_expecting_body
    return smart_protocol.read_response_tuple(expect_body=True), smart_protocol
  File "/usr/local/lib/python2.4/site-packages/bzrlib/smart/protocol.py", line 341, in read_response_tuple
    result = self._recv_tuple()
  File "/usr/local/lib/python2.4/site-packages/bzrlib/smart/protocol.py", line 367, in _recv_tuple
    return _decode_tuple(self._recv_line())
  File "/usr/local/lib/python2.4/site-packages/bzrlib/smart/protocol.py", line 376, in _recv_line
    assert new_char != '', "end of file reading from server."
AssertionError: end of file reading from server.

bzr 0.16.0candidate2 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/local/bin/bzr', 'init-repo', '--no-trees', 'bzr+ssh://<email address hidden>/srv/bzr/upload']

** please send this report to <email address hidden>

Tags: easy hpss
Revision history for this message
Mateusz Korniak (matkor) wrote : similar for 0.18 with no route to host ( bzr+ssh: craches when host is unknown)

[matkor@beauty /usr/lib/python2.4/site-packages]$ bzr checkout bzr+ssh://appserver2/srv/bzr/abbon/admin/
ssh: connect to host appserver2 port 22: No route to host
bzr: ERROR: exceptions.AssertionError: end of file reading from server.

Traceback (most recent call last):
  File "/usr/share/python2.4/site-packages/bzrlib/commands.py", line 729, in run_bzr_catch_errors
  File "/usr/share/python2.4/site-packages/bzrlib/commands.py", line 691, in run_bzr
  File "/usr/share/python2.4/site-packages/bzrlib/commands.py", line 389, in run_argv_aliases
  File "/usr/share/python2.4/site-packages/bzrlib/builtins.py", line 929, in run
  File "/usr/share/python2.4/site-packages/bzrlib/branch.py", line 131, in open
  File "/usr/share/python2.4/site-packages/bzrlib/bzrdir.py", line 529, in open
  File "/usr/share/python2.4/site-packages/bzrlib/bzrdir.py", line 566, in open_from_transport
  File "/usr/share/python2.4/site-packages/bzrlib/lazy_import.py", line 116, in __call__
  File "/usr/share/python2.4/site-packages/bzrlib/transport/__init__.py", line 1166, in do_catching_redirections
  File "/usr/share/python2.4/site-packages/bzrlib/bzrdir.py", line 542, in find_format
  File "/usr/share/python2.4/site-packages/bzrlib/bzrdir.py", line 1244, in find_format
  File "/usr/share/python2.4/site-packages/bzrlib/bzrdir.py", line 2212, in probe_transport
  File "/usr/share/python2.4/site-packages/bzrlib/smart/protocol.py", line 392, in query_version
  File "/usr/share/python2.4/site-packages/bzrlib/smart/protocol.py", line 349, in read_response_tuple
  File "/usr/share/python2.4/site-packages/bzrlib/smart/protocol.py", line 377, in _recv_tuple
  File "/usr/share/python2.4/site-packages/bzrlib/smart/protocol.py", line 386, in _recv_line
AssertionError: end of file reading from server.

bzr 0.18.0 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'checkout', 'bzr+ssh://appserver2/srv/bzr/abbon/admin/']

** please send this report to <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.