Here's what I have learned. In my config.php file, the entry for $gateways["yahoo"] was "auto". With it set to auto, I don't even get the console entries to show... no errors, no indication it did anything. I changed the "auto" to "yahoo.ijabber.com" and tried again. This time, the Yahoo transport replied (great start) but still ultimately error'd. This is what I got on the web form:
There was an error registering with the transport. 3 And this is what I got in the console, ---------------- starbuck# DEBUG: socket got <iq type="get" id="reg_1" to="yahoo.ijabber.com" from="[EMAIL PROTECTED]/TransportRegister"> \n <query xmlns="jabber:iq:register"> \n \n </query> \n </iq> DEBUG: dispatcher ok Got jabber:component:accept/iq stanza DEBUG: dispatcher ok Dispatching iq stanza with type->get props-> [u'jabber:iq:register'] id->reg_1 DEBUG: socket sent <iq to="[EMAIL PROTECTED]/ TransportRegister" from="yahoo.ijabber.com" id="reg_1" type="result"> <query xmlns="jabber:iq:register"> <instructions>Please provide your Yahoo! username and password</ instructions> <username /> <password /> </query> </iq> DEBUG: socket sent <iq to="[EMAIL PROTECTED]/ TransportRegister" from="yahoo.ijabber.com" id="14" type="get"> <query xmlns="http://jabber.org/protocol/disco#info" /> </iq> ----------------------- So, it looks like the user/pass isn't being passed on properly cause' I entered my Yahoo username and password. Does that help? -- Travis Bell On 30-Mar-06, at 4:20 PM, James Bunton wrote: > On 30/03/2006, at 7:00 PM, Norman Rasmussen wrote: > >> On 3/30/06, James Bunton <[EMAIL PROTECTED]> wrote: >>> Does the Python Yahoo transport publish itself in service discovery? >> yep >> >>> Do a disco#info with Psi, and look at the XML console. What >>> differences >>> are there between the MSN & Yahoo transports? >>> >> >> <iq from="yahoo.jabber.server" type="result" id="ad40a" >> to="[EMAIL PROTECTED]/Work" > >> <query xmlns="http://jabber.org/protocol/disco#info"> >> <identity category="gateway" type="yahoo" name="XMPPPY Yahoo! >> Transport (Dev)" /> >> <feature var="jabber:iq:register" /> >> <feature var="jabber:iq:version" /> >> </query> >> </iq> >> >> <iq from="msn.jabber.server" type="result" to="[EMAIL PROTECTED]/Work" >> id="ad3fa" > >> <query xmlns="http://jabber.org/protocol/disco#info"> >> <identity category="gateway" type="msn" name="MSN Transport" /> >> <identity category="conference" type="text" name="MSN Transport >> Chatrooms" /> >> <feature var="http://jabber.org/protocol/disco" /> >> <feature var="jabber:x:conference" /> >> <feature var="jabber:iq:conference" /> >> <feature var="jabber:iq:register" /> >> <feature var="jabber:iq:gateway" /> >> <feature var="jabber:iq:version" /> >> <feature var="http://jabber.org/protocol/commands" /> >> <feature var="vcard-temp" /> >> </query> >> </iq> >> >> Looks like jabber:iq:gateway is missing on the yahoo transport, but >> that is used to indicate implemenetation of the send "legacy username >> to the gateway and receive a properly-formatted JID in return" >> process, which is not supposed atm. >> >> What's required to make the webreg work? >> >> -- >> - Norman Rasmussen >> - Email: [EMAIL PROTECTED] >> - Home page: http://norman.rasmussen.co.za/ > > The only line part that webreg cares about is the <identity/>. > That's correctly formatted in both stanzas. > > Have a look in your config.php file for webreg, make sure you have > a line: > $gateways["yahoo"] = "auto"; > > Otherwise you don't even get the option to choose to register with > the yahoo gateway. > > When your query your jabber server with disco#items, does the Yahoo > transport show up? > Differently to PyMSNt? > > --- > > James > > _______________________________________________ > py-transports mailing list > [email protected] > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modevia.com/pipermail/py-transports/attachments/20060402/dd72c67a/attachment.htm From [EMAIL PROTECTED] Sun Apr 2 17:36:26 2006 From: [EMAIL PROTECTED] (Norman Rasmussen) Date: Sun Apr 2 17:36:37 2006 Subject: [py-transports] webreg 0.5 preview In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> The yahoo transport tries to figure out of the client supports avatars via disco#info, this could well be confusing the web registration form. On 4/2/06, Travis Bell <[EMAIL PROTECTED]> wrote: > Here's what I have learned. > > In my config.php file, the entry for $gateways["yahoo"] was "auto". With it > set to auto, I don't even get the console entries to show... no errors, no > indication it did anything. I changed the "auto" to "yahoo.ijabber.com" and > tried again. This time, the Yahoo transport replied (great start) but still > ultimately error'd. This is what I got on the web form: > > There was an error registering with the transport. 3 > > And this is what I got in the console, > > ---------------- > starbuck# DEBUG: socket got <iq type="get" id="reg_1" > to="yahoo.ijabber.com" > from="[EMAIL PROTECTED]/TransportRegister">\n > <query xmlns="jabber:iq:register">\n > \n > </query>\n </iq> > DEBUG: dispatcher ok Got jabber:component:accept/iq stanza > DEBUG: dispatcher ok Dispatching iq stanza with type->get > props->[u'jabber:iq:register'] id->reg_1 > DEBUG: socket sent <iq to="[EMAIL PROTECTED]/TransportRegister" > from="yahoo.ijabber.com" id="reg_1" type="result"> > <query xmlns="jabber:iq:register"> > <instructions>Please provide your Yahoo! username and > password</instructions> > <username /> > <password /> > </query> > </iq> > DEBUG: socket sent <iq to="[EMAIL PROTECTED]/TransportRegister" > from="yahoo.ijabber.com" id="14" type="get"> > <query xmlns="http://jabber.org/protocol/disco#info" /> > </iq> > ----------------------- > > So, it looks like the user/pass isn't being passed on properly cause' I > entered my Yahoo username and password. > > Does that help? > > > > > > -- > > > Travis Bell > > > > > > > On 30-Mar-06, at 4:20 PM, James Bunton wrote: > > On 30/03/2006, at 7:00 PM, Norman Rasmussen wrote: > > > On 3/30/06, James Bunton <[EMAIL PROTECTED]> wrote: > Does the Python Yahoo transport publish itself in service discovery? > yep > > > Do a disco#info with Psi, and look at the XML console. What differences > are there between the MSN & Yahoo transports? > > > > <iq from="yahoo.jabber.server" type="result" id="ad40a" > to="[EMAIL PROTECTED]/Work" > > <query xmlns="http://jabber.org/protocol/disco#info"> > <identity category="gateway" type="yahoo" name="XMPPPY Yahoo! > Transport (Dev)" /> > <feature var="jabber:iq:register" /> > <feature var="jabber:iq:version" /> > </query> > </iq> > > <iq from="msn.jabber.server" type="result" to="[EMAIL PROTECTED]/Work" > id="ad3fa" > > <query xmlns="http://jabber.org/protocol/disco#info"> > <identity category="gateway" type="msn" name="MSN Transport" /> > <identity category="conference" type="text" name="MSN Transport Chatrooms" > /> > <feature var="http://jabber.org/protocol/disco" /> > <feature var="jabber:x:conference" /> > <feature var="jabber:iq:conference" /> > <feature var="jabber:iq:register" /> > <feature var="jabber:iq:gateway" /> > <feature var="jabber:iq:version" /> > <feature var="http://jabber.org/protocol/commands" /> > <feature var="vcard-temp" /> > </query> > </iq> > > Looks like jabber:iq:gateway is missing on the yahoo transport, but > that is used to indicate implemenetation of the send "legacy username > to the gateway and receive a properly-formatted JID in return" > process, which is not supposed atm. > > What's required to make the webreg work? > > -- > - Norman Rasmussen > - Email: [EMAIL PROTECTED] > - Home page: http://norman.rasmussen.co.za/ > > The only line part that webreg cares about is the <identity/>. That's > correctly formatted in both stanzas. > > Have a look in your config.php file for webreg, make sure you have a line: > $gateways["yahoo"] = "auto"; > > Otherwise you don't even get the option to choose to register with the yahoo > gateway. > > When your query your jabber server with disco#items, does the Yahoo > transport show up? > Differently to PyMSNt? > > --- > > James > > _______________________________________________ > 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 > > > -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Sun Apr 2 20:28:27 2006 From: [EMAIL PROTECTED] (Wijnand Wiersma) Date: Sun Apr 2 20:30:30 2006 Subject: [py-transports] problems upgrading icq transport Message-ID: <[EMAIL PROTECTED]> Upgrading from PyICQ-t 0.6 to 0.7a gives me following traceback: Checking spool files and stringprepping any if necessary... An error occurred during one of the automatic data update routines. Please report this bug. Traceback (most recent call last): File "./PyICQt.py", line 16, in ? main.main() File "/opt/pyicq-t-0.7a/src/main.py", line 453, in main xdb.housekeep() File "/opt/pyicq-t-0.7a/src/xdb/xmlfiles.py", line 335, in housekeep exec("%s()" % note) File "<string>", line 1, in ? File "/opt/pyicq-t-0.7a/src/xdb/xmlfiles.py", line 367, in doSpoolPrepCheck shutil.move(pre + file, pre + filej) File "/usr/lib/python2.4/shutil.py", line 193, in move copy2(src,dst) File "/usr/lib/python2.4/shutil.py", line 92, in copy2 copyfile(src, dst) File "/usr/lib/python2.4/shutil.py", line 47, in copyfile fsrc = open(src, 'rb') IOError: [Errno 2] No such file or directory: u'/var/spool/jabber/icq.nedbsd.nl/%048259ed9cbe0039e18069f5b20c7c8fe53e9835.xml' The transport works when using the legacyjittransport option. Is this a bug or a undocumented feature? ;-) Wijnand -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3497 bytes Desc: S/MIME Cryptographic Signature Url : http://modevia.com/pipermail/py-transports/attachments/20060402/18d07a7c/smime.bin From [EMAIL PROTECTED] Sun Apr 2 21:13:49 2006 From: [EMAIL PROTECTED] (Daniel Henninger) Date: Sun Apr 2 21:13:57 2006 Subject: [py-transports] problems upgrading icq transport In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> What a bizarre spool entry! I wonder how that even got in there? Would you mind going into /var/spool/jabber/icq.nedbsd.nl and sending me the output of "ls"? (I'd send it directly to me, [EMAIL PROTECTED], instead of to the list) Daniel On Apr 2, 2006, at 4:28 PM, Wijnand Wiersma wrote: > Upgrading from PyICQ-t 0.6 to 0.7a gives me following traceback: > > Checking spool files and stringprepping any if necessary... An > error occurred during one of the automatic data update routines. > Please report this bug. > Traceback (most recent call last): > File "./PyICQt.py", line 16, in ? > main.main() > File "/opt/pyicq-t-0.7a/src/main.py", line 453, in main > xdb.housekeep() > File "/opt/pyicq-t-0.7a/src/xdb/xmlfiles.py", line 335, in housekeep > exec("%s()" % note) > File "<string>", line 1, in ? > File "/opt/pyicq-t-0.7a/src/xdb/xmlfiles.py", line 367, in > doSpoolPrepCheck > shutil.move(pre + file, pre + filej) > File "/usr/lib/python2.4/shutil.py", line 193, in move > copy2(src,dst) > File "/usr/lib/python2.4/shutil.py", line 92, in copy2 > copyfile(src, dst) > File "/usr/lib/python2.4/shutil.py", line 47, in copyfile > fsrc = open(src, 'rb') > IOError: [Errno 2] No such file or directory: u'/var/spool/jabber/ > icq.nedbsd.nl/%048259ed9cbe0039e18069f5b20c7c8fe53e9835.xml' > > The transport works when using the legacyjittransport option. > > Is this a bug or a undocumented feature? ;-) > > Wijnand > _______________________________________________ > py-transports mailing list > [email protected] > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
