When admin-only command is called from MUC (group message or chat (PM)) bot crashes with unhandled exception from within jabberbot class (master branch):
Traceback (most recent call last):
File "scripts/err.py", line 135, in
main()
File "scripts/err.py", line 86, in main
holder.bot.serve_forever()
File "/home/pkcs/temp/err/errbot/jabberbot.py", line 786, in serve_forever
conn.Process(1)
File "/home/pkcs/.virtualenvs/errbot/lib/python2.7/site-packages/xmpp/dispatcher.py", line 303, in dispatch
handler'func'
File "/home/pkcs/temp/err/errbot/errBot.py", line 82, in callback_message
super(ErrBot, self).callback_message(conn, mess)
File "/home/pkcs/temp/err/errbot/jabberbot.py", line 644, in callback_message
raise Exception('You cannot administer the bot from a chatroom, message the bot directly')
Exception: You cannot administer the bot from a chatroom, message the bot directly
jabberbot.py, lines 642 to 648, both exceptions are unhandled.
I suppose ignoring this call or return warning would be more appropriate. :)
Apophys
Corrected at fc93eed83595b9bc6558e746ceb6dd736ebbda3c , it will probably make it on a 1.3.1
Jun 29
'12 06:06
gbin