Re: [Google Wave APIs] Rosy language translation robot

2009-11-12 Thread Luis Angel Marin Hernandez
try add this: aunt-ro...@appspot.com

and watch my blog to how used, =) http://wavebot.blogspot.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] Securing Ajax endpoints

2009-11-12 Thread hcvst
Hi,

my gadget issues an AJAX call to remotely update some data when its
state changes. The AJAX endpoint is the same server that hosts the
gadget.xml (Appengine). Currently, anyone looking at the gadget's
source can see the endpoint
and call it themselves with some query parameters to effectively
submit any data they like.

The question is how to prevent this. It's only a matter of time until
wave gadget hacking becomes a new pasttime.

1* Inspect the HTTP header on the server to check whether call
originates from Google?
 Does not really solve the problem although makes it perhaps a little harder 
 for the attacker. Malicious gadget's could be embedded. What about HTTP 
 header spoofing (I don't know) and once federation kicks in the gadget would 
 only work on Google's wave browser. No, not a solution.

2* OAuth? I keep reading about OAuth in this forum and started to read
the docs again. Is that the way to go? I haven't read much yet, but
tokens would have to stored somewhere in the gadget, wouldn't they?

Is there perhaps on obvious third approach - after all gadget.xml and
endpoint are on the same server...

Anyway, love wave, it's so much fun to use and even more so to
program.

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] Buggy Robots Status

2009-11-12 Thread Dirk Holtwick
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=.




Re: [Google Wave APIs] Buggy Robots Status

2009-11-12 Thread Bálint Kriván
Yeah, it's a little strange why these bugs come up, I think the unit
tests should indicate if something isn't working in the build, but who
knows :)

On 11/12/09, 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=.





-- 
Üdv,
Kriván Bálint

--

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: Should BLIP_SUBMITTED be fired when a gadget changes a state?

2009-11-12 Thread cmdskp
Ideally, I would like an event that only gets triggered on a text
change.

The reason being that my robot currently gets a lot of resubmitted
blips because of a gadget in them being clicked on.  They can contain
a lot of text which is still the same and has been seen by the robot.
This eats up both the App Engine quota and processing time
unnecessarily.

By adding a new event to trigger on text/(annotation?) changes it
would ensure backward compatibility too.

Combined with the new GADGET_STATE_CHANGED event this would allow the
splitting of processing text or gadget but not both at the same time.

On Nov 12, 1:53 am, Austin Chau (Google employee)
api.aus...@google.com wrote:
 Thanks for filing this.  We will look into this.

 Austin

 On Wed, Nov 11, 2009 at 7:15 AM, César Izurieta 
 cesar.izuri...@gmail.comwrote:



  I'm developing a robot that sends an email every time it receives a
  BLIP_SUBMITTED event. It all works just fine except when there are
  gadgets on the page that change the state. Some gadgets change the
  state very often. For any state change google wave fires a
  BLIP_SUBMITTED event and the robot sees this as a new message and
  sends an email. Some gadgets (especially games) change the state with
  a very high rate. Besides the BLIP_SUBMITTED the DOCUMENT_CHANGED
  event and (sometime in the future) the GADGET_STATE_CHANGED are also
  being triggered.

  My question is then: Does it makes sense to fire the BLIP_SUBMITTED
  event when a gadget changes it's state?

  I think it should not. I've open a new issue here:
 http://code.google.com/p/google-wave-resources/issues/detail?id=422
  but I would like to hear others what they think about this.



--

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: Should BLIP_SUBMITTED be fired when a gadget changes a state?

2009-11-12 Thread cmdskp
*and BLIP_SUBMITTED can still be used for both.

On Nov 12, 3:36 pm, cmdskp comdudes...@hotmail.com wrote:
 Ideally, I would like an event that only gets triggered on a text
 change.

 The reason being that my robot currently gets a lot of resubmitted
 blips because of a gadget in them being clicked on.  They can contain
 a lot of text which is still the same and has been seen by the robot.
 This eats up both the App Engine quota and processing time
 unnecessarily.

 By adding a new event to trigger on text/(annotation?) changes it
 would ensure backward compatibility too.

 Combined with the new GADGET_STATE_CHANGED event this would allow the
 splitting of processing text or gadget but not both at the same time.

 On Nov 12, 1:53 am, Austin Chau (Google employee)

 api.aus...@google.com wrote:
  Thanks for filing this.  We will look into this.

  Austin

  On Wed, Nov 11, 2009 at 7:15 AM, César Izurieta 
  cesar.izuri...@gmail.comwrote:

   I'm developing a robot that sends an email every time it receives a
   BLIP_SUBMITTED event. It all works just fine except when there are
   gadgets on the page that change the state. Some gadgets change the
   state very often. For any state change google wave fires a
   BLIP_SUBMITTED event and the robot sees this as a new message and
   sends an email. Some gadgets (especially games) change the state with
   a very high rate. Besides the BLIP_SUBMITTED the DOCUMENT_CHANGED
   event and (sometime in the future) the GADGET_STATE_CHANGED are also
   being triggered.

   My question is then: Does it makes sense to fire the BLIP_SUBMITTED
   event when a gadget changes it's state?

   I think it should not. I've open a new issue here:
  http://code.google.com/p/google-wave-resources/issues/detail?id=422
   but I would like to hear others what they think about this.



--

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] Wave State no longer shared?

2009-11-12 Thread Chris Bianchi
Last week it seemed that every Gadget in a wave had access to the same
state.

wave.getState() always returned the same object no matter which Gadget
requested it.

Today, I noticed that gadgets no longer share the same state in
sandbox or preview?  Was this a bug last week or is this a change to
the API?

Also, is there a group participant for the Wave API group in sandbox
like wave-...@wavesandbox.com like there is for wave-discuss and wave-
users?

Thanks,
Chris

--

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 State no longer shared?

2009-11-12 Thread Chris Bianchi
I just found another post where Google says the state is not shared
between gadgets in the same wave.

http://groups.google.com/group/google-wave-api/browse_thread/thread/5247c475e461ba9a?pli=1

I swear it was only about a week ago where 3 of us witnessed the state
being shared between gadgets.  That at least answers my question.



On Nov 12, 2:25 pm, Chris Bianchi bianch...@gmail.com wrote:
 Last week it seemed that every Gadget in a wave had access to the same
 state.

 wave.getState() always returned the same object no matter which Gadget
 requested it.

 Today, I noticed that gadgets no longer share the same state in
 sandbox or preview?  Was this a bug last week or is this a change to
 the API?

 Also, is there a group participant for the Wave API group in sandbox
 like wave-...@wavesandbox.com like there is for wave-discuss and wave-
 users?

 Thanks,
 Chris

--

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] how to access sibling of root blip

2009-11-12 Thread Vivek
Hai ,

In the robot i'm making, i want to access all the blips that are in
the wavelet even before my robot is added to the wavelet. I cannot
find a suitable method in the API .
I know we can access the root blip directly, but then I could not
figure out how to access its siblings.

Please some one suggest me how can i access the already existing blips
in a wavelet.


-Vivek.

--

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: Configure eclipse project

2009-11-12 Thread mr. Apaxuc
I found the solution myself, I think is also nice for NetBeans
Configure the builders for the project, choose an tool type Ant
Builder
1. We take the Complete Build File (builder.xml) for Google App Engine
2. Add this file:
property name=version.num value=1.0./
taskdef name=xmltask
classname=com.oopsconsultancy.xmltask.ant.XmlTask
classpath
fileset dir=${ant.commons}
include name=*.jar/
/fileset
/classpath
/taskdef

target name=read-replace-version
buildnumber/
xmltask source=war/_wave/capabilities.xml dest=war/_wave/
capabilities.xml failWithoutMatch=true
replace path=/w:robot/w:version/text() 
withText=${version.num}$
{build.number} /
/xmltask
/target
3. Add depends=read-replace-version for target name=copyjars
4. Run target name=update

Links:
Complete Build File (builder.xml)
http://code.google.com/intl/en/appengine/docs/java/tools/ant.html#The_Complete_Build_File
xmltask http://www.oopsconsultancy.com/software/xmltask/#download

On 12 ноя, 06:32, Vikram Dhillon dhillon...@gmail.com wrote:
 Can anyone help me out with the netbeans (doing the same thing)

 --
 Regards,
 Vikram

 On Wed, Nov 11, 2009 at 9:41 PM, mr. Apaxuc mr.apa...@gmail.com wrote:
  How to configure eclipse project for the automatic version is changed
  before every deploy?

  --

  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 
  athttp://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] How can I iterate through all blips in a wavelet?

2009-11-12 Thread Will
I'm creating a bot that I want to dynamically edit blips. While it was
trivial to get the dynamic editing working, I also want the bot to
iterate or recurse through all the blips in a wavelet, and then edit
the blips if necessary. It doesn't seem like the Python API has a good
way to grab all the blips from a wavelet, and recursing through the
blips through their parent child relationships only seems to grab the
first two blips.

I looked at a few other bots to see if they had the same issues, and
it seems like this is a common issue. Is there any good way to do this?

--

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] Will other panel's functionality be exposed?

2009-11-12 Thread drone
Hello,
I see, currently Embed API exposes Google Wave client's Wave panel
functionality.

So I'm wondering, are there any plans to expose more functionality,
which would allow to embed Wave List (Search) panel, create new Waves
programmatically, etc?

--

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: Buggy Robots Status

2009-11-12 Thread Kai
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=.




[Google Wave APIs] Re: multiple gadgets sharing state

2009-11-12 Thread just marvin
It occurs to me that since you'll need a bot and a gadget, you could
just have the bot add the gadget(s) to the wave.  Then you just need
to add one thing to the wave and you'll know you have the correct
environment for the gadgets.

--

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] Idea for embed

2009-11-12 Thread Tyler Ruppert
Hi,

I wanted to give up a suggestion and get some feedback to see if I'm
alone with this idea.

I have embed a wave on my company's news website (in a hidden page) to
test it out.  The problem I have found, is that a user must be logged
into wave to see the information.  One way I would like to use waves
on the site is as a comments section.

I have two suggestions here.  I think it would be useful to display
the wave as read-only until the user signs in.  They would be able to
see the content, even if they don't have a wave account, but not alter
it.  Then, secondly, when they login, they would have full write
access, but no edit.  From what I have figured out so far, making a
wave public only allows it as read only, and only to wave members.

Does this make sense?  Tell me what you think.

Thanks,
Tyler Ruppert

--

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] Profile bot

2009-11-12 Thread Antonio Garcia
I've search information about that, but I can't manage my robot to show a
decent profile... so I have some doubts...
Is de profile updates automatically? or I just can't see the image or the
name because I must wait?
I've seen that before it was done by capabilities.xml but now it use a
ProfileServlet... Must I add this profileServlet to de web.xml? I guess i
must, so... how? I've complete the tutorial (in Spanish, it didn't contain
the information about profiles, so I continued in English) but it's my first
time with servlets, so surely this question have a really simple answer, but
I didn't found in the group or in the wave help how to do that
Thanks for the possible answers

--

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




Re: [Google Wave APIs] how to access sibling of root blip

2009-11-12 Thread Antonio Garcia
I think you can use de Blip.getChild(arg) or Blip.getChildren() to access to
any blip if you start in the root blip... but I didn't do that never.
Blips in the wave have the structure of a Tree (a graph)

2009/11/12 Vivek vivekmunag...@gmail.com

 Hai ,

 In the robot i'm making, i want to access all the blips that are in
 the wavelet even before my robot is added to the wavelet. I cannot
 find a suitable method in the API .
 I know we can access the root blip directly, but then I could not
 figure out how to access its siblings.

 Please some one suggest me how can i access the already existing blips
 in a wavelet.


 -Vivek.

 --

 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: how to access sibling of root blip

2009-11-12 Thread Vivek


I tried it. Its giving java.lang.NullPointerException  when im
trying to access the children of root blip.

--

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




Re: [Google Wave APIs] Re: problem with setStyle

2009-11-12 Thread Antonio Garcia
I didn't manage to aply de setStyle properly... but set Annotation seem to
work

2009/11/12 pamela (Google Employee) pamela...@gmail.com

 Hi Vivek-

 It is likely this bug:
 http://code.google.com/p/google-wave-resources/issues/detail?id=348

 - pamela


 On Thu, Nov 12, 2009 at 11:40 AM, Vivek vivekmunag...@gmail.com wrote:

 Actually , it did work!!

 the text is becoming bold.. But the last letter is left normal every
 time!!

 can some 1 tell me why?? or is it an issue with the function itself??

 --

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




Re: [Google Wave APIs] Re: Issue with creating a new blip from a robot

