Hi.

I've a python bot that needs to insert/delete/replace images to the
blip document.

I'm having problems with the actual python api (16-9-2009) and both
DOCUMENT_ELEMENT_DELETE and DOCUMENT_ELEMENT_REPLACE operations. The
insertion works perfectly.

When I use one of them, not only the element is not deleted/replaced,
also the remaining operations (usually, adding more elements) fails
too. The elements are always of type IMAGE, inserted previously in
another iteration by the same bot.

I took a look at the operations JSON object generated (visible in the
app engine logs) and everything seems ok (the elements index are the
same in the incoming and the outgoing operations), but It never works.
The operations are NOT performed and no error is reported in the log.

I'm testing this in the preview wave server (not in sandbox).

One not-working operation sample:

Outgoing: {"operations": {"javaClass": "java.util.ArrayList", "list":
[{"blipId": "b+MmlxMtH0E", "index": "35", "waveletId": "googlewave.com!
conv+root", "javaClass": "com.google.wave.api.impl.OperationImpl",
"waveId": "googlewave.com!w+YZxV44JqA", "type":
"DOCUMENT_ELEMENT_DELETE"}]}, "javaClass":
"com.google.wave.api.impl.OperationMessageBundle", "version": "4"}

There is an old thread in this group about a similar issue, but it's
related to a problem with the element index, and it's not the case...

Any ideas?

Thanks.

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

Reply via email to