Public Impressions

John Arbash Meinel john at arbash-meinel.com
Fri May 5 20:23:01 BST 2006


Wayne Davison wrote:
> On Fri, May 05, 2006 at 10:32:22PM +0800, Lalo Martins wrote:
>> I have paramiko and pycrypto installed and tested on my windows python;
>> and bzr doesn't complain that it needs paramiko.  But when I try a branch
>> url with sftp:// it gives me an error message that sounds like it's trying
>> to use the url as a local filename.
> 
> This was just happening to me a few minutes ago.  I had installed the
> python-paramiko package on my Debian etch machine, which installed the
> python2.3-paramiko package (which is the default python on the machine).
> However, bzr is apparently using python 2.4, so I had to install
> python2.4-paramiko before bzr would stop treating the sftp://... URL
> as a relative filename path.
> 
> ..wayne..
> 
> 

Correct. In the past you would have gotten a "sftp not supported" error.
Recently we added the ability to allow more than one implementation to
support a given protocol. (Specifically so that http:// can be served by
pycurl or urllib if pycurl is not available).

The problem is that you weren't getting a good error.

Some of the other work that I've done would at least change your problem
to "sftp protocol not supported". Which doesn't really help you realize
why it isn't supported. And my changes won't land until post 0.8.

What we really need is for the list of implementations for a given
protocol to be tried, and if we can't use them, it should throw an error
right away.

Sorry for the difficulty.

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/20060505/c21a01d0/attachment.pgp 


More information about the bazaar mailing list