Error when attempting to push to a packaging branch: Unexpected Zope exception
Bug Description
affects launchpad
done
I was attempting to push a packaging branch to launchpad, creating a branch that I knew didn't exist, but I thought would work. I was attempting to push to lp:ubuntu/natty-proposed/bcmwl. When attempting to do so, I got the following error:
bzr: ERROR: Server sent an unexpected error: ('error', '<Fault -1: "Unexpected Zope exception: TypeError: (\'Could not adapt\', <SuiteSourcePackage ubuntu/
lp.code.
I am a member of ubuntu-core-dev, and know that packaging branches exist under the lp:ubuntu/natty-proposed namespace, I even branched one myself to be sure.
So the error is bad. However we don't have a good name for give this
branch - you're pushing to what is basically a symlink.
We can write an adapter for SuiteSourcePackage => PackageBranchTarget which is easy. This might not be correct though because the branch name is not the last part of the url. eg
lp:ubuntu/natty-proposed/bcmwl
becomes
lp:~ubuntu-branches/ubuntu/natty/bcmwl/natty-proposed
which means that "natty-proposed" is the actual name for the package branch.
I'm going to guess this falls under the "errors are critical" policy.