Hi everyone,
I'm writing a wave robot in Java. I'm running into more and more
problems concerning the API and just wanted to check wether I'm the
problem or the API. ;)
Ok, let's start:
1.: BlipContentRefs.isEmpty() results are wrong (true for false and
vice versa)
If I search for a Text-Area and check if the resulting
BlipContentRefs is empty like:
if (inlineBlip.all(ElementType.TEXTAREA,
FormElement.restrictByName(name)).isEmpty())
I get a 'true' when the result is actually not empty and vice
versa. It's not that bad to cover, but I guess it shouldn't be working
like
this.
2.: Getting a 'timeout while fetching' error when trying to receive a
wavelet via the active API.
Yep, tried fetchWavelet(), blindWavelet() nothing worked..
Authentication seems to work by calling
setupOAuth() and
setAllowUnsignedRequests() in the Constructor (Is that the right
place for it?)
tried the following rpcURLs: "http://www-
opensocial.googleusercontent.com/api/rpc"
"http://gmodules.com/api/
rpc"
3.: What is the maximum length of an operation queue google wave
accepts?
I'm writing a robot wich is generating images with very long
urls. Those links consist more or less of Latex-Sourcecode and thus
getting pretty long in some cases.
It seems, that when I append that kind of operation (adding an
Image with that looong url to a blip) to the queue it will never get
processed. Even worse: It seems
that sometimes(?) the robot stops working in this wavelet for
ever. No log entries of any kind from that operation either. So it
came to my mind that this single
request was already beyond the maximum length of that operation
queue.. Just a guess, anyone has a better Idea? Or workaround?
(submitting the wavelet by
myself didn't work (see 2.) ;)
4.: AnnotationBundles don't work for me.
If I append a FormElement to a blip with something like:
rootBlip.all().insertAfter(BundledAnnotation.listOf(Annotation.FONT_FAMILY,"Fixed
Width"),new FormElement(ElementType.BUTTON,name,value));
it just doesn't append any kind of annotation.. Same with first
creating a seperate List<BundledAnnotation>. But it works fine with
first appending that Element and
afterwords annotating it with:
Blip.first(ElementType.TEXTAREA,
FormElement.restrictByName(name))).annotate("style/fontFamily", "Fixed
Width,monospace");
I guess that's it for now.. Anyone having a solution/suggestion/
workaround for me? Or has anyone experienced the same issues?
Thanks anyway for reading all that stuff,
Alex
--
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=en.