Can you check for me that your line 284 in client.py is this:
self.users[user][unit][‘request’].sampling)
Which is the last parameter in a logger.warning command? At this section of the code, the bot increases the number of requests by 1 and tries to tell the logger. For some reason the requests are coming back as unicode.
If I were trouble shooting this, I would probably put a line like this just before the logger.warning command:
self.logger.warning(self.users[user][unit][‘request’].sampling)
Are you still trying Python 3.5? Does it work in Python 2.7.9?