Sunday, March 6, 2005

xmpp & bloglines

My goal for the evening was to get a bot running on a jabber server that would send you IMs whenever bloglines was updated. I am very close to having this done, problems remain though. Seems pyxmpp does not play well with feedparser.

DEBUG: tls_verify_callback(depth=0,ok=0)
DEBUG: Traceback (most recent call last):
DEBUG:   File "/home/jlapenna/botlibs/pyxmpp/stream.py", line 1271, in _tls_verify_callback
    ok=cb(self, ctx,cert,errnum,depth,ok)
DEBUG: TypeError: 'NoneType' object is not callable
DEBUG: tls_verify_callback(depth=0,ok=0)
DEBUG: Traceback (most recent call last):
DEBUG:   File "/home/jlapenna/botlibs/pyxmpp/stream.py", line 1271, in _tls_verify_callback
    ok=cb(self, ctx,cert,errnum,depth,ok)
DEBUG: TypeError: 'NoneType' object is not callable
DEBUG: tls_verify_callback(depth=0,ok=0)
DEBUG: Traceback (most recent call last):
DEBUG:   File "/home/jlapenna/botlibs/pyxmpp/stream.py", line 1271, in _tls_verify_callback
    ok=cb(self, ctx,cert,errnum,depth,ok)
DEBUG: TypeError: 'NoneType' object is not callable
DEBUG: OUT: ''
Traceback (most recent call last):
  File "blog.py", line 88, in ?
    bot.run_forever()
  File "blog.py", line 28, in run_forever
    self.loop(1)
  File "/home/jlapenna/botlibs/pyxmpp/client.py", line 134, in loop
    self.stream.loop(timeout)
  File "/home/jlapenna/botlibs/pyxmpp/stream.py", line 517, in loop
    self._loop_iter(timeout)
  File "/home/jlapenna/botlibs/pyxmpp/stream.py", line 533, in _loop_iter
    id,od,ed=select.select([self.socket],[],[self.socket],timeout)
TypeError: an integer is required