[Google Wave APIs] Re: 10 times more request from google servers to a robot

2009-12-13 Thread Daniel Faust
Yes. Check out this thread
http://groups.google.com/group/google-wave-api/browse_thread/thread/a27ae524e5dc40e1/cc0b33195ac6fa41


On Dec 13, 3:47 am, César Izurieta cesar.izuri...@gmail.com wrote:
 This morning, 5AM PST my robot started to receive suddenly and
 abruptly 10x more requests from the google servers than usual. Quota
 was over very quickly, in about 2 hours. Right now it is still
 receiving like 4 requests per second and 250kbites/s.

 Is anybody having this same issue?

--

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.




[Google Wave APIs] Re: Denial of service attacks / Quota depletion

2009-12-04 Thread Daniel Faust

 I tried adding code to call Bouncy in to assist my robot in escape :D
 Sadly, it came to the wave at my robot's call, but didn't respond
 to the robot's cry of distress!

Sounds like a good idea. If i'm guessing correctly, bouncy needs to be
added to the wave and then receive configuration messages via messages
posted to the wave, right? In that case, posting that extra message to
configure bouncy to drop the bot out of the wave seems like an
expensive operation.

Imagine the situation if bouncy could be added to a wave, and then,
via a cheap and direct urlopen() call from the bot to bouncy, be
configured behind the scenes to remove the bot from the wave. Could
that be possible? The only issue I see here is that that urlopen call
won't hand over bouncy any context which it will probably need to
remove the bot from the wave. On the other hand, bouncy could queue up
the request removal and execute it during the next incoming message
coming from the problematic wave.

one issue is that if bouncy is also receiving all that incoming data,
then it might be the case that it also hits the quota limit, which
might be the reason why bouncy didn't respond to your call. So maybe
having google remove the incoming bandwith quota limit on bouncy would
be an good thing to do. Or, if that won't happen, built a network of
bouncies, which take care of each other so that no more than one is in
a given wave, and where, if one dies, others could jump in. or the
affected bot would first query the system to see which bouncy bot is
still up and running.

There would also be the need of taking protective measures against
direct urlopen() configuration requests from sources which might have
bad intentions.

Probably doing something with the capabilities.xml would be a better
option. Or add a dynamic blacklist.xml file.

--

The issue with gadgets requiring user interaction before being allowed
to submit data seems to be a good thing to desire. Because, as it
looks now, it's only necessary for someone to take a look at a wave,
and, as soon as a gadget gets loaded and submits data, the user gets
inserted as a participant. At least it looks that way, since some
waves have a large amount of participants whose inclusion couldn't be
explained by other means.

--

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.




[Google Wave APIs] Wave feels slower than one month ago.

2009-11-18 Thread Daniel Faust
I don't know what's wrong. It feels like Wave has become so slow that
it begins to be annoying.

--

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: Wave API Office Hour Wed Nov 17th 11am starting now

2009-11-18 Thread Daniel Faust
I missed it completely, too bad I'm getting the posts as an abridged
email.

Any chance that the team creates a public calendar to which we can
subscribe to? Are the Office Hours at a fixed day/time?

Regards,
Daniel

On Nov 18, 10:02 pm, Kamy kamynetw...@gmail.com wrote:
 Hi,

 How can I invite other users - like my partner?

 I can not invite anyone to my wave. Any idea?

 Thank you,
 - Kamy

 On Nov 18, 11:00 am, Austin Chau austin.c...@gmail.com wrote:

  This is the public wave for the office hour.  Please bring all your
  Wave API-related questions and see you there :)

 https://wave.google.com/a/wavesandbox.com/?nocache=1#restored:wave:wa...

  Austin

--

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.




[Google Wave APIs] Re: Wave Embed API BUG?

2009-11-18 Thread Daniel Faust
It's your div tag, you've got it fixed to a height of 600px. Try
setting the height to 100% or better use a table


On Nov 18, 8:14 am, gg bradjyo...@gmail.com wrote:
 Still no fix for this yet???

 On Nov 2, 1:05 am, pamela (Google Employee) pamela...@gmail.com
 wrote:

  Hey MyWebs-

  Thanks for making the great example replicating the bug. We've noticed this
  already and filed a bug internally, but feel free to file a bug using our
  external issue tracker for easy tracking of the status 
  change:http://code.google.com/p/google-wave-resources/issues/entry?template=...

  Thanks!

  - pamela

  On Sat, Oct 31, 2009 at 11:51 PM, MyWebs bla...@gmail.com wrote:

   I have noticed that when embedding a Wave into a web page that if the
   Wave height is not set rather tall, like 1000 px, that the last blip
   is cut off at the bottom where it says Continue This Thread .

   I am using embeddy gadget to embed the Wave so it might possibly be a
   problem with that gadget and not the API. You can see a live example
   of this here:
  http://www.mywebs.biz/Wave/Wave-Embed-is-Cut-Off.php.

   This Wave has been made public so that everyone may view it, comment
   and vote if they get this same behavior too.

   I am not sure if this is the proper place to report this or not. If it
   isn't please forgive me.
   Thank You,
   MyWebs

--

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.




[Google Wave APIs] Re: gadget state unavailable in onload handler

2009-11-17 Thread Daniel Faust
I'm not exactly sure if I understand your problem correctly. Basically
you need two callbacks.

One you set up with gadgets.util.registerOnLoadHandler(waveInit); at
this point you probably can't even use any of the wave functionality,
you don't even have any of your HTML code rendered. Google makes a
call to waveInit when the Gadget and Wave is ready. So you now enter
waveInit. At this point, your gadget has been drawn.

In waveInit you now get to check if Wave is doing ok, and you can set
up your second callback. This second callback you can only set up when
Wave is up and running, that's why you make sure that wave exists.

  if (wave  wave.isInWaveContainer()) {
wave.setStateCallback(waveStateUpdated);
wave.setParticipantCallback(waveParticipantUpdated);

This waveInit is basically what the jquery onload handler does. but
the difference is that, since jquery can't look into internal
'readyness' state of the wave object, you shouldn't use it. you can
use it, but you are not guaranteed that you can use wave. so you
should want to use gadgets.util.registerOnLoadHandler, because they
know when it's ready.

Even if your inside waveInit, wave is only partially avaliable. At
this time you can only set up the callbacks. This is when you say, 'if
you've got state data to give to me, give it to me to the function
which I set up with wave.setStateCallback(waveStateUpdated);

So then, when Google knows that you're ready to receive data, that is,
when you told it that you've got your waveStateUpdated function, then
it will call the function with all the data avaliable in the wave
object. This most probably won't happen before you exit waveInit. So
use waveInit only to set up wave, and to do some js ui-modifications
which don't depend on the state of wave.


On Nov 18, 2:38 am, pamela (Google Employee) pamela...@gmail.com
wrote:
 The wave-preview library (served from wave-api.appspot.com) was down for
 approximately 30 minutes this morning, and OpenSocial templates were broken
 for about 3 hours. These were separate but somewhat related issues. We're
 looking into tests that will prevent these from happening in the future.

 - pamela

 On Tue, Nov 17, 2009 at 10:47 AM, Justin justin.hubb...@gmail.com wrote:
  Anyone else finding their gadgets not working right now?

  --

  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] Nov. 13th: CreateBlip() no longer working.

2009-11-14 Thread Daniel Faust
Now context.GetRootWavelet().CreateBlip() is not creating a new blip
anymore (since this night).

( context.GetBlipById(properties['blipId']).GetDocument
().AppendInlineBlip() also doesn't seem to work )


Both failing methods don't log the error.

--

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] Problems with title when appending text after title

2009-11-14 Thread Daniel Faust
In an OnBlipSubmitted event I add a link via
context.builder.DocumentAppendMarkup(root.GetWaveId(), root.GetId(),
inline.GetId(), a href=\ + url + \ + text + /a)
to the root blip.

If the root blip contains only the title before apending the link,
then the link becomes part of the title. Even if I prefix the link it
with an AppendText('\n'), which should be equal to hitting enter on
the keyboard and thus marking an end of the title.

Even if I then, after appending the links which become part of the
title, try to correct the title with
doc.SetAnnotation(document.Range(0, len(titleX)), conv/title, ),
where titleX is the text of the title which I stored before appending
the the links, the links do become part of the title.

If I type in the title and then hit enter and then type any character
so that it doesn't become part of the title, only then the appended
links don't become part of the title.

What am I doing wrong?

--

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: Nov. 13th: CreateBlip() no longer working.

2009-11-14 Thread Daniel Faust
Thanks Sunny for pointing that out. I read that issue before posting.
But the point is that using CreateBlip() in the same way it used to
work yesterday, doesn't work today.

On Nov 14, 3:24 pm, Sunny Luthra luthra.su...@gmail.com wrote:
 http://code.google.com/p/google-wave-resources/issues/detail?id=158:)



 On Sat, Nov 14, 2009 at 6:19 PM, Daniel Faust soundlin...@gmail.com wrote:
  Now context.GetRootWavelet().CreateBlip() is not creating a new blip
  anymore (since this night).

  ( context.GetBlipById(properties['blipId']).GetDocument
  ().AppendInlineBlip() also doesn't seem to work )

  Both failing methods don't log the error.

  --

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

 --
 Regards,
 Sunny Luthra.

 Facebook-http://www.facebook.com/sunnyluthra
 Twitter-http://twitter.com/SunnyLuthra
 Gtalk- luthra.su...@gmail.com
 Blog-http://MyPaaji.com
 Works In-http://Mrova.com

--

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: Nov. 13th: CreateBlip() no longer working.

2009-11-14 Thread Daniel Faust
Well, never mind, I'm sorry. I moved over to the issue tracker and
added myself to the list there. So you're right, there's no point in
discussing this problem here in the forum.

On Nov 14, 3:27 pm, Daniel Faust soundlin...@gmail.com wrote:
 Thanks Sunny for pointing that out. I read that issue before posting.
 But the point is that using CreateBlip() in the same way it used to
 work yesterday, doesn't work today.

 On Nov 14, 3:24 pm, Sunny Luthra luthra.su...@gmail.com wrote:

 http://code.google.com/p/google-wave-resources/issues/detail?id=158:)

  On Sat, Nov 14, 2009 at 6:19 PM, Daniel Faust soundlin...@gmail.com wrote:
   Now context.GetRootWavelet().CreateBlip() is not creating a new blip
   anymore (since this night).

   ( context.GetBlipById(properties['blipId']).GetDocument
   ().AppendInlineBlip() also doesn't seem to work )

   Both failing methods don't log the error.

   --

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

  --
  Regards,
  Sunny Luthra.

  Facebook-http://www.facebook.com/sunnyluthra
  Twitter-http://twitter.com/SunnyLuthra
  Gtalk- luthra.su...@gmail.com
  Blog-http://MyPaaji.com
  Works In-http://Mrova.com

--

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: Does robots have full AppEngine capabilities

2009-11-10 Thread Daniel Faust

I think the users service can't be used properly. At least not in the
sandbox (didn't try on googlewave.com).

On Nov 10, 4:18 pm, Leitzler leitz...@gmail.com wrote:
 Yes.

 On Nov 10, 2:29 pm, maxsap max.saprani...@gmail.com wrote:

  Hello all, I was reading about google appengine capabilities and I was
  wondering if a google wave robot has all this capabilities and
  services described here(http://code.google.com/intl/el/appengine/docs/
  java/overview.html) since all the robots run on the app engine?
  thanks in advanced maxsap
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Just can't get FORM_BUTTON_ADDED work (Python)

2009-11-09 Thread Daniel Faust

Oh, and in the example link, don't let yourself get irritated because
of the

def OnFormButtonClicked(__event__, context):
  [...]
  button = __event__.properties['button']

just replace it so that it says:

def OnFormButtonClicked(properties, context):
  [...]
  button = properties['button']



On Nov 9, 10:23 pm, Daniel Faust soundlin...@gmail.com wrote:
 Take this one as a 
 tutorialhttp://code.google.com/p/wave-projects/source/browse/robots/wave-xmpp...

 On Nov 9, 6:28 am, Bernardo Amorim bamor...@gmail.com wrote:

  I just cant get it work, here's my code:

  Main class:
  if __name__ == '__main__':
    myRobot = robot.Robot('APP-NAME',
        image_url='http://APP-NAME.appspot.com/icon.png',
        version='1',
        profile_url='http://APP-NAME.appspot.com/')
    myRobot.RegisterHandler(events.WAVELET_PARTICIPANTS_CHANGED,
  OnParticipantsChanged)
    myRobot.RegisterHandler(events.WAVELET_SELF_ADDED, OnRobotAdded)
    myRobot.RegisterHandler(events.FORM_BUTTON_CLICKED,
  OnFormButtonClicked)
    myRobot.Run()

  OnFormButtonClicked function
  def OnFormButtonClicked(properties, context):
    root_wavelet = context.GetRootWavelet()
    root_wavelet.CreateBlip().GetDocument().SetText(I'm alive!)

  OnRobotAdded function
  def OnRobotAdded(properties, context):
    root_blip = context.GetBlipById(context.GetRootWavelet
  ().GetRootBlipId())
    doc = root_blip.GetDocument()
    doc.AppendElement(document.FormElement(document.ELEMENT_TYPE.BUTTON,
  'btn_Submit', 'Submits'))

  No blips are being created, where i'm doing it wrong? The Button is
  added, but it just does nothing.

  Thanks you in advance.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Can't delete / trash / spam / mute a specific wave.

2009-11-07 Thread Daniel Faust

I have two waves in my inbox which I can't remove.

Testing Seekdroid existance
wavesandbox.com!w+wRdtWWdW%D

Kommentare
wavesandbox.com!w+Yfjm91-uF

Both of them show an unread count of 1 after logging out and then
logging in again, even though the content has not changed.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] HowTo: Make a robot create a new Wave (Python)

2009-10-10 Thread Daniel Faust

Hi,

I myself had trouble with this issue and saw that it was asked for
several times. I found the solution and want to share it, so here it
goes:

def OnBlipSubmitted(properties, context):
  doc = context.GetBlipById(properties['blipId']).GetDocument()
  text = doc.GetText()
  if text.find('/createWave') == 0:
_newWave   = robot_abstract.NewWave(context,
context.GetRootWavelet().GetParticipants())
_newWave.SetTitle(New Wave's Title)
_newRootBlipId = _newWave.GetRootBlipId()
_newRootBlip   = context.GetBlipById(_newRootBlipId)
_newDocument   = _newRootBlip.GetDocument()
_newDocument.AppendText(This is an additional Text)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: HowTo: Make a robot create a new Wave (Python)

2009-10-10 Thread Daniel Faust

Oh, right, and you need to add
__ from waveapi import robot_abstract __
to your file

On Oct 10, 9:24 am, Daniel Faust soundlin...@gmail.com wrote:
 Hi,

 I myself had trouble with this issue and saw that it was asked for
 several times. I found the solution and want to share it, so here it
 goes:

 def OnBlipSubmitted(properties, context):
   doc = context.GetBlipById(properties['blipId']).GetDocument()
   text = doc.GetText()
   if text.find('/createWave') == 0:
     _newWave       = robot_abstract.NewWave(context,
 context.GetRootWavelet().GetParticipants())
     _newWave.SetTitle(New Wave's Title)
     _newRootBlipId = _newWave.GetRootBlipId()
     _newRootBlip   = context.GetBlipById(_newRootBlipId)
     _newDocument   = _newRootBlip.GetDocument()
     _newDocument.AppendText(This is an additional Text)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Broken application environment (Python)

2009-10-07 Thread Daniel Faust

I'm having a hard time here. My app won't even do logging on the most
basic level. After an hour of trying and searching I decided to
register a new gae application, I uploaded the code as is to that
new environment, and there it's working perfectly.

A.appspot.com is not working,
B.appspot.com is working, both have exactly the same code.

No quota warnings whatsoever. Capabilities.xml always mirrored the
robot handler configuration and versioning as expected, so somehow I
can deduce that the code get's uploaded and somehow executed, but in a
broken environment.

Luckily this is a low usage testing bot so there's no important
information there, so I'd like to somehow reset the entire
application. Is this possible?

Before it broke I was messing around with the waveapi files trying to
create waves, obviously with no luck.

--
Daniel
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Broken application environment (Python)

2009-10-07 Thread Daniel Faust

Not even the most basic stuff works:

 main.py 
#!/usr/bin/python2.5

import logging
logging.info('base')

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

def OnBlipSubmitted(properties, context):
  logging.info('OnBlipSubmitted')

if __name__ == '__main__':
  logging.info('__main__')
  _robot = robot.Robot('MyBot, '1', image_url='http://wave-
mybot.appspot.com/public/image.png', profile_url='http://wave-
mybot.appspot.com/public/profile.htm')
  _robot.RegisterHandler('BLIP_SUBMITTED', OnBlipSubmitted)
  _robot.Run(debug=True)


A thing to note is that logging.info('__main__') never logs to the
log, neither is logging.info('base').

But, http://wave-mybot.appspot.com/public/image.png; and http://wave-
mybot.appspot.com/public/profile.htm are being hosted correctly (they
are viewable in a browser), which means that robot.Robot('...') is
effectively being executed.

OnBlipSubmitted is apparently never executed.

When I comment out from waveapi import robot I do get a traceback
when robot.Robot('') is being called, but none of the logging messages
are actually logged.

Who can I contact to deal with this issue?

--
Daniel

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Creating a wave programmatically and auto attach bot

2009-10-06 Thread Daniel Faust

I want to do the same. Have a robot create a new wave (not just
wavelet), auto add participants to that wave, and get the wave_id of
the new wave as a return value. Also a mechanism to pass a variable
upon creation would be ideal, some kind of hash if that would be
possible.

In one of the office transcripts there is already a request for this
with a will get implemented sometime in the future response, I'd
really like to see this feature asap.

On Oct 6, 5:30 pm, Ronald Widha ronaldwi...@gmail.com wrote:
 So I've done a search on this group and saw a thread asking a similar
 question with no answer.
 I'm going to bump the question again.

 How do one create a wave programmatically and attach a robot to it.
 The idea is to 'push' message from other sources to a wave account. To
 put it simply, a subscription mechanism.

 Thanks,
 Ronald Widha
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Resizing gadgets with embedded objects (flash, wmp) in FF35

2009-10-05 Thread Daniel Faust


When I embed something in a gadget, whever I resize the wave the
plugin resets it's content.

For example the windows media player stop's playing and behaves as it
if has been freshly embedded, the same goes for flash players like
vimeo's player.

This does _not_ happen in Chrome.

There was a short span of time about a month ago where this issue
dissappeared.

It's not that the entire HTML content of the gadget get's rebuilt,
just the embedded objects.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: Gadget size

2009-09-17 Thread Daniel Faust

I submitted it as defect a couple of days ago:

http://code.google.com/p/google-wave-resources/issues/detail?id=198start=100
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Google Wave APIs] Re: How to get form data in OnFormButtonClicked

2009-09-16 Thread Daniel Faust

def showMenu(doc):
  doc.AppendElement(document.FormElement('BUTTON', 'subscribe',
'Subscribe'))
  doc.AppendElement(document.FormElement('BUTTON', 'unsubscribe',
'Unsubscribe'))

def OnFormButtonClicked(properties, context):
  button = properties['button']
  if button == 'subscribe':
pass
  if button == 'unsubscribe':
pass


On Sep 16, 11:04 pm, Anthoni anthoni.gard...@gmail.com wrote:
 Hi jjanging,

 I have found a way how to do this now, but unfortunately I do not
 currently have my code to hand (am changing my OS over to Ubuntu and
 my python code is backed up)
 If you want when I get up and running with Ubuntu (hopefully should be
 tomorrow) I can email you the code that I use ?

 Regards
 Anthoni

 On Sep 15, 6:37 am, jianing yang jianingy.y...@gmail.com wrote:

  Hi,

  I am making a robot which needs to read data from robot creating form,
  my code looks like:

  def OnFormButtonClicked(properties, context):
    blip = context.GetBlipById(properties['blipId'])
    form = blip.GetDocument().GetFormView()
    button = form.GetFormElement(publish).GetValue()
    logging.debug(button)

  After running into this function, I got a error message
  AttributeError: 'OpBasedDocument' object has no attribute
  'GetFormView'. It seems that there is no method called GetFormView()
  for document in python client. But seems there is one in Java client
  library. Is there any work around for this problem?

  Also, I've read Anthoni's post 
  athttp://groups.google.com/group/google-wave-api/browse_frm/thread/b47a...,
  but no one answered that time.

  Thanks very much
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---