Problem with bzr branch

Asked by Michal Hruby on 2011-01-12

I have a problem with pushing to lp:~awn-core/libdesktop-agnostic/various-fixes. The error message is:

$ bzr push
Using saved push location: bzr+ssh://bazaar.launchpad.net/~awn-core/libdesktop-agnostic/various-fixes/
bzr: ERROR: Server sent an unexpected error: ('error', "Cannot lock LockDir(lp-77515728:///~awn-core/libdesktop-agnostic/various-fixes/.bzr/branchlock): File exists: u'/srv/bazaar.launchpad.net/mirrors/00/02/44/a5/.bzr/branch/lock': [Errno 17] File exists: '/srv/bazaar.launchpad.net/mirrors/00/02/44/a5/.bzr/branch/lock'")

I tried using break-lock but it doesn't help, break-lock doesn't show any error, but after pushing again the same error ^^ appears.

Some additional info:
$ bzr info
Standalone tree (format: 1.6)
Location:
  branch root: .

Related branches:
    push branch: bzr+ssh://bazaar.launchpad.net/~awn-core/libdesktop-agnostic/various-fixes/
  parent branch: bzr+ssh://bazaar.launchpad.net/%2Bbranch/libdesktop-agnostic/
  submit branch: bzr+ssh://bazaar.launchpad.net/%7Emalept/libdesktop-agnostic/trunk/

The problem is probably related to the fact that the branch was created while lp:libdesktop-agnostic referred to lp:~malept/libdesktop-agnostic/trunk, but now it belongs to "libdesktop-agnostic developers" team and therefore the parent uri has changed.

Any suggestions how to fix this error?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
[LEGACY] Canonical WebOps Edit question
Solved by:
Stefan Stasik
Solved:
2011-01-12
Last query:
2011-01-12
Last reply:
2011-01-12
Whiteboard:
2011-01-12 henninge: Hi losas, can you please remove the lock file for this branch?
Best Stefan Stasik (stefan-stasik) said : #1

Hello: I have removed: removed directory: `/srv/bazaar.launchpad.net/mirrors/00/02/44/a5/.bzr/branch/lock/' as you requested. Hopefully this will fix your error now. Please respond back if it doesn't.

Regards, Stefan

Michal Hruby (mhr3) said : #2

Thanks Stefan Stasik, that solved my question.