I'm trying to write a customized drone client that needs to automatically register and occasionally send messages through the PyMSN transport. I have installed the transport with no problems and am able to register--sort of--but I am unable to subscribe to the transport's presence or otherwise get the transport to respond to my presence. I'm following the use case outlined in http://www.jabber.org/jeps/jep-0100.html#usecases-jabber-register, but perhaps there's something I'm missing. I'm pasting an exact transcription of the exchange between my client and the server below, with only username and password changed.
Thanks for anyone's help-- -- JS Bangs [EMAIL PROTECTED] http://jaspax.com Transcript: SEND: <iq id='netjabber-3' to='msn_py.localhost' type='get'><query xmlns='jabber:iq:register'/></iq> RECV: <iq from='msn_py.localhost' id='netjabber-3' to='[EMAIL PROTECTED]/WCC' type='result'><query xmlns='jabber:iq:register'><instructions>Please type your MSN Passport ([EMAIL PROTECTED]) into the username field, your password and desired base nickname. For more information see http://msn-transport.jabberstudio.org/docs/users</instructions><username>[EMAIL PROTECTED]</username><password/><nick/><registered/></query></iq> SEND: <iq id='netjabber-4' to='msn_py.localhost' type='set'><query xmlns='jabber:iq:register'><nick></nick><password>secret</password><username>[EMAIL PROTECTED]</username></query></iq> RECV: <iq from='msn_py.localhost' id='netjabber-4' to='[EMAIL PROTECTED]/WCC' type='result'/> SEND: <iq type="set" id='netjabber-5'><query xmlns='jabber:iq:roster'><item jid="msn_py.localhost" name="MSN Transport" /></query></iq> SEND: <presence/> RECV: <iq type='set'><query xmlns='jabber:iq:roster'><item ask='subscribe' jid='msn_py.localhost' name='MSN Transport' subscription='from'/></query></iq> RECV: <iq from='[EMAIL PROTECTED]/WCC' id='netjabber-5' to='[EMAIL PROTECTED]/WCC' type='result'/> SEND: <presence to='msn_py.localhost' type='subscribe'/> SEND: <presence to='msn_py.localhost' type='subscribed'/> SEND: <presence/> RECV: <iq type='set'><query xmlns='jabber:iq:roster'><item ask='subscribe' jid='msn_py.localhost' name='MSN Transport' subscription='from'/></query></iq> RECV: <iq type='set'><query xmlns='jabber:iq:roster'><item ask='subscribe' jid='msn_py.localhost' name='MSN Transport' subscription='from'/></query></iq> (After this the program simply repeats the previous five lines as it enters a loop waiting for the transport to transmit its presence to the client.) From [EMAIL PROTECTED] Mon Sep 19 09:41:30 2005 From: [EMAIL PROTECTED] (Jeffrey Hopkins) Date: Wed Sep 28 11:45:02 2005 Subject: [py-transports] Installing pyMSNt on Mac OS X 10.4 Server In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Andreas, I'm running Mac OS X 10.4.2 Server which includes Twisted 1.3.0 RC1. This is almost exactly the same set of errors that "Jay" was experiencing on this mailing list. Thanks, Jeff On Sep 19, 2005, at 2:32 AM, Andreas van Cranenburgh wrote: > On Mon, Sep 19, 2005 at 02:14:19AM -0700, [EMAIL PROTECTED] wrote: > >> I've installed pyopenssl and pycrypto but am still receiving the >> following error message when trying to start pymsnt. >> >> > > >> [...] >> from proxy import proxy_connect_ssl >> File "/private/var/jabber/modules/PyMSNt-0.9.5/src/tlib/proxy.py", >> line 4, in ? >> from twisted.internet.ssl import ClientContextFactory >> ImportError: cannot import name ClientContextFactory >> >> > > Eh... have you installed Twisted!? > > -- > Andreas [ http://unstable.nl | > xmpp:[EMAIL PROTECTED] ] > [ callto:ils.seconix.com/[EMAIL PROTECTED] ] > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports >