Problem with sftp and paramiko
John Arbash Meinel
john at arbash-meinel.com
Fri Mar 14 15:56:37 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
micky wrote:
> Hello,
>
> when i try a connect to a bazzar machine via sftp with the command line,
>
> bzr branch ftp://<username>@<ip><path>
>
> i got the error,
>
> bzr: ERROR: Unsupported protocol for url "sftp://<username>@<ip><path>":
> Unable to import paramiko (required for sftp support): cannot import
> name util
>
>
I can't say for sure, but it sounds like you just need to (re)install
paramiko.
At least from here I see "python2.4/site-packages/paramiko/util.py"
However, it may be that we are doing something a bit incorrect.
Specifically we only "import paramiko" but then we access
"paramiko.util". Perhaps the import needs to change to "import
paramiko.util" ?
(In bzrlib/transport/ssh.py)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH2qA0JdeBCYSNAAMRAprsAJ4n7rIYKA8TdI0aaoJ+PXG37oiP2gCdGTop
pwXDOgAqI/u4rZ90vNhNa5I=
=IGOy
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list