Hi Dirk, I'm sorry to hear about your troubles.

Are you developing with the Python or Java SDK? Here's the Python code
that works for me, every time:

from waveapi import events
from waveapi import model
from waveapi import robot


def OnSelfAdded(properties, context):
  """Invoked when the robot has been added."""
  root_wavelet = context.GetRootWavelet()
  root_wavelet.CreateBlip().GetDocument().SetText('Hello, Wave!')


if __name__ == '__main__':
  myrobot = robot.Robot('MyRobot',
                                    image_url='http://
appname.appspot.com/face.png',
                                    version='1',
                                    profile_url='http://
appname.appspot.com/')
  myrobot.RegisterHandler(events.WAVELET_SELF_ADDED, OnSelfAdded)
  myrobot.Run()


On Nov 12, 7:38 am, Dirk Holtwick <dirk.holtw...@gmail.com> wrote:
> Hi,
>
> I really become crazy with these robots. Each day something new is not
> working and it is totally arbitrary if I'm on the preview account or
> the sandbox. Currently I get all events on the 'preview' machine, but
> can not send back text on 'ROBOT ADDED' (while text submit after 'BLIP
> SUBMITTED' works). On the sandbox the same robot returns text on
> 'ROBOT ADDED' but does not get notified on 'BLIP SUBMITTED'.
>
> I need to get this stuff running because my Push Notification system
> of Waveboard relies on 
> it.http://www.getwaveboard.com/2009/11/waveboard-2-0-for-iphone-submitted/
>
> The bots are called 'dirk4' and 'xwaveboard' if you'd like to test.
> (Still in development, changing frequently, very experimental!)
>
> My proposal: Why couldn't Google people set up a central page where
> these know issues are listed with the most recent state. It takes me
> each day about an hour to figure out if the problem is on my side or
> on the Google side.
>
> Thanks,
> Dirk

--

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


Reply via email to