[Zoo-discuss] zoo.update_status in a Python Zoo service (part 2)
Herbert, David J.
darb1 at bas.ac.uk
Fri Oct 14 09:10:21 PDT 2016
Hello all,
I think I solved at least part of my own problem. Looking in more detail at the example Python services, I discovered I was not setting conf["lenv"]["message"] to what I wanted to be output in the status document - I think I'd assumed zoo.update_status did that from its arguments. So I have got past the Python error which was presumably update_status choking on an uninitialised dictionary key!
Still puzzling over how I actually use the status service to query the progress of my service. Problem is that the client side of this project may not eventually be using the Zoo Javascript API, so we really need to know how to make calls manually. Can anyone point me to where this is documented?
Many thanks,
David Herbert
British Antarctic Survey.
________________________________
This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20161014/a5f4fc16/attachment.html>
More information about the Zoo-discuss
mailing list