I'm assuming my problem is something wrong with my xml file. Unfortunately, I cannot seem to see what it is based on the debugging output that I get. The bottom line is that pyaimt is not connecting to my jabber server.
Background: System is FreeBSD 6.1. Jabberd2 server is version 2.0.11. pyaimt is 0.7d_1. It's probably easier to show a diff of my xml file versus the default config.xml file so here it is: home2>diff /usr/local/etc/jabber-pyaim.xml work/pyaim-t-0.7d/config_example.xml 3c3 < <jid>aim.topshot.com</jid> --- > <jid>aim.example.org</jid> 21c21 < <mainServer>192.168.1.3</mainServer> --- > <mainServer>127.0.0.1</mainServer> 24c24 < <mainServerJID>jabber.topshot.com</mainServerJID> --- > <mainServerJID>jabber.localhost</mainServerJID> 27c27 < <website>http://jabber.topshot.com/</website> --- > <website>http://jabber.localhost/</website> 38c38 < <secret>mysecret</secret> --- > <secret>secret</secret> 63c63 < <crossChat/> --- > <!-- <crossChat/> --> 83c83 < <disableDefaultAvatar/> --- > <!-- <disableDefaultAvatar/> --> 87c87 < <!--<jid>[EMAIL PROTECTED]</jid>--> --- > <!--<jid>[EMAIL PROTECTED]</jid>--> 130c130 < <disableAvatars/> --- > <!-- <disableAvatars/> --> 137c137 < <!-- <saslUsername pytransport/> --> --- > <!-- <saslUsername/> --> 141c141 < <!--<useJ2Component/> --> --- > <!-- <useJ2Component/> --> home2> And now for the debugging output. I see I am in a loop. At the end, I do a control-C to kill the process. home2>sudo python ./PyAIMt.py -D [2006-08-27 21:57:55] Log opened. [2006-08-27 21:57:55] INFO :: :: PyTransport :: __init__ :: {'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: __init__ :: {'pytrans': <main.PyTransport instance at 0x86f4d8c>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'http://jabber.org/protocol/disco', 'jid': 'aim.topshot.com', 'handler': None, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'http://jabber.org/protocol/disco', 'jid': 'chatrooms.aim.example.org', 'handler': None, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'http://jabber.org/protocol/disco', 'jid': 'USER', 'handler': None, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addIdentity :: {'category': 'gateway', 'jid': 'aim.topshot.com', 'name': 'AIM Transport', 'ctype': 'aim', 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'http://jabber.org/protocol/xhtml-im', 'jid': 'USER', 'handler': None, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addIdentity :: {'category': 'gateway', 'jid': 'chatrooms.aim.example.org', 'name': 'AIM Transport Chatrooms', 'ctype': 'aim', 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addIdentity :: {'category': 'conference', 'jid': 'chatrooms.aim.example.org', 'name': 'AIM Transport Chatrooms', 'ctype': 'text', 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'jabber:x:conference', 'jid': 'chatrooms.aim.example.org', 'handler': None, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'jabber:iq:conference', 'jid': 'chatrooms.aim.example.org', 'handler': None, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'jabber:iq:register', 'jid': 'aim.topshot.com', 'handler': <bound method RegisterManager.incomingRegisterIq of <register.RegisterManager instance at 0x86f4e4c>>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: RegisterManager :: __init__ :: {'pytrans': <main.PyTransport instance at 0x86f4d8c>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'http://jabber.org/protocol/commands', 'jid': 'aim.topshot.com', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'http://jabber.org/protocol/commands', 'jid': 'aim.topshot.com', 'name': 'command_CommandList', 'self': 'instance', 'handler': <bound method AdHocCommands.sendCommandList of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': True} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'jabber:iq:gateway', 'jid': 'aim.topshot.com', 'handler': <bound method GatewayTranslator.incomingIq of <misciq.GatewayTranslator instance at 0x86f4e8c>>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'jabber:iq:version', 'jid': 'aim.topshot.com', 'handler': <bound method VersionTeller.incomingIq of <misciq.VersionTeller instance at 0x86f4fcc>>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'jabber:iq:version', 'jid': 'USER', 'handler': <bound method VersionTeller.incomingIq of <misciq.VersionTeller instance at 0x86f4fcc>>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'vcard-temp', 'jid': 'USER', 'handler': <bound method VCardFactory.incomingIq of <misciq.VCardFactory instance at 0x86f4fac>>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'vcard-temp', 'jid': 'aim.topshot.com', 'handler': <bound method VCardFactory.incomingIq of <misciq.VCardFactory instance at 0x86f4fac>>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'updatemyvcard', 'jid': 'aim.topshot.com', 'name': 'command_UpdateMyVCard', 'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': False} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addFeature :: {'var': 'jabber:iq:search', 'jid': 'aim.topshot.com', 'handler': <bound method SearchFactory.incomingIq of <misciq.SearchFactory instance at 0x86fe0cc>>, 'self': 'instance'} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'stats', 'jid': 'aim.topshot.com', 'name': 'command_Statistics', 'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': False} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'connectusers', 'jid': 'aim.topshot.com', 'name': 'command_ConnectUsers', 'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': False} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'changepassword', 'jid': 'aim.topshot.com', 'name': 'command_ChangePassword', 'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': False} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'changeemail', 'jid': 'aim.topshot.com', 'name': 'command_ChangeEmail', 'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': False} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'formatscreenname', 'jid': 'aim.topshot.com', 'name': 'command_FormatScreenName', 'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': False} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'emaillookup', 'jid': 'aim.topshot.com', 'name': 'command_EmailLookup', 'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': False} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'confirmaccount', 'jid': 'aim.topshot.com', 'name': 'command_ConfirmAccount', 'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': False} :: [2006-08-27 21:57:55] INFO :: :: ServerDiscovery :: addNode :: {'node': 'aimuritranslate', 'jid': 'aim.topshot.com', 'name': 'command_AIMURITranslate', 'self': 'instance', 'handler': <bound method AdHocCommands.incomingIq of <misciq.AdHocCommands instance at 0x86f4f0c>>, 'rootnode': False} :: [2006-08-27 21:57:55] Starting factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> [2006-08-27 21:57:55] INFO :: :: PyTransport :: componentDisconnected :: {'self': 'instance'} :: [2006-08-27 21:57:55] <twisted.internet.tcp.Connector instance at 0x86feb4c> will retry in 3 seconds [2006-08-27 21:57:55] Stopping factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> [2006-08-27 21:57:58] Starting factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> [2006-08-27 21:57:58] INFO :: :: PyTransport :: componentDisconnected :: {'self': 'instance'} :: [2006-08-27 21:57:58] <twisted.internet.tcp.Connector instance at 0x86feb4c> will retry in 2 seconds [2006-08-27 21:57:58] Stopping factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> [2006-08-27 21:58:01] Starting factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> [2006-08-27 21:58:01] INFO :: :: PyTransport :: componentDisconnected :: {'self': 'instance'} :: [2006-08-27 21:58:01] <twisted.internet.tcp.Connector instance at 0x86feb4c> will retry in 2 seconds [2006-08-27 21:58:01] Stopping factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> [2006-08-27 21:58:03] Starting factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> [2006-08-27 21:58:03] INFO :: :: PyTransport :: componentDisconnected :: {'self': 'instance'} :: [2006-08-27 21:58:03] <twisted.internet.tcp.Connector instance at 0x86feb4c> will retry in 3 seconds [2006-08-27 21:58:03] Stopping factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> ^C[2006-08-27 21:58:04] Received SIGINT, shutting down. [2006-08-27 21:58:04] INFO :: :: PyTransport :: removeMe :: {'self': 'instance'} :: [2006-08-27 21:58:07] Starting factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> [2006-08-27 21:58:07] INFO :: :: PyTransport :: componentDisconnected :: {'self': 'instance'} :: [2006-08-27 21:58:07] <twisted.internet.tcp.Connector instance at 0x86feb4c> will retry in 2 seconds [2006-08-27 21:58:07] Stopping factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory instance at 0x81affec> [2006-08-27 21:58:07] Main loop terminated. Any advice would be appreciated. Thanks in advance. Joe -- Joe Berry [EMAIL PROTECTED] Baltimore, MD
