Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2015-01-28 11:02:22,098 - asyncio - ERROR - Task exception was never retrieved
- future: <Task finished coro=<handle() done, defined at /root/hangupsbot/hangupsbot/handlers.py:36> exception=TypeError("unsupported operand type(s) for //: 'NoneType' and 'int'",)>
- Traceback (most recent call last):
- File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
- result = next(coro)
- File "/root/hangupsbot/hangupsbot/handlers.py", line 45, in handle
- yield from self.handle_command(event)
- File "/root/hangupsbot/hangupsbot/handlers.py", line 88, in handle_command
- yield from command.run(self.bot, event, *line_args[1:])
- File "/root/hangupsbot/hangupsbot/commands.py", line 40, in run
- yield from func(bot, event, *args, **kwds)
- File "/usr/lib/python3.4/asyncio/coroutines.py", line 141, in coro
- res = func(*args, **kw)
- File "/root/hangupsbot/hangupsbot/commands.py", line 287, in mention
- users_in_chat += bot.get_users_in_conversation(syncedroom)
- File "/root/hangupsbot/hangupsbot/hangupsbot.py", line 241, in get_users_in_conversation
- for c in self.list_conversations():
- File "/root/hangupsbot/hangupsbot/hangupsbot.py", line 231, in list_conversations
- convs = sorted(_all_conversations, reverse=True, key=lambda c: c.last_modified)
- File "/root/hangupsbot/hangupsbot/hangupsbot.py", line 231, in <lambda>
- convs = sorted(_all_conversations, reverse=True, key=lambda c: c.last_modified)
- File "/usr/local/lib/python3.4/dist-packages/hangups-0.2.3-py3.4.egg/hangups/conversation.py", line 252, in last_modified
- self._conversation.self_conversation_state.sort_timestamp
- File "/usr/local/lib/python3.4/dist-packages/hangups-0.2.3-py3.4.egg/hangups/parsers.py", line 102, in from_timestamp
- ).replace(microsecond=(microsecond_timestamp % 1000000))
- TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement