Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- H:\dev\playbot>python run_bot.py
- << Exception in thread Thread-1:
- Traceback (most recent call last):
- File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner
- self.run()
- File "C:\Python27\lib\threading.py", line 763, in run
- self.__target(*self.__args, **self.__kwargs)
- File "H:\dev\playbot\ChatExchange\chatexchange\browser.py", line 635, in _runner
- self.on_activity(activity)
- File "H:\dev\playbot\ChatExchange\chatexchange\rooms.py", line 65, in on_activity
- event_callback(event, self._client)
- File "run_bot.py", line 230, in on_event
- print self.client.get_user(client).name
- File "H:\dev\playbot\ChatExchange\chatexchange\_utils.py", line 78, in __get__
- method()
- File "H:\dev\playbot\ChatExchange\chatexchange\users.py", line 22, in scrape_profile
- data = self._client._br.get_profile(self.id)
- File "H:\dev\playbot\ChatExchange\chatexchange\browser.py", line 508, in get_profile
- is_moderator = bool(u'ฮรยช' in profile_soup.select('.user-status')[0].text)
- IndexError: list index out of range
- Code:
- def on_event(self, event, client):
- print self.client.get_user(client).name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement