Can't get sftp to work on Mac OS X or Cygwin
John A Meinel
john at arbash-meinel.com
Thu May 11 01:59:58 BST 2006
John Whitley wrote:
> I'm seeing essentially identical sftp push failures from .bzr.log's
> perspective on both Cygwin and Mac OS X. The error message is either
> unhelpful or outright misleading. I've got paramiko-1.5.4 and
> pycrypto-2.0.1 installed on both systems, and can import these modules
> manually in python. FYI, pycrypto's egg-based install seems to be
> broken on Cygwin -- it fails to make the .egg file executable, which
> causes the binary extension modules (e.g. Crypto.Cipher.DES3) to fail to
> load.
>
> Generic repro steps
> -------------------
> $ ssh host.org
> $ mkdir bzr; cd bzr
> $ bzr init test
> $ exit
> $ mkdir bzr; cd bzr
> $ bzr init test
> $ cd test
> $ echo "this is a test" > a-file.txt
> $ bzr add
> $ bzr commit -m "stuff"
> $ bzr push sftp://host.org/bzr/test
> bzr: ERROR: Parent directory of sftp://host.org/bzr/test does not exist.
>
Paths give by 'sftp://host/' are absolute path urls. So you need to
either do:
sftp://host.org/~/bzr/test
Or
sftp://host.org/home/user/bzr/test
The above problem is that the directory '/bzr' does not exist on 'host.org'.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060510/073fbbcd/attachment.pgp
More information about the bazaar
mailing list