This is unfortunately a known issue that appears to only occur in
Twisted 2.0 on up. It's fine in Twisted 1. Basically what happens
is your message is delayed until the next message goes out to AIM's
network. So if you think of all of the messages going to AIM as a
queue, it's always "one step behind". I've yet to figure out what
causes it as I can watch the handling enter and leave my own code and
go out into twisted core functionality. I believe it's my code
that's somehow causing the problem, but without the delay showing up
in my own code, it's hard to track down. My theory is that I'm
overriding some variable that is used by twisted core and am
confusing it. Still, haven't had more time to investigate and kept
getting nowhere with it. Interestingly enough, using the epoll
reactor appears to solve the problem.
Daniel
On Dec 5, 2006, at 11:55 AM, Matt Anderson wrote:
I'm wondering if anybody (hoping Daniel in particular) knows what
might be at the root of a strange glitch I'm seeing.
I'm running an instance of PyAIM-t (and I've tried a couple of
different versions) on a client's network. When I send messages
from an AIM client logged directly into AIM to a jabber client
logged in through PyAIM-t, messages arrive immediately (I'm running
both clients myself). When send a message in the opposite
direction (from Jabber, through PyAIM-t, to a standard AIM client),
there is a significant lag in the arrival of the message.
It seems a message experiencing this lag will eventually arrive on
its own (5-10 seconds), but if I type something into the AIM
client's window, then the message then arrives immediately. I know
this symptom occurs with both PyAIM-t 0.8 and PyAIM-t 0.7c.
I don't experience this behavior with PyAIM-t running on another
host on another network. I don't experience anything like this
with iChat in other circumstances (and I use it fairly extensively
to communicate over AIM). With PyAIM-t on running on a host at the
client's network, I do experience the problem with both iChat (AIM
client, OS X) and Fire (AIM client, OS X).
Any insights, guesses, or definitive solutions would be most, most
welcome.
Thanks in advance,
--
Matt Anderson
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports