failure to start remote bzr has poor error message

Bug #497052 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

I was recently doing some testing of network performance to a host. So I set "BZR_REMOTE_PATH" in that terminal to my custom script. That was last night, and by today, I had forgotten I had done so.

Today, I went to update my bzr.dev branch, and got:

...=> bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/: Unable to invoke remote bzr bazaar.launchpad.net; Channel closed.

A better error message could have said:
 Unable to invoke remote /<email address hidden>

Which would have made it clear to me immediately what was wrong.

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 497052] [NEW] failure to start remote bzr has bad error message

Or maybe

failed to run 'ssh -v blah@foo /usr/blah/bzr --inet'

and you can improve some other situations with ssh.

Revision history for this message
John A Meinel (jameinel) wrote :

I would worry a little bit that the command line would get a bit 'crufty'. Given that we do stuff like -OX11Forward=no and other such flags. I do like the idea, though.

I'll note that I generally run via paramiko, so ssh isn't a specific concern, but getting the full info of what failed would, indeed, have helped here.

summary: - failure to start remote bzr has bad error message
+ failure to start remote bzr has poor error message
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.