I traced down the error message to this method in
lazr/restful/_resource.py. I have no idea why one series would get a
ComponentLookupError and not the other one. Because it catches the
exception, there is no useful information in the logs.
def handleCustomGET(self, operation_name):
"""Execute a custom search-type operation triggered through GET.
This is used by both EntryResource and CollectionResource.
:param operation_name: The name of the operation to invoke.
:return: The result of the operation: either a string or an
object that needs to be serialized to JSON.
"""
try: operation = getMultiAdapter((self.context, self.request), IResourceGETOperation, name=operation_name)
except ComponentLookupError: self.request.response.setStatus(400)
return "No such operation: " + operation_name
return operation()
This is the url generating the "No such operation: get_timeline" error: /edge.launchpad .net/api/ beta/divisiui/ releases? ws.op=get_ timeline& include_ inactive= true
https:/
Interestingly, the other series does not have this error. Neither does get_timeline( ) actually calls each series. get_timeline( ). /edge.launchpad .net/api/ beta/divisiui/ prototype? ws.op=get_ timeline& include_ inactive= true /edge.launchpad .net/api/ beta/divisiui? ws.op=get_ timeline& include_ inactive= true
the project itself, which is surprising, because the
project.
https:/
https:/
I traced down the error message to this method in _resource. py. I have no idea why one series would get a Error and not the other one. Because it catches the
lazr/restful/
ComponentLookup
exception, there is no useful information in the logs.
def handleCustomGET (self, operation_name):
"""Execute a custom search-type operation triggered through GET.
This is used by both EntryResource and CollectionResource.
:param operation_name: The name of the operation to invoke.
operation = getMultiAdapter ((self. context, self.request),
IResourceG ETOperation,
name= operation_ name) Error:
self. request. response. setStatus( 400)
:return: The result of the operation: either a string or an
object that needs to be serialized to JSON.
"""
try:
except ComponentLookup
return "No such operation: " + operation_name
return operation()