Hi,
I just tried installing this (easy_install) and ran into some problems after configuration:
1. I noticed it added a new (broken) link to the dashboard which (when clicked) gives a traceback ending with
TemplateDoesNotExist: rbxmppnotification/dashboard.html
Is this link supposed to exist?
2. With regards the actual sending of Jabber messages, I get some nasty tracebacks in the reviewboard log
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/RBXmppNotification-0.2-py2.7.egg/rbxmppnotification/xmpp.py", line 239, in send_xmpp_message
client.run()
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/client.py", line 216, in run
self.main_loop.loop(timeout)
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/mainloop/base.py", line 86, in loop
self.loop_iteration(interval)
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/mainloop/poll.py", line 140, in loop_iteration
self._handlers[fileno].handle_read()
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/transport.py", line 717, in handle_read
self._feed_reader(data)
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/transport.py", line 810, in _feed_reader
self._reader.feed(data)
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/xmppparser.py", line 212, in feed
self.parser.feed(data)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1641, in feed
self._parser.Parse(data, 0)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1550, in _end
return self.target.end(self._fixname(tag))
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/xmppparser.py", line 158, in end
self._handler.stream_element(element)
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/streambase.py", line 367, in stream_element
self._process_element(element)
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/streambase.py", line 510, in _process_element
logger.debug("Got features element: {0}".format(serialize(element)))
File "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/xmppserializer.py", line 365, in serialize
if _THREAD.serializer is None:
AttributeError: 'thread._local' object has no attribute 'serializer'
The "alpha2" status of pyxmpp2 worried me, so I checked out the page on PyPi for other versions, and it seems to have been alpha2 since 2011-07-10! My Google-fu didn't lead me to finding any fixes for this issue, so I hacked around it (the serialize() was only used in logging.debug statements, which I commented out. Was this working for you?