will: User joining hipchat causes will to stop responding to anything

I’m getting an error fairly often which causes will to stop responding to all messages.

My current theory is that it happens when another user joins hipchat, but does not join any rooms that will is in.

ERROR    Error processing event handler: <bound method WillBot.join_rooms of <will.main.WillBot object at 0x7feeb0d30b90>>
Traceback (most recent call last):
  File "/home/panda/env/lib/python2.7/site-packages/sleekxmpp/xmlstream/xmlstream.py", line 1699, in _event_runner
    func(*args)
  File "/home/panda/env/lib/python2.7/site-packages/will/listener.py", line 67, in join_rooms
    self.update_will_roster_and_rooms()
  File "/home/panda/env/lib/python2.7/site-packages/will/listener.py", line 97, in update_will_roster_and_rooms
    user_data = self.full_hipchat_user_list[hipchat_id]
KeyError: u'****'

Where **** looks like the hipchat id (9 numbers)

Have you seen this before?

will==0.9.3 python==2.7.8

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 16 (13 by maintainers)

Most upvoted comments

>=, - 1.0 is coming out shortly, which won’t be much different.