[jadmin] PyYIM-t: NameError: name 'NS_ADMIN_ONLINE_USERS_LIST' is not defined

oliver bril oliver_bril at hotmail.com
Mon Oct 1 08:12:33 CDT 2007


Norman,

Updated the transport, now i receive a message from the transport that it will try to connect to yahoo without the domain info. 
Works and seems correct to me :-).

Thanx and kind regards,
Oliver.



Date: Thu, 27 Sep 2007 11:48:08 +0200
From: norman at rasmussen.co.za
To: jadmin at jabber.org
Subject: Re: [jadmin] PyYIM-t: NameError: name 'NS_ADMIN_ONLINE_USERS_LIST'	is not defined

On 9/26/07, oliver bril <oliver_bril at hotmail.com> wrote:




Ok, it seems to do the trick. Yahoo transport is running. Now i have another problem:
 

got reg login fail:  badusername
recv ('YMSG', 786432, 10, 2001, -1, 2097152) {0: {66: '1014'}} 30
DEBUG: socket       sent  <iq to="
user2 at im-test.****.com/Exodus

" from="yahoo.jabber-cm1" id="jcl_42" type="error">
  <query xmlns="jabber:iq:register">
  <username>
oliver_bril at yahoo.com

</username>
  <password>****</password>
  </query>
  <error code="406" type="cancel">
  <not-acceptable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />

  <text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">The recipient or server understands the request but is refusing to process it because it does not meet criteria defined by the recipient or server.</text>

  </error>
  </iq>

There was a weird duplication of code to handle login failures, (which I have now fixed in CVS).  If you could update, and try again.

(The reason it doesn't like that is because the yahoo service, doesn't want the @
yahoo.com part of your username.  The transport is supposed to auto-detect this, and try without it - which it now does correctly)
-- 
- Norman Rasmussen
 - Email: 
norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/

_________________________________________________________________
Get the new Windows Live Messenger!
http://get.live.com/messenger/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20071001/3ddd4451/attachment.htm 


More information about the JAdmin mailing list