sftp broken on Cygwin?
John Arbash Meinel
john at arbash-meinel.com
Sat Jun 24 14:01:14 BST 2006
John Whitley wrote:
> When I wasn't looking, sftp seems to have broken on Cygwin. At least
> push, pull, and commit have all worked in the past w/ bzr 0.8.2, but
> when I most recently attempted a pull to update a branch on a Cygwin
> installation it failed as:
>
>>> bzr pull
> Using saved location: sftp://user@example.com/~/bzr/repo/a-branch
> bzr: ERROR: Invalid url supplied to transport:
> 'sftp://user@example.com/~/bzr/repo/a-branch': Unsupported protocol: sftp
>
> I can ssh to this host just fine. I've tried bzr 0.8.2 as well as tip
> of bzr.dev (revno 1809). Similarly, I've tried paramiko 1.5.4, 1.6, and
> tip of trunk. I suspect that a Cygwin update broke sftp at some point.
>
> Is this a known issue? I started wandering around in the debugger, but
> didn't have time to get very far today.
>
> -- John
There are 2 pieces:
If you are getting 'Unsupported protocol', there is an issue with
paramiko not loading correctly. (We do need better error messages for this).
Can you do
python -c "import paramiko"
There was also a bug where not using a trailing slash was causing a
problem. It shouldn't cause problems with saved locations, but if you
are typing them manually.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060624/b988e9a6/attachment.pgp
More information about the bazaar
mailing list