Advertisement
Guest User

Untitled

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