Error when attempting to push to a packaging branch: Unexpected Zope exception

Bug #792185 reported by Luke Yelavich on 2011-06-03
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Critical
Unassigned

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/natty-proposed/bcmwl>, <InterfaceClass
lp.code.interfaces.branchtarget.IBranchTarget>)">')

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.

I'm going to guess this falls under the "errors are critical" policy.

summary: - Error when attempting to push to a packaging branch.
+ Error when attempting to push to a packaging branch: Unexpected Zope
+ exception: TypeError:(\'Could not adapt\', <SuiteSourcePackage ubuntu
+ /natty-proposed/bcmwl>,<InterfaceClass
+ lp.code.interfaces.branchtarget.IBranchTarget>)
Changed in launchpad:
importance: Undecided → Critical
status: New → Triaged

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.

William Grant (wgrant) on 2012-10-22
tags: added: codehosting-ssh
Curtis Hovey (sinzui) on 2012-10-25
tags: added: oops
summary: Error when attempting to push to a packaging branch: Unexpected Zope
- exception: TypeError:(\'Could not adapt\', <SuiteSourcePackage ubuntu
- /natty-proposed/bcmwl>,<InterfaceClass
- lp.code.interfaces.branchtarget.IBranchTarget>)
+ exception
Curtis Hovey (sinzui) wrote :

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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers