[jadmin] PyYIM-t: NameError: name 'NS_ADMIN_ONLINE_USERS_LIST' is not defined
oliver bril
oliver_bril at hotmail.com
Wed Sep 26 09:23:24 CDT 2007
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 +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:
File "/opt/contrib/imserv/run/PYYIMT/jep0133.py", line 26, in Online_Users_Command
name = NS_ADMIN_ONLINE_USERS_LIST
NameError: 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!
http://get.live.com/messenger/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20070926/90b64d3e/attachment.htm
More information about the JAdmin
mailing list