2009-11-12 Thread pamela (Google Employee)
Could you both provide your app IDs and what server you were trying on?
This will help us examine the logs to find what might be happening.

I did a quick test with similar code and it is still working for me, so I'm
guessing that particular app IDs are being affected.

Thanks!


On Thu, Nov 12, 2009 at 2:28 PM, Daniel Rothenberg counterstry...@gmail.com
 wrote:

 I'm actually experiencing the same problem.

 On Nov 12, 8:40 am, tranqy tra...@gmail.com wrote:
  This code was working yesterday, but today it is not. I have not
  changed it.
 
  My bot still has the ability to edit existing blips, but if it tries
  to create a new blip it never shows up in the wave, and the logs do
  not show an error.
 
  Here is my code.. (very similar to the sample  :)
 
  def Notify(wavelet, text = Welcome):
#logging.info(text)
wavelet.CreateBlip().GetDocument().SetText(text)
 
  here is the json from the log
 
  11-12 05:39AM 05.261
  Outgoing: {operations: {javaClass: java.util.ArrayList, list:
  [{blipId: , index: -1, waveletId: googlewave.com!conv+root,
  javaClass: com.google.wave.api.impl.OperationImpl, waveId:
  googlewave.com!w+FZ8XH1RaS, property: {blipId:
  TBD_googlewave.com!conv+root_1, javaClass:
  com.google.wave.api.impl.BlipData, waveId: googlewave.com!w
  +FZ8XH1RaS, waveletId: googlewave.com!conv+root}, type:
  WAVELET_APPEND_BLIP}, {blipId: TBD_googlewave.com!conv+root_1,
  index: -1, waveletId: googlewave.com!conv+root, javaClass:
  com.google.wave.api.impl.OperationImpl, waveId: googlewave.com!w
  +FZ8XH1RaS, type: DOCUMENT_DELETE}, {blipId:
  TBD_googlewave.com!conv+root_1, index: 0, waveletId:
  googlewave.com!conv+root, javaClass:
  com.google.wave.api.impl.OperationImpl, waveId: googlewave.com!w
  +FZ8XH1RaS, property: hi, can I create a new blip?, type:
  DOCUMENT_INSERT}]}, javaClass:
  com.google.wave.api.impl.OperationMessageBundle, version: 2}
 
  Anyone have any insight?  Could this be an issue with wave itself?

 --

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




Re: [Google Wave APIs] Re: how to access sibling of root blip

2009-11-12 Thread 栾瑞鹏
I tried, too. rootBlip.getChildren() not working.  get the same exception
with you.
Still looking for some other way by java.
It seems that python is easy to do that.

On Fri, Nov 13, 2009 at 4:55 AM, Vivek vivekmunag...@gmail.com wrote:



 I tried it. Its giving java.lang.NullPointerException  when im
 trying to access the children of root blip.

 --

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





-- 
Best Regards,
Luan Rui Peng

--

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: Issue with creating a new blip from a robot

2009-11-12 Thread tranqy
My appid is hackstacking.

How do I tell what server it's running on?

Thanks

Aaron

On Nov 12, 6:24 pm, pamela (Google Employee) pamela...@gmail.com
wrote:
 Could you both provide your app IDs and what server you were trying on?
 This will help us examine the logs to find what might be happening.

 I did a quick test with similar code and it is still working for me, so I'm
 guessing that particular app IDs are being affected.

 Thanks!

 On Thu, Nov 12, 2009 at 2:28 PM, Daniel Rothenberg counterstry...@gmail.com



  wrote:
  I'm actually experiencing the same problem.

  On Nov 12, 8:40 am, tranqy tra...@gmail.com wrote:
   This code was working yesterday, but today it is not. I have not
   changed it.

   My bot still has the ability to edit existing blips, but if it tries
   to create a new blip it never shows up in the wave, and the logs do
   not show an error.

   Here is my code.. (very similar to the sample  :)

   def Notify(wavelet, text = Welcome):
     #logging.info(text)
     wavelet.CreateBlip().GetDocument().SetText(text)

   here is the json from the log

   11-12 05:39AM 05.261
   Outgoing: {operations: {javaClass: java.util.ArrayList, list:
   [{blipId: , index: -1, waveletId: googlewave.com!conv+root,
   javaClass: com.google.wave.api.impl.OperationImpl, waveId:
   googlewave.com!w+FZ8XH1RaS, property: {blipId:
   TBD_googlewave.com!conv+root_1, javaClass:
   com.google.wave.api.impl.BlipData, waveId: googlewave.com!w
   +FZ8XH1RaS, waveletId: googlewave.com!conv+root}, type:
   WAVELET_APPEND_BLIP}, {blipId: TBD_googlewave.com!conv+root_1,
   index: -1, waveletId: googlewave.com!conv+root, javaClass:
   com.google.wave.api.impl.OperationImpl, waveId: googlewave.com!w
   +FZ8XH1RaS, type: DOCUMENT_DELETE}, {blipId:
   TBD_googlewave.com!conv+root_1, index: 0, waveletId:
   googlewave.com!conv+root, javaClass:
   com.google.wave.api.impl.OperationImpl, waveId: googlewave.com!w
   +FZ8XH1RaS, property: hi, can I create a new blip?, type:
   DOCUMENT_INSERT}]}, javaClass:
   com.google.wave.api.impl.OperationMessageBundle, version: 2}

   Anyone have any insight?  Could this be an issue with wave itself?

  --

  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%2Bunsubscribe@ 
  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: Issue with creating a new blip from a robot

