The sca logs for this error actually included an oops report, Oops-1756EA1582
Looking at that it seems we're failing to access the 'latitude' attribute on Jane's PersonLocation, when trying to take a snapshot of the person:
Unauthorized: (<PersonLocation at 0x2b480af0c4d0>, 'latitude', 'launchpad.View')
Traceback (most recent call last):
Module zope.publisher.publish, line 134, in publish
result = publication.callObject(request, obj)
Module lazr.restful.publisher, line 171, in callObject
WebServicePublicationMixin, self).callObject(request, object)
Module canonical.launchpad.webapp.publication, line 483, in callObject
return mapply(ob, request.getPositionalArguments(), request)
Module zope.publisher.publish, line 109, in mapply
return debug_call(obj, args)
- __traceback_info__: <security proxied lazr.restful._resource.EntryResource instance at 0x2b4807f64190>
Module zope.publisher.publish, line 115, in debug_call
return obj(*args)
Module lazr.restful._resource, line 913, in __call__
result = self.do_POST()
Module lazr.restful._resource, line 746, in do_POST
return self.handleCustomPOST(operation_name)
Module lazr.restful._resource, line 1325, in handleCustomPOST
value = super(EntryResource, self).handleCustomPOST(operation_name)
Module lazr.restful._resource, line 730, in handleCustomPOST
return operation()
Module lazr.restful._operation, line 81, in __call__
self.context, providing=providedBy(self.context))
Module lazr.lifecycle.snapshot, line 85, in __init__
value = getattr(ob, name, _marker)
Module lp.registry.model.person, line 612, in latitude
return ProxyFactory(self.location).latitude
Unauthorized: (<PersonLocation at 0x2b480af0c4d0>, 'latitude', 'launchpad.View')
This would seem to say that it will fail consistently for users like Jane that have opted to hide their location, until we sort this out on LP. We'll discuss ways to work this out with them.
The sca logs for this error actually included an oops report, Oops-1756EA1582
Looking at that it seems we're failing to access the 'latitude' attribute on Jane's PersonLocation, when trying to take a snapshot of the person:
Unauthorized: (<PersonLocation at 0x2b480af0c4d0>, 'latitude', 'launchpad.View')
Traceback (most recent call last): publish, line 134, in publish callObject( request, obj) publisher, line 171, in callObject ublicationMixin , self).callObjec t(request, object) launchpad. webapp. publication, line 483, in callObject getPositionalAr guments( ), request) publish, line 109, in mapply _resource. EntryResource instance at 0x2b4807f64190> publish, line 115, in debug_call _resource, line 913, in __call__ _resource, line 746, in do_POST omPOST( operation_ name) _resource, line 1325, in handleCustomPOST urce, self).handleCus tomPOST( operation_ name) _resource, line 730, in handleCustomPOST _operation, line 81, in __call__ providedBy( self.context) ) snapshot, line 85, in __init__ model.person, line 612, in latitude self.location) .latitude
Module zope.publisher.
result = publication.
Module lazr.restful.
WebServiceP
Module canonical.
return mapply(ob, request.
Module zope.publisher.
return debug_call(obj, args)
- __traceback_info__: <security proxied lazr.restful.
Module zope.publisher.
return obj(*args)
Module lazr.restful.
result = self.do_POST()
Module lazr.restful.
return self.handleCust
Module lazr.restful.
value = super(EntryReso
Module lazr.restful.
return operation()
Module lazr.restful.
self.context, providing=
Module lazr.lifecycle.
value = getattr(ob, name, _marker)
Module lp.registry.
return ProxyFactory(
Unauthorized: (<PersonLocation at 0x2b480af0c4d0>, 'latitude', 'launchpad.View')
This would seem to say that it will fail consistently for users like Jane that have opted to hide their location, until we sort this out on LP. We'll discuss ways to work this out with them.