As an experiment, try specifying "select" or "poll" for the reactor.
I'd like to see if maybe the default reactor for OS X is causing the
problem. (reason I say this is, some others have reported that
switching reactors solved this problem) I generally do my
development work on OS X, but I also specify the reactor explicitly.
Daniel
On Nov 6, 2006, at 4:29 AM, Jay wrote:
Actually, I've recently discovered the -D flag and have more info
on the error:
[2006-11-06 20:13:37] INFO :: [EMAIL PROTECTED] :: aimt.B ::
connectionLost :: {'message': 'Oversize arg', 'reason':
<twisted.python.failure.Failure
twisted.internet.error.ConnectionLost>} :: AIM connection lost!
Reason: [Failure instance: Traceback:
twisted.internet.error.ConnectionLost, Connection to the other side
was lost in a non-clean fashion.
]
[2006-11-06 20:13:37] INFO :: [EMAIL PROTECTED] :: Session ::
sendMessage :: {'body': 'Oversize arg', 'delay': None, 'fro':
'aim.mydomain.com', 'mtype': 'error', 'to': u'[EMAIL PROTECTED]',
'xhtml': None, 'nickname': None} ::
[2006-11-06 20:13:37] INFO :: :: :: sendMessage :: {'body':
'Oversize arg', 'delay': None, 'fro': 'aim.mydomain.com', 'mtype':
'error', 'to': u'[EMAIL PROTECTED]', 'xhtml': None, 'nickname':
None, 'pytrans': <main.PyTransport instance at 0x7c3f0>} ::
[2006-11-06 20:13:37] Connection Lost! <legacy.aimt.B instance at
0x78e648>
[2006-11-06 20:13:37] INFO :: [EMAIL PROTECTED] :: Session ::
removeMe :: {} ::
[2006-11-06 20:13:37] INFO :: [EMAIL PROTECTED] :: Session ::
sendPresence :: {'status': None, 'show': None, 'url': None, 'fro':
'aim.mydomain.com', 'avatarHash': None, 'ptype': 'unavailable',
'priority': None, 'to': u'[EMAIL PROTECTED]', 'nickname': None,
'payload': []} ::
[2006-11-06 20:13:38] INFO :: [EMAIL PROTECTED] ::
glue.LegacyConnection :: removeMe :: {'aim2jid': <function aim2jid
at 0x758570>} ::
[2006-11-06 20:13:38] INFO :: [EMAIL PROTECTED] :: ContactList ::
removeMe :: {} ::
[2006-11-06 20:13:38] INFO :: [EMAIL PROTECTED] :: Session ::
removeMe :: {'tmpjid': 'aim.mydomain.com'} :: Removed!
[2006-11-06 20:13:38] Stopping factory
<twisted.internet.protocol._InstanceFactory instance at 0x78e5f8>
Hopefully this sheds some more light.
Thanks again,
Jay
On Nov 6, 2006, at 7:39 PM, Jay wrote:
Hello All,
A year or so, I happily got PyMSNt working successfully under OS X
Server's inbuilt Jabber server, and have continuously upgraded it
as updates have become available and am now happily enjoying MSN
support along w/avatars and file transfers (Thanks James!)
I've decided to now give PyAIMt a try. I've set it all up and can
see the Service when using Service Discovery with PSI, can
successfully register, but I can't see any buddies and after a a
minute or a few, I get the error:
"------
AIM connection lost! Reason: [Failure instance: Traceback:
twisted.internet.error.ConnectionLost, Connection to the other
side was lost in a non-clean fashion.
]
I'm running the following config:
OS X Server 10.4.8 (PowerPC version)
Apple's customised Jabberd Version 1.4.3.1 Build 35
Python 2.3.5 (#1, Mar 20 2005, 20:38:20)
Twisted 1.3.0rc1
I also installed pyopenssl and pycrypto in order to get PyMSNt
working.
Lastly, I installed Python Image Library today as well (although I
have avatars disabled anyway)
My config.xml file for PyAIMt is pretty straight-forward. Here are
the altered bits:
<jid>aim.mydomain.com</jid>
<confjid>chatrooms.aim.mydomain.com</confjid>
<spooldir>/var/jabber/spool</spooldir>
<pid>PyAIMt.pid</pid>
<mainServer>127.0.0.1</mainServer>
<mainServerJID>mydomain.com</mainServerJID>
<website>http://mydomain.com/</website>
<port>7009</port>
<secret>jabber-rocks</secret>
<lang>en</lang>
<aimServer>login.oscar.aol.com</aimServer>
<aimPort>5190</aimPort>
<disableAvatars/>
And in my jabber.xml config file, I have (of course in the
relevant places):
<browse>
<service type="aim" jid="aim.mydomain.com" name="AIM Transport">
<ns>jabber:iq:gateway</ns>
<ns>jabber:iq:register</ns>
</service>
<service type="aim" jid="chatrooms.aim.mydomain.com" name="AIM
Transport Chatrooms">
<ns>jabber:iq:conference</ns>
</service>
</browse>
<service id="aim.mydomain.com">
<accept>
<ip>127.0.0.1</ip>
<port>7009</port>
<secret>mypassword</secret>
</accept>
</service>
I've set jabberd to spew elogger and rlogger out to syslog, but
there's nothing of value other than the error message I quoted and
I can't seem to find any logging options for PyAIMt.
Any help appreciated.
Kind regards,
Jay
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports