API: 'Code failed to merge' setting doesn't work

Bug #561160 reported by Robert Collins on 2010-04-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Robert Collins

Bug Description

>>> mp.setStatus(status='Code failed to merge')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 482, in __call__
    url, in_representation, http_method, extra_headers=extra_headers)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 269, in _request
    raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 500: Internal Server Error
Response headers:
---
connection: close
content-length: 2102
content-type: text/plain
date: Mon, 12 Apr 2010 03:32:04 GMT
server: zope.server.http (HTTP)
status: 500
via: 1.1 wildcard.staging.launchpad.net
x-lazr-oopsid: OOPS-1563S64
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
Unexpected queue status:

Traceback (most recent call last):
  File "/srv/staging.launchpad.net/staging/launchpad/eggs/zope.publisher-3.10.0-py2.5.egg/zope/publisher/publish.py", line 134, in publish
    result = publication.callObject(request, obj)
  File "/srv/staging.launchpad.net/staging/launchpad/eggs/lazr.restful-0.9.24-py2.5.egg/lazr/restful/publisher.py", line 171, in callObject
    WebServicePublicationMixin, self).callObject(request, object)
  File "/srv/staging.launchpad.net/staging/launchpad/lib/canonical/launchpad/webapp/publication.py", line 421, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/srv/staging.launchpad.net/staging/launchpad/eggs/zope.publisher-3.10.0-py2.5.egg/zope/publisher/publish.py", line 109, in mapply
    return debug_call(obj, args)
  File "/srv/staging.launchpad.net/staging/launchpad/eggs/zope.publisher-3.10.0-py2.5.egg/zope/publisher/publish.py", line 115, in debug_call
    return obj(*args)
  File "/srv/staging.launchpad.net/staging/launchpad/eggs/lazr.restful-0.9.24-py2.5.egg/lazr/restful/_resource.py", line 889, in __call__
    result = self.do_POST()
  File "/srv/staging.launchpad.net/staging/launchpad/eggs/lazr.restful-0.9.24-py2.5.egg/lazr/restful/_resource.py", line 720, in do_POST
    return self.handleCustomPOST(operation_name)
  File "/srv/staging.launchpad.net/staging/launchpad/eggs/lazr.restful-0.9.24-py2.5.egg/lazr/restful/_resource.py", line 704, in handleCustomPOST
    return operation()
  File "/srv/staging.launchpad.net/staging/launchpad/eggs/lazr.restful-0.9.24-py2.5.egg/lazr/restful/_operation.py", line 59, in __call__
    response = self.call(**values)
  File "/srv/staging.launchpad.net/staging/launchpad/eggs/lazr.restful-0.9.24-py2.5.egg/lazr/restful/declarations.py", line 1124, in call
    result = getattr(self.context, self._method_name)(**params)
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/code/model/branchmergeproposal.py", line 348, in setStatus
    raise AssertionError('Unexpected queue status: ' % status)
AssertionError: Unexpected queue status:

---

Related branches

Tim Penhey (thumper) on 2010-04-12
tags: added: code-review merge-queues trivial
Tim Penhey (thumper) on 2010-04-12
Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Low
Changed in launchpad-code:
status: Triaged → In Progress
Changed in launchpad-code:
assignee: nobody → Robert Collins (lifeless)
milestone: none → 10.05
status: In Progress → Fix Committed
tags: added: qa-needstesting
Tim Penhey (thumper) on 2010-06-01
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui) on 2010-06-02
Changed in launchpad-code:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers