[jdev] Python Yahoo Transport
Gonzalo Barrio
gbarrio at novamens.com
Thu Jun 2 13:48:23 CDT 2005
I was trying to use the yahoo transport made in python,
http://cvs.sourceforge.net/viewcvs.py/xmpppy/xmpppy/yahoo-transport/
but when I try to register it first return an error 501 not implemented
before the correct answer, and I cannot continue. I am using linux
redhat 3EL jabberd-2.0s8, python 2.3 from source, xmpppy-0.2-rc3, and
the yahoo transport files from cvs.
This is what I get:
DEBUG: socket got <iq xmlns='jabber:client' type='get'
to='yahoo-new.im.petrobrasenergia.com' id='aac3a'
from='gbarrio at im.petrobrasenergia.com/Psi'>\n<query
xmlns='jabber:iq:register'/>\n</iq>
DEBUG: dispatcher ok Got iq stanza
DEBUG: dispatcher ok Dispatching iq stanza with type->get
props->[u'jabber:iq:register'] id->aac3a
Aca voy 1
Aca voy 2
DEBUG: socket sent <iq xmlns="jabber:client"
to="gbarrio at im.petrobrasenergia.com/Psi" type="error" id="aac3a"
from="yahoo-new.im.petrobrasenergia.com">\n<query
xmlns="jabber:iq:register" />\n<error code="501"
type="cancel"><feature-not-implemented
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /><text
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">The feature requested is not
implemented by the recipient or server and therefore cannot be
processed.</text></error></iq>
DEBUG: socket sent <iq xmlns="jabber:client"
to="gbarrio at im.petrobrasenergia.com/Psi"
from="yahoo-new.im.petrobrasenergia.com" id="aac3a" type="result"><query
xmlns="jabber:iq:register"><instructions>Please provide your Yahoo!
username and password</instructions><username /><password /></query></iq>
DEBUG: socket sent <iq xmlns="jabber:client"
to="gbarrio at im.petrobrasenergia.com/Psi"
from="yahoo-new.im.petrobrasenergia.com" id="2" type="get"><query
xmlns="http://jabber.org/protocol/disco#info" /></iq>
DEBUG: socket got <iq xmlns='jabber:client' type='result'
to='yahoo-new.im.petrobrasenergia.com' id='2'
from='gbarrio at im.petrobrasenergia.com/Psi'>\n<query
xmlns='http://jabber.org/protocol/disco#info'>\n<feature
var='http://jabber.org/protocol/bytestreams'/>\n<feature
var='http://jabber.org/protocol/si'/>\n<feature
var='http://jabber.org/protocol/si/profile/file-transfer'/>\n</query>\n</iq>
DEBUG: dispatcher ok Got iq stanza
DEBUG: dispatcher ok Dispatching iq stanza with type->result
props->[u'http://jabber.org/protocol/disco#info'] id->2
More information about the JDev
mailing list