[jadmin] PyYIM-t: NameError: name 'NS_ADMIN_ONLINE_USERS_LIST' is not defined
oliver bril
oliver_bril at hotmail.com
Thu Sep 27 04:28:35 CDT 2007
Also this problem has been solved. with this transport i had to register without @yahoo.com. Everything is running fine now.
Regards,
Oliver.
From: oliver_bril at hotmail.comTo: jadmin at jabber.orgDate: Wed, 26 Sep 2007 18:10:29 +0200Subject: Re: [jadmin] PyYIM-t: NameError: name 'NS_ADMIN_ONLINE_USERS_LIST' is not defined
Norman, Ok, it seems to do the trick. Yahoo transport is running. Now i have another problem: I have created two accounts at yahoo. I use one of them for the transport. Within my jabber client i could register with the transport and i received no errors. I couldn't use the transport so i enabled <dumpProtocol/>in the config.xml. This is a part of it (added some ***): got reg login fail: badusernamerecv ('YMSG', 786432, 10, 2001, -1, 2097152) {0: {66: '1014'}} 30DEBUG: 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>Port 5050 is open towards the internet in my firewall. (also tested the connection from my sun machine towards a yahoo server and i can connect.) Any ideas? Kind regards,Oliver
From: oliver_bril at hotmail.comTo: jadmin at jabber.orgDate: Wed, 26 Sep 2007 16:23:24 +0200Subject: Re: [jadmin] PyYIM-t: NameError: name 'NS_ADMIN_ONLINE_USERS_LIST' is not defined
Norman,You are right I use python 5.2.1 (stupid typo).I think you are probably right about xmpppy, protocol.py is 1.54. Will try the cvs version of the librairy. Will come back to let everybody know if this solved the problem.Thanx. Regards,Oliver
Date: Wed, 26 Sep 2007 16:13:57 +0200From: norman at rasmussen.co.zaTo: jadmin at jabber.orgSubject: Re: [jadmin] PyYIM-t: NameError: name 'NS_ADMIN_ONLINE_USERS_LIST' is not definedOn 9/26/07, oliver bril <oliver_bril at hotmail.com> wrote:
File "/opt/contrib/imserv/run/PYYIMT/jep0133.py", line 26, in Online_Users_Command name = NS_ADMIN_ONLINE_USERS_LISTNameError: name 'NS_ADMIN_ONLINE_USERS_LIST' is not defined
I have searched the internet and all kinds of mailing lists but the only answer I can find is that I have to install xmpppy. I already had this library installed but I keep getting the same error. I use python 5.2.1. Also have dnspython-1.5.0 installed.Look in xmpp/protocol.py, it should be at least version 1.57 (shown directly after the header in the file)You probably have 0.3 xmpppy installed, but from that error you're running the CVS version of the transport. You need to use the CVS version of the library then. You're using python 2.5.1 right, not 5.2.1 ?-- - Norman Rasmussen- Email: norman at rasmussen.co.za- Home page: http://norman.rasmussen.co.za/
Get the new Windows Live Messenger! Try it!
Get the new Windows Live Messenger! Try it!
_________________________________________________________________
Call friends with PC-to-PC calling -- FREE
http://get.live.com/messenger/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20070927/b529dd83/attachment.htm
More information about the JAdmin
mailing list