Problems pushing to launchpad from bzr on Debian

Asked by Bernard van de Koppel

Hi,

If I try to create a branche which does not exist, I get the folowing error:

peter:/# bzr push sftp://bazaar.launchpad.net/~sipman-devel/sipman.net/test2
bzr: ERROR: [Errno 2] No such file: u'/srv/bazaar.launchpad.net/push-branches/00/00/88/ed/.bzr/repository/inventory.kndx': [Errno 2] No such file or directory: u'/srv/bazaar.launchpad.net/push-branches/00/00/88/ed/.bzr/repository/inventory.kndx'

If I try to push an existing branch I get the error

peter:/# bzr push sftp://bazaar.launchpad.net/~sipman-devel/sipman.net/test1
bzr: ERROR: File exists: u'/~sipman-devel/sipman.net/test1': mkdir failed: unable to mkdir

Trying the stuff with the below command seems to do someting, but results for the seccond time in creating an message like
peter:/# bzr push lp:~sipman-devel/sipman.net/testing
0 revision(s) pushed.
peter:/# bzr push lp:~sipman-devel/sipman.net/testing
bzr: ERROR: Error(s) parsing config file /root/.bazaar/locations.conf:
Invalid line at line "0".
peter:/#
peter:/# cat /root/.bazaar/locations.conf
[""]
push_location = file:///lp%3A%7Esipman-devel/sipman.net/testing/
peter:/#
I guess it is not actually uploading the stuff.

I am using
peter:/# bzr --version
Bazaar (bzr) 0.11.0
  from bzr checkout /
    revision: 2
    revid: <email address hidden>
bzr: ERROR: Error(s) parsing config file /root/.bazaar/locations.conf:
Invalid line at line "0".
    branch nick:

How can I start using launchpad with bazaar??

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Bernard van de Koppel
Solved:
Last query:
Last reply:
Revision history for this message
Michael Hudson-Doyle (mwhudson) said :
#1

I can't reproduce your problems, I'm afraid.

I notice that you are using an extremely old version of bzr -- getting on for 2.5 years old! Can you upgrade to a newer version?

Revision history for this message
Bernard van de Koppel (bko-sipman-net) said :
#2

Hi,
I upgraded bazaar to the debian testing release and it worked.
Thanks.