get "access denied" or "unlockable transport" using an lp: url

Created by Martin Pool on on 2008-07-07
Keywords:
launchpad

A command like "bzr push lp:foo" may fail with a "transport not lockable" or "transport readonly error." This indicates that Bazaar does not know how to authenticate you to Launchpad, so can only open the branch in readonly mode. More recent versions of Bazaar give a suggestion that you should use "bzr launchpad-login" to set your username.

To avoid this message you can either run "bzr launchpad-login" or use a "bzr+ssh://" url to specify your username when writing to a branch hosted on Launchpad.