Failure during remote upgrade

Philippe Lhoste PhiLho at GMX.net
Thu Oct 1 11:22:03 BST 2009


On 01/10/2009 11:12, Philippe Lhoste wrote:
> I suppose I can get a Windows command line SFTP client

Actually, I found out I already have one: PSFTP from PuTTY!
But no luck:

 > psftp bazaar.launchpad.net
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 1024 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n) n
login as: philho
Remote working directory is /
psftp> ls
Listing directory /
Unable to open .: no such file or directory
psftp> cd ~philho
Directory /~philho: no such file or directory
psftp> cd +junk
Directory /+junk: no such file or directory
psftp> cd /srv/bazaar.launchpad.net/push-branches/00/00/a6/f3
Directory /srv/bazaar.launchpad.net/push-branches/00/00/a6/f3: no such file or directory
psftp> cd /push-branches/00/00/a6/f3
Directory /push-branches/00/00/a6/f3: no such file or directory
psftp> ^Z
quit

Let me guess: +junk branches are not stored in user dir, that's why my directory is empty 
(I have no main project) and I can't reach them (no access from my account).
Great.

Any comment/information on these +junk projects and how to access them with SFTP?

> but I might as 
> well just download hitchhiker which seems to be of general usefulness 
> anyway.

Mmm, it doesn't seem to be made for Windows users... (or non-Python programmers.)

Forgetting the example given by Aaron, I first thought it was a Bazaar plugin (why not? it 
would be simpler to use...)
Finding out my error, I renamed 'hitchhiker' to 'hitchhicker.py' so I can run it without 
typing 'python'...
Note: I have installed ActivePython 2.5.2.2 some time ago because I still plan to learn 
Python someday (when I will get another life...).
So I run hitchhiker, and Python protests it doesn't know 'readline' library. Hum. I don't 
need interactive mode, so I comment it out. It says it doesn't know 'bzrlib'. Argh!
The Windows Python FAQ explains how to install and use Python, but fails to explain how to 
indicate the path to an arbitrary library. Is there something like Java's classpath or 
Lua's LUA_[C]PATH?
Perhaps a few more lines of explanations for the total newbies could be welcome in the 
README file... :-)

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --




More information about the bazaar mailing list