2009-11-12 Thread tranqy
It's running on preview.

If you'd like the code, or for me to put it in a particular state
lemme know.

Thanks

On Nov 12, 9:12 pm, pamela (Google Employee) pamela...@gmail.com
wrote:
 Apologies, I mean whether it's running on Google Wave Sandbox or Google Wave
 Preview.

 - pamela



 On Thu, Nov 12, 2009 at 6:10 PM, tranqy tra...@gmail.com wrote:
  My appid is hackstacking.

  How do I tell what server it's running on?

  Thanks

  Aaron

  On Nov 12, 6:24 pm, pamela (Google Employee) pamela...@gmail.com
  wrote:
   Could you both provide your app IDs and what server you were trying on?
   This will help us examine the logs to find what might be happening.

   I did a quick test with similar code and it is still working for me, so
  I'm
   guessing that particular app IDs are being affected.

   Thanks!

   On Thu, Nov 12, 2009 at 2:28 PM, Daniel Rothenberg 
  counterstry...@gmail.com

wrote:
I'm actually experiencing the same problem.

On Nov 12, 8:40 am, tranqy tra...@gmail.com wrote:
 This code was working yesterday, but today it is not. I have not
 changed it.

 My bot still has the ability to edit existing blips, but if it tries
 to create a new blip it never shows up in the wave, and the logs do
 not show an error.

 Here is my code.. (very similar to the sample  :)

 def Notify(wavelet, text = Welcome):
   #logging.info(text)
   wavelet.CreateBlip().GetDocument().SetText(text)

 here is the json from the log

 11-12 05:39AM 05.261
 Outgoing: {operations: {javaClass: java.util.ArrayList, list:
 [{blipId: , index: -1, waveletId: googlewave.com
  !conv+root,
 javaClass: com.google.wave.api.impl.OperationImpl, waveId:
 googlewave.com!w+FZ8XH1RaS, property: {blipId:
 TBD_googlewave.com!conv+root_1, javaClass:
 com.google.wave.api.impl.BlipData, waveId: googlewave.com!w
 +FZ8XH1RaS, waveletId: googlewave.com!conv+root}, type:
 WAVELET_APPEND_BLIP}, {blipId: TBD_googlewave.com!conv+root_1,
 index: -1, waveletId: googlewave.com!conv+root, javaClass:
 com.google.wave.api.impl.OperationImpl, waveId: googlewave.com
  !w
 +FZ8XH1RaS, type: DOCUMENT_DELETE}, {blipId:
 TBD_googlewave.com!conv+root_1, index: 0, waveletId:
 googlewave.com!conv+root, javaClass:
 com.google.wave.api.impl.OperationImpl, waveId: googlewave.com
  !w
 +FZ8XH1RaS, property: hi, can I create a new blip?, type:
 DOCUMENT_INSERT}]}, javaClass:
 com.google.wave.api.impl.OperationMessageBundle, version: 2}

 Anyone have any insight?  Could this be an issue with wave itself?

--

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%2Bunsubscribe@
 googlegroups.com
  google-wave-api%2Bunsubscribe@ 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.comgoogle-wave-api%2Bunsubscribe@ 
  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=.