>>> 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:
---
Fixed in stable r10831 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 10831>