Problem pushing to Launchpad
Russel Winder
russel.winder at concertant.com
Sun Oct 4 07:56:12 BST 2009
Ali,
On Sat, 2009-10-03 at 22:38 +0200, Ali Sabil wrote:
> On Sat, Oct 3, 2009 at 1:39 PM, Russel Winder
> <russel.winder at concertant.com> wrote:
> > Jonathan,
> >
> > On Sat, 2009-10-03 at 11:49 +0100, Jonathan Lange wrote:
> >> On Sat, Oct 3, 2009 at 9:48 AM, Russel Winder
> >> <russel.winder at concertant.com> wrote:
> >> > I am trying to push an update to a branch on Launchpad, but I am
> >> > getting:
> >> >
> >> > bzr: ERROR: Server sent an unexpected error: ('error', "Cannot lock LockDir(lp-46086288:///~russel/gradle/anttask/.bzr/branchlock): File exists: u'/srv/bazaar.launchpad.net/push-branches/00/03/b7/f0/.bzr/branch/lock': [Errno 17] File exists: '/srv/bazaar.launchpad.net/push-branches/00/03/b7/f0/.bzr/branch/lock'")
> >> >
> >> > If anyone has a hint as to how to deal with this, that would be great.
> >>
> >> bzr break-lock bzr+ssh://bazaar.launchpad.net/~russel/gradle/anttask
> >
> > Aha, I should have thought of that, thanks for the prompt.
> > Unfortunately:
> >
> > |> bzr break-lock bzr+ssh://bazaar.launchpad.net/~russel/gradle/anttask
> > |> bzr push bzr+ssh://bazaar.launchpad.net/~russel/gradle/anttask
> > bzr: ERROR: Server sent an unexpected error: ('error', "Cannot lock LockDir(lp-46086288:///~russel/gradle/anttask/.bzr/branchlock): File exists: u'/srv/bazaar.launchpad.net/push-branches/00/03/b7/f0/.bzr/branch/lock': [Errno 17] File exists: '/srv/bazaar.launchpad.net/push-branches/00/03/b7/f0/.bzr/branch/lock'")
> > |>
> >
> > So it seems that something somewhere has severed appropriate connections
> > between locks and branches.
> >
>
> IIRC, with launchpad you need to call break-lock twice for some reason.
Thanks for the suggestion. I tried calling it nine times before
retrying the push but no joy.
I couldn't get lftp to do anything sensible about connecting to
Launchpad but I managed to get Hitchhiker to connect so as to be able to
look at the file
structure. /srv/bazaar.launchpad.net/push-branches/00/03/b7/f0/.bzr/branch/lock is an empty directory on Launchpad just as the equivalent is on my local branch.
All in all it seems I am seemingly unlikely to be able to fix this :-(
--
Russel.
=============================================================================
Dr Russel Winder Partner
xmpp: russel at russel.org.uk
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091004/6528a838/attachment-0001.pgp
More information about the bazaar
mailing list