FTP Location Error

Asked by Christophe

Hello

I am a total newbie to bazaar, so I am probably going to ask stupid things. I am also slightly confused by the tool :-)

I have Bazaar installed on my Windows machine. Locally, everything works fine. I do put an existing directory under control as a plain branch and start.

Now I do try to do the same thing with an ftp location on my Debian server. Initializing the Project works, but opening the project results in a error message, stating that there is no branch ('Kein Zweig' in German). I first thought it could be a permission problem, but the .bzr directory is created and I opened all permissions up temporaraly.

Am I getting something wrong? Do I need to installt Bazaar on my Debian machine as well? I am confused.

Many thanks for a hint.

Regards
Christophe

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Pool
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Martin Pool (mbp) said :
#2

Hi Christophe,

Please try the command again passing the -Derror option, eg

 bzr -Derror info ftp://..../

and that should give a traceback. Please attach that to this question.

When you say you're trying to open it, exactly what command are you running?

Revision history for this message
Christophe (christophe-galligalli) said :
#3

Dear Martin

Thanks for you answer.

What I did was initailizing a new bazaar instance from Bazaar Explorer. In the URL field I wrote 'ftp://....'. That resulted in a .bzr directoriy being created, but the Explorer can't open it.

In the meantime I have moved to using Bazaar from the command line on my server after installing Bazaar there as well....

It would still be nice if I could use the Bazaar Explorer on my WIndows machine as my 'Control Center' for the Linux Server as well. It is much more transparent than the command line interface.

I have come to the conclusion that I could install Samba on and make it available to Windows through SSH. This would trick Bazaar into thinking itis a local drive....

Or is there another method?

Regards
Christophe

Revision history for this message
Martin Pool (mbp) said :
#4

bzr explorer should be able to open ftp locations, but we need more data about what's going on when you say "can't open it".

How about using sftp or bzr+ssh to access the Linux server? This will be much faster and probably more reliable.

Revision history for this message
Christophe (christophe-galligalli) said :
#5

Hello Martin

What I do:

Open Bazaar
Open Project, use ftp://myuser@myserver/mypath
Input Password
Then I get a window with the message 'this branch has no working tree. last revision is 2' ( Dieser Zweig hat keinen Arbeitsbaum. Letzte Revision ist 2 in german). The revision number is correct.
The menus add, diff and commit are inactive

Using bzr+ssh sounds like a good ideas. Is there any documentation about it somewhere?

Martin, thanks a lot for you support.

Regards
Christophe

Revision history for this message
Best Martin Pool (mbp) said :
#6

Hi,

bzr+ssh should be discussed in the main user manual. You should basically just be able to swap bzr+ssh for ftp in the url.

You're getting this error because you can't do working-tree type operations on remote branches, like adding files. You probably want to push from your local working tree to the server.

Revision history for this message
Christophe (christophe-galligalli) said :
#7

Thank you for the support.

Regards
Christophe