[Google Wave APIs] Re: GADGET_STATE_CHANGED (Preview) does not fire

2009-11-18 Thread cmdskp
For a gadget, I'd recommend BLIP_SUBMITTED because, AFAIK, it fires
only whent a gadget is updated or a blip is submitted or moved away
from (though I suspect that last bit of the quote from the docs may be
untrue...since blips can remain unsubmitted forever it seems at
times).

DOCUMENT_CHANGED fires every time content is modified or added (E.g.
live typing) and so would send you more unrelated events.


On Nov 17, 9:40 am, pamela (Google Employee) pamela...@gmail.com
wrote:
 You can use either of those events to find out when a gadget state has been
 updated.

 On Mon, Nov 16, 2009 at 10:37 PM, hcvst hcv...@googlemail.com wrote:
  Somehow I missed that it's a draft only. I thought the protocol
  already supported it, so I just added the event to the Python client
  lib in waveapi.events. I guess I will have to listen for other events
  and incur the additional traffic load for now. Which event should one
  use: BLIP_SUBMITTED, DOCUMENT_CHANGED, ..?

  On Nov 17, 5:15 am, cmdskp comdudes...@hotmail.com wrote:
   Ah, found where I read it - the draft version of the next Robot API
   here:

  http://code.google.com/apis/wave/extensions/robots/protocol.html

   On Nov 17, 2:45 am, cmdskp comdudes...@hotmail.com wrote:

GADGET_STATE_CHANGED does not exist currently - but has been mentioned
by Google as coming in a future version of the API, AFAIK, this hasn't
been released yet.

Possibly I read about it on the Wave API Issues.

On Nov 16, 9:58 pm, qMax qwigly...@gmail.com wrote:

 And GADGET_STATE_CHANGED is not in current API neither in java nor
 python.
 Where did you found it ?

 On Nov 17, 1:02 am, hcvst hcv...@googlemail.com wrote:

  Hi,

  my bot's capabilities.xml states that it is interested in
  GADGET_STATE_CHANGED events. I've upped the bot's version after
  adding
  this event to the ones it's interested in, yet looking at the GAE
  logs
  my bot does not seem to be notified.

  Is this event not supported yet?

  Thanks,
  HC

  --

  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.comgoogle-wave-api%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-wave-api?hl=.



--

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




[Google Wave APIs] Re: GADGET_STATE_CHANGED (Preview) does not fire

2009-11-16 Thread Olreich
When I changed the version on my robot, I found that appEngine kept
serving v1 of the application. To fix this, I went into the Versions
panel on the dashboard (under the Administration header) and made v2
my default version. Then removed and re-added the bot, and everything
was updated well.

--

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




[Google Wave APIs] Re: GADGET_STATE_CHANGED (Preview) does not fire

2009-11-16 Thread qMax
This seems to be bug#278
http://code.google.com/p/google-wave-resources/issues/detail?id=278

changing appengine version will let appengine to serve new
capabilities,
but wave server will not rerequest it.

until this bug is fixed the only way is to start robot with new
capabilities is to upload it under new app name.

On Nov 17, 1:37 am, hcvst hcv...@googlemail.com wrote:
 Hi again,

 after examining the logs some more, it appears that WaveRobotGateway
 hasn't requested
 capabilities.xml since I've updated it.

 Is there a way to force a refresh? The last request was about two
 hours ago. I've tried
 creating new waves, using the proxyFor syntax mybot+t...@appspot.com,
 restarting the browser
 and adding participants.

 Regards,
 HC

 On Nov 16, 9:02 pm, hcvst hcv...@googlemail.com wrote:



  Hi,

  my bot's capabilities.xml states that it is interested in
  GADGET_STATE_CHANGED events. I've upped the bot's version after adding
  this event to the ones it's interested in, yet looking at the GAE logs
  my bot does not seem to be notified.

  Is this event not supported yet?

  Thanks,
  HC

--

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




[Google Wave APIs] Re: GADGET_STATE_CHANGED (Preview) does not fire

2009-11-16 Thread qMax
And GADGET_STATE_CHANGED is not in current API neither in java nor
python.
Where did you found it ?

On Nov 17, 1:02 am, hcvst hcv...@googlemail.com wrote:
 Hi,

 my bot's capabilities.xml states that it is interested in
 GADGET_STATE_CHANGED events. I've upped the bot's version after adding
 this event to the ones it's interested in, yet looking at the GAE logs
 my bot does not seem to be notified.

 Is this event not supported yet?

 Thanks,
 HC

--

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




[Google Wave APIs] Re: GADGET_STATE_CHANGED (Preview) does not fire

2009-11-16 Thread cmdskp
GADGET_STATE_CHANGED does not exist currently - but has been mentioned
by Google as coming in a future version of the API, AFAIK, this hasn't
been released yet.

Possibly I read about it on the Wave API Issues.


On Nov 16, 9:58 pm, qMax qwigly...@gmail.com wrote:
 And GADGET_STATE_CHANGED is not in current API neither in java nor
 python.
 Where did you found it ?

 On Nov 17, 1:02 am, hcvst hcv...@googlemail.com wrote:

  Hi,

  my bot's capabilities.xml states that it is interested in
  GADGET_STATE_CHANGED events. I've upped the bot's version after adding
  this event to the ones it's interested in, yet looking at the GAE logs
  my bot does not seem to be notified.

  Is this event not supported yet?

  Thanks,
  HC



--

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




[Google Wave APIs] Re: GADGET_STATE_CHANGED (Preview) does not fire

2009-11-16 Thread hcvst
Somehow I missed that it's a draft only. I thought the protocol
already supported it, so I just added the event to the Python client
lib in waveapi.events. I guess I will have to listen for other events
and incur the additional traffic load for now. Which event should one
use: BLIP_SUBMITTED, DOCUMENT_CHANGED, ..?



On Nov 17, 5:15 am, cmdskp comdudes...@hotmail.com wrote:
 Ah, found where I read it - the draft version of the next Robot API
 here:

 http://code.google.com/apis/wave/extensions/robots/protocol.html

 On Nov 17, 2:45 am, cmdskp comdudes...@hotmail.com wrote:

  GADGET_STATE_CHANGED does not exist currently - but has been mentioned
  by Google as coming in a future version of the API, AFAIK, this hasn't
  been released yet.

  Possibly I read about it on the Wave API Issues.

  On Nov 16, 9:58 pm, qMax qwigly...@gmail.com wrote:

   And GADGET_STATE_CHANGED is not in current API neither in java nor
   python.
   Where did you found it ?

   On Nov 17, 1:02 am, hcvst hcv...@googlemail.com wrote:

Hi,

my bot's capabilities.xml states that it is interested in
GADGET_STATE_CHANGED events. I've upped the bot's version after adding
this event to the ones it's interested in, yet looking at the GAE logs
my bot does not seem to be notified.

Is this event not supported yet?

Thanks,
HC



--

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