Oh, quick follow-up: on a more careful read of your code, that _might_
work? I guess? I generally get the blip using the event method; I've
never used the parent/children methods for anything since they're not
necessary for the way my robot works.
On Nov 19, 8:40 pm, "Chris C."
Actually, for this case (and I'm familiar with this; I've written a
roll-bot myself), you use the getBlip() method associated with the
event to get the blip that triggered the event:
if (e.getType() == EventType.BLIP_SUBMITTED) {
Blip submittedBlip = e.getBlip();
...
}
and then c
As a quick note, it does the same kind of high CPU usage on
"WAVELET_SELF_ADDED" events - I removed and re-added it to a wave I'm
working in, and it was 1,944 cpu_ms for that transaction.
On Nov 19, 4:16 pm, "Chris C." wrote:
> I would show you the code, but I don
at you are running loops, the potential exists
> for you to get high CPU, especially if you are playing with
> Annotations or a Range in that loop (as I believe those are the most
> intensive operations currently available in the API).
>
> On Nov 19, 3:11 pm, "Chris C." w
I have a robot I'm experimenting with, and I am frequently - though
not quite always - seeing in the logs report of very high CPU use
during a request, along with the following log messages:
com.metaparadigm.jsonrpc.BeanSerializer analyzeBean: analyzing
com.google.wave.api.impl.WaveletData
com.me
Is styled text working now? If so, that will make my life so much
easier.
On Nov 12, 4:03 pm, Antonio Garcia wrote:
> I didn't manage to aply de setStyle properly... but set Annotation seem to
> work
>
> 2009/11/12 pamela (Google Employee)
>
>
>
> > Hi Vivek-
>
> > It is likely this bug:
> >http
StyledText stuff doesn't work in Java yet; there's an open issue on it
in the tracker.
On Nov 11, 6:43 am, Vivek wrote:
> I recently started using wave API
>
> I wrote a code for editing the blip submitted by any participant.
>
> if (e.getType() == EventType.BLIP_SUBMITTED )
> {
>
Oho. False alarm on #2 and #3 - I realized that I'm failing to close a
PersistenceManager, which may account for the intermittent problem on
that account.
On Nov 5, 5:09 pm, "Chris C." wrote:
> Ran into a few more "first-time" problems, that I thought I'd
Ran into a few more "first-time" problems, that I thought I'd throw
onto the list here:
1. Failure to send outgoing operations. While the robot appears to be
responding to BLIP_SUBMITTED just fine, the outgoing operations JSON
is empty. This comes and goes, and I can't find a good reason for it.
Oop, musta been a temporary glitch. Working now.
On Nov 3, 9:08 pm, "Chris C." wrote:
> I'm trying to deploy an update to a robot and have run into a 500
> error when trying to do so. I've tried to deploy a couple others (that
> I know work), so - is anyon
I'm trying to deploy an update to a robot and have run into a 500
error when trying to do so. I've tried to deploy a couple others (that
I know work), so - is anyone else running into the error?
--~--~-~--~~~---~--~~
You received this message because you are subscri
Well, you can write robots (automated participants in a wave) using
either the Java or Python API's that Google created. There are
tutorials for both languages, and API reference docs. I've written
robots in both, to play around with them, and it's pretty
straightforward.
If you are creating a ga
ed, the Wave server could trigger
> your endpoint with this notification. Associated with this notification, is
> the "context" data that are sent along with it. So that in your handler,
> you can actually retrieve the plain text data of the blip.
>
> Austin
>
>
&g
Okay, I've written a robot that parses new blips for particular
strings (in this case, strings representing dice rolls), and inserts
the result of a particular dice roll in the blip. It works fine,
exactly as I expect and desire.
I see in the tutorial that there is something called "CONTEXT" in t
Ah, however, that's a very useful example! One of these days, I'm
going to get myself versed in python, and do something interesting
with it. Thanks!
On Oct 25, 10:22 am, "Chris C." wrote:
> Note that there is a difference between styling via annotation, and
> usi
Note that there is a difference between styling via annotation, and
using StyledText, at least in terms of the methods used to do so (the
result is not different, AFAIK). In Java, the former works as
expected, but the latter has some errors in the API (for instance,
insertStyledText() doesn't work
If I recall correctly, the profile server is being worked on, so robot
profiles have been disabled until that's finished.
On Oct 25, 9:33 am, Teo wrote:
> Icons for robots are gone.. Is this happening to anyone else? (The
> link in the small details that show up when the mouse hovers is also
> g
I am fairly sure this does not exist, but I thought I'd check: is
there an annotation that can generate a mouseover tooltip? It's a
pretty common/basic web feature, and I, at least, have a couple uses I
could put it to.
If there isn't one, I'd sure like one.
On a related note, where can I find o
gt;
> This is works for me:
> blip.getDocument().appendStyledText(
> new StyledText("Some text in bold",
> StyleType.BOLD));
>
> On okt. 22, 11:24, Srinivas Pinisetti
> wrote:
>
>
>
> > I am also having the same issue.
>
> > On Oct 22, 3:
I've got a robot running, and I was considering using StyledText as a
slightly more convenient means of boldfacing part of the output, since
I only need boldface and I wouldn't have to mess with start and end
points of an annotation. However, when using it, it seems to have no
effect. Am I doing i
I got blank pages too (I extracted the embed stuff from "Embeddy," but
it didn't work). Instead, I used the format specified in the Embed
tutorial, which is a bit different. My script is:
http://wave-api.appspot.com/public/embed.js"; type="text/
javascript">
function initialize() {
es take up
no string space. Thus, your offset would be based solely on the length
of the URL's being replaced, and doesn't have to account for the size
of the image. Hope a) I got that right, and b) it helps!
On Oct 15, 10:37 am, "Chris C." wrote:
> I have no idea. Images may
ly want to work
through the interfaces provided - and that Wave is changing under the
hood all the time - but some more information on document structure,
annotation capabilities, available markup, etc. would be a great
resource.
On Oct 15, 3:56 am, Chris Searle wrote:
> On Oct 14, 4:46 pm, "Ch
I was going to suggest an offset variable, but as you say, it appears
that the subsequent regex search is on the just-updated text. I'm not
sure what the issue is (I have a dice rolling bot that uses regex and
inserts results after the relevant dice expression, and I use an
offset variable to adju
Possibly related to this bug:
http://code.google.com/p/google-wave-resources/issues/detail?id=278
Which revolves around Wave failing to get the capabilities.xml file,
and thus leaving your bot with no capability to respond to events. My
bots are currently down for the count due to it (although r
Holy cow, is _that_ why no matter what I did yesterday, my Python
robot didn't do anything? I decided to learn Python for some robot-
writing funtimes, and no matter what I did, the sample bot did
nothing. I am so relieved. Thanks for looking into it!
On Oct 12, 3:00 am, "pamela (Google Employee)
end of the document.
-Chris
On Oct 8, 1:28 pm, "Chris C." wrote:
> This isn't all that helpful, but I see the same thing; generally if
> the annotated content is the last information in the blip (although
> that may be only because I've never tried to insert new cont
This isn't all that helpful, but I see the same thing; generally if
the annotated content is the last information in the blip (although
that may be only because I've never tried to insert new content after
an annotation mid-blip). I assume that there's a trick that I'm
missing as well.
-Chris
On
I had the same issue (and the inability to manage folders) using
Google Chrome (the release version) and Firefox 3.0.whatever. I found
that when I upgraded to Firefox 3.5.3, I was able to create folders
and searches as expected - and, afterwards, they can be _viewed_ using
older browsers.
So, bot
29 matches
Mail list logo