Don't call submit_with() until after you are done with all your changes
to wave_list.

  Thanks,
  -joe

--
Joe Gregorio
Developer Relations, Google Wave



On Sun, Jul 18, 2010 at 1:46 AM, raya shmakova <raya.shmak...@gmail.com>wrote:

> When i edit root_blip of wavelet everything works fine, but if i fetch
> the wavelet nothing happens neither in googleWave nor logs (no errors
> occured), although "wave_list.reply(text)" works. I have made
> myRobot.setup_oauth()
>
> def OnWaveletSelfAdded(event, wavelet):
>  """Invoked when the robot has been added."""
>  text = "123"
>  wave_list = myRobot.fetch_wavelet(wave_id="googlewave.com!w
> +O5yFQIteC", wavelet_id="googlewave.com!conv+root")
>  wave_list.submit_with(wavelet)
>  root_blip = wavelet.root_blip
>  root_blip.all().delete()
>  root_blip.append("WaveList\n" + text)
>  logging.info("root_blip.wave_id: %s" % root_blip.wave_id)
>
>
> What am I doing wrong? I've tried myRobot.submit(wave_list) - also no
> results
>
> --
> 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-...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
>

-- 
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-...@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