I'm also having trouble creating waves, but I can't get it to work
even on the sandbox. The code I'm using is:

def OnBlipSubmitted(properties, context):
    """Invoked when a blip is submitted"""
    wave_id = context.GetRootWavelet().GetWaveId()
    wave = context.GetWaveById(wave_id)
    wavelet = wave.CreateWavelet()
    wavelet.AddParticipant('x...@googlewave.com')
    wavelet.CreateBlip().GetDocument().SetText('hello')

Are you doing this in a different way?

FWIW this is the raw output:

Outgoing: {"operations": {"javaClass": "java.util.ArrayList", "list":
[{"blipId": "", "index": -1, "waveletId": "", "javaClass":
"com.google.wave.api.impl.OperationImpl", "waveId": "wavesandbox.com!w
+PPx92iD8A", "property": {"waveletId": "conv+root", "javaClass":
"com.google.wave.api.impl.WaveletData", "participants": {"javaClass":
"java.util.ArrayList", "list": []}, "rootBlipId": "TBD_conv+root_1",
"waveId": "TBD_1"}, "type": "WAVELET_CREATE"}, {"blipId": "", "index":
-1, "waveletId": "conv+root", "javaClass":
"com.google.wave.api.impl.OperationImpl", "waveId": "TBD_1",
"property": "x...@googlewave.com", "type": "WAVELET_ADD_PARTICIPANT"},
{"blipId": "", "index": -1, "waveletId": "conv+root", "javaClass":
"com.google.wave.api.impl.OperationImpl", "waveId": "TBD_1",
"property": {"blipId": "TBD_conv+root_2", "javaClass":
"com.google.wave.api.impl.BlipData", "waveId": "TBD_1", "waveletId":
"conv+root"}, "type": "WAVELET_APPEND_BLIP"}, {"blipId": "TBD_conv
+root_2", "index": -1, "waveletId": "conv+root", "javaClass":
"com.google.wave.api.impl.OperationImpl", "waveId": "TBD_1", "type":
"DOCUMENT_DELETE"}, {"blipId": "TBD_conv+root_2", "index": 0,
"waveletId": "conv+root", "javaClass":
"com.google.wave.api.impl.OperationImpl", "waveId": "TBD_1",
"property": "hello", "type": "DOCUMENT_INSERT"}]}, "javaClass":
"com.google.wave.api.impl.OperationMessageBundle", "version": "11"}

André

On Oct 4, 2:33 pm, James Purser <jamesrpur...@gmail.com> wrote:
> I've been playing around with a gmail/gwave bridge bot and I've got it
> working fine on the dev preview however it doesn't seem to be working
> the same way on the beta preview.
>
> Specifically the bot is meant to be parsing an atom feed of the latest
> messages from the persons gmail account and then creating a series of
> waves. This works on the dev, but not the beta.
>
> Anyone have any ideas?
> --
> James Purser
> Collaborynthhttp://collaborynth.com.au
> Mob: +61 406 576 553
> Skype: purserj1977
> Twitter:http://twitter.com/purserj

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to