Hi

I have no idea, what you are doing, but looking at the code.

mapreduce_state is defined a few lines earlier in the post method (utils.py) 
by 

mapreduce_id = self.request.headers['Mapreduce-Id']
mapreduce_state = model.MapreduceState.get_by_job_id(mapreduce_id)

And it doesn't get to this code if "Mapreduce-Id' isn't in headers, however 
mapreduce_state is None
so the get_by_job_id call is returning None.  So your mapreduce_id doesn't 
resolve to anything.

Hope this helps

T

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Bxx8PDN20OkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to