I'm finishing up a Perl module for the NotifyIO API and I have two questions:
First one is about sticky. According to
http://groups.google.com/group/notify-io/web/developers, the sticky
argument is deprecated, and we should just add a tag sticky if we want
it.
I tried that but the NotifyIO Desktop does not honor the sticky tag,
but does honor the sticky parameter. So I assume that the deprecation
is false, and we should keep on using the sticky argument. Correct?
Also, I'm sending notifications just fine now, but the API answer is
something like this:
HTTP/1.1 200 OK
Connection: close
Date: Sun, 03 Oct 2010 15:13:45 GMT
Server: TwistedWeb/10.1.0
Content-Type: text/html
Client-Date: Sun, 03 Oct 2010 15:13:46 GMT
Client-Peer: 174.143.203.167:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
[Failure instance: Traceback: <type 'exceptions.KeyError'>:
'578638b6c9072d621bc62c28d3ce60be34e13592'
/usr/local/lib/python2.6/dist-packages/twisted/web/client.py:175:handleResponse
/usr/local/lib/python2.6/dist-packages/twisted/web/client.py:340:page
/usr/local/lib/python2.6/dist-packages/twisted/internet/defer.py:318:callback
/usr/local/lib/python2.6/dist-packages/twisted/internet/defer.py:424:_startRunCallbacks
--- <exception caught here> ---
/usr/local/lib/python2.6/dist-packages/twisted/internet/defer.py:441:_runCallbacks
api/server.py:126:notify_success
]
As I said, I'm getting the notifications that I'm posting, but I also
get that traceback.
Bye,
--
Pedro Melo
http://www.simplicidade.org/
xmpp:me...@simplicidade.org
mailto:me...@simplicidade.org
On Thu, Oct 7, 2010 at 8:17 AM, Jeff Lindsay <prog...@gmail.com> wrote:
> Also, I fixed this error.
So should we still use sticky or should we tag with "sticky" now?
On Thu, Oct 7, 2010 at 7:48 PM, Jeff Lindsay <prog...@gmail.com> wrote:
> Sorry, I wasn't clear. I fixed the error that comes up when sending
> notifications (but doesn't actually affect sending them). As for sticky, I'd
> keep using sticky until we get a patch in. We'll make sure to be backwards
> compatible afterwards.
Ok, cool.