Description
jabber bot dies on an interactive query with a backtrace:
- Your request has failed. The reason is:
exceptions.AttributeError: XmlRpc2 instance has no attribute '_generate_auth_token'
File "/data/www_pirl/pirlwww.lpl.arizona.edu/moin_inst//lib/python2.4/site-packages/MoinMoin/xmlrpc/init.py", line 151, in process
- response = self.dispatch(method, params)
File "/data/www_pirl/pirlwww.lpl.arizona.edu/moin_inst//lib/python2.4/site-packages/MoinMoin/xmlrpc/init.py", line 193, in dispatch
- response = fn(*params)
File "/data/www_pirl/pirlwww.lpl.arizona.edu/moin_inst//lib/python2.4/site-packages/MoinMoin/xmlrpc/init.py", line 711, in xmlrpc_getJabberAuthToken
- return self._generate_auth_token(u)
This is not the case if your JID is not recognized by the wiki instance. (anonymous access seems to work, but then you can not get notifications)
Steps to reproduce
set you user preferences to include your JID (eg: username@gtalk.com)
- send a query to your configured jabber bot (eg: search Welcome)
- receive backtrace
Example
URL: http://pirlwww.lpl.arizona.edu/~tims/jabberbot/index.txt
Component selection
- general
The wiki RPC mechanism is expecting an attribute '_generate_auth_token' but does not receive it. This seems to only be needed when the remote JID is recognized by MoinMoin.
- The jabberbot needs to send extra information OR
- The wiki needs to trust jabberbot via the shared secret.
Details
MoinMoin Version |
1.7.1 Revision release |
OS and Version |
|
Python Version |
2.4.3 |
Server Setup |
Apache2.0 + mod_python |
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
English |
Workaround
Use another account for anonymous access
Discussion
please can you give more details I can't reproduce it with the recent 1.7 and using a bot on jabber.org
Plan
- Priority:
- Assigned to:
- Status: can't reproduce with 1.7 3859:68628fe3b091