Public bug reported: when trying: bzr lp-propose lp:bamf -m "foo": bzr: ERROR: bzrlib.errors.InaccessibleParent: Parent not accessible given base "bzr+ssh://bazaar.launchpad.net/+branch/bamf/" and relative path "../../../~anjali-team/anjali/bamf/"
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1141, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run return self._operation.run_simple(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple self.cleanups, self.func, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/cmds.py", line 328, in run fixes=fixes) File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_propose.py", line 83, in __init__ self.launchpad, target_branch) File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_api.py", line 222, in from_bzr for url in cls.candidate_urls(bzr_branch): File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/lp_api.py", line 202, in candidate_urls url = bzr_branch.get_parent() File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 1125, in get_parent raise errors.InaccessibleParent(parent, self.user_url) InaccessibleParent: Parent not accessible given base "bzr+ssh://bazaar.launchpad.net/+branch/bamf/" and relative path "../../../~anjali-team/anjali/bamf/" This is because the anjali-team bamf branch is not used anymore and removed (the current lp:bamf is under ~unity-team and the one used for now). When looking at potential parent branch, we should be catching it and just skipping that one. ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: bzr 2.6.0~beta2-0ubuntu1 ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7 Uname: Linux 3.5.0-18-generic x86_64 ApportVersion: 2.6.2-0ubuntu3 Architecture: amd64 Date: Tue Nov 13 09:29:59 2012 EcryptfsInUse: Yes InstallationDate: Installed on 2012-05-28 (168 days ago) InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) MarkForUpload: True PackageArchitecture: all ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=fr_FR.UTF-8 SHELL=/bin/bash SourcePackage: bzr UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: bzr Importance: Undecided Status: New ** Affects: bzr (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug raring running-unity ** Also affects: bzr Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1078205 Title: lp-propose fails if the target branch has an inaccessible parent branch To manage notifications about this bug go to: https://bugs.launchpad.net/bzr/+bug/1078205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs