Hi all,

I'm some problems trying to build robots with the Python API, and I'm
wondering how stable the API is at the moment. Firstly I tried
building the tutorial robot and deploying it. That worked fine. So
next I tried to respond to BLIP_SUBMITTED events. Nothing happened at
all. Found the old thread where Pamela recommended changing
application IDs. This seems to have worked, and the same code now
responds correctly. Next step was to try and add content to a Wave.
Now the following code works fine when it is called from a
WAVELET_SELF_ADDED handler :

context.GetRootWavelet().CreateBlip().GetDocument().SetText("I have
something to say")

When I try and called this code from the BLIP_SUBMITTED handler
nothing is added into the wave. Checking the logs in AppEngine I can
see the Info messages from the jsonapi blob and it contains the
following elements:

...
{"blipId": "TBD_googlewave.com!conv+root_2", "index": 0, "waveletId":
"googlewave.com!conv+root", "javaClass":
"com.google.wave.api.impl.OperationImpl", "waveId": "googlewave.com!w
+M_fVUXs-I", "property": "I have something to say", "type":
"DOCUMENT_INSERT"}]}
...

So I'm kind of lost now. It looks like it is leaving the robot, but it
never shows up in the wave. Any ideas on how to fix this?

Amoss

PS It's not because the process hangs - there is a guard to stop the
newly added blip from triggering this code in the blip_submitted
handler and I don't see a cpu-spike in the Dashboard.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
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-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to