Advertisement
Guest User

Untitled

a guest
Sep 11th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.14 KB | None | 0 0
  1. H:\dev\playbot>python run_bot.py
  2. << Exception in thread Thread-1:
  3. Traceback (most recent call last):
  4.   File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner
  5.     self.run()
  6.   File "C:\Python27\lib\threading.py", line 763, in run
  7.     self.__target(*self.__args, **self.__kwargs)
  8.   File "H:\dev\playbot\ChatExchange\chatexchange\browser.py", line 635, in _runner
  9.     self.on_activity(activity)
  10.   File "H:\dev\playbot\ChatExchange\chatexchange\rooms.py", line 65, in on_activity
  11.     event_callback(event, self._client)
  12.   File "run_bot.py", line 230, in on_event
  13.     print self.client.get_user(client).name
  14.   File "H:\dev\playbot\ChatExchange\chatexchange\_utils.py", line 78, in __get__
  15.     method()
  16.   File "H:\dev\playbot\ChatExchange\chatexchange\users.py", line 22, in scrape_profile
  17.     data = self._client._br.get_profile(self.id)
  18.   File "H:\dev\playbot\ChatExchange\chatexchange\browser.py", line 508, in get_profile
  19.     is_moderator = bool(u'ฮ“ร–ยช' in profile_soup.select('.user-status')[0].text)
  20. IndexError: list index out of range
  21.  
  22.  
  23.  
  24. Code:
  25.  
  26. def on_event(self, event, client):
  27.     print self.client.get_user(client).name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement