2020-12-07 23:30:51,233 533003 INFO aiohttp.access:206: 127.0.0.1 [07/Dec/2020:23:30:51 +0000] "GET / HTTP/1.1" 200 163 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36"
2020-12-07 23:30:51,422 533003 INFO aiohttp.access:206: 127.0.0.1 [07/Dec/2020:23:30:51 +0000] "GET /favicon.ico HTTP/1.1" 404 172 "http://0.0.0.0:8080/" "Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36"
2020-12-07 23:31:42,629 533003 INFO aicoe.sesheta:186: Incoming json is - {'type': 'MESSAGE', 'eventTime': '2020-05-07T14:10:15.776351Z', 'token': 'jOL8inGgWL2ggc2Mhy4LPg8Rg8oABAKsFwEuhXGnejc=', 'threadKey': 'issue_metrics-exporter_613850043', 'message': {'name': 'spaces/AAAAmQJAdY0/messages/_xnU40B3ag4.iUaPJk4QuM8', 'sender': {'name': 'users/102814839969738411580', 'displayName': 'Christoph Goern', 'avatarUrl': 'https://lh3.googleusercontent.com/a-/AOh14GhINwWPPaTOVVSpT4ZMyhS-hPst5V4ueOOyWQMsfQ', 'email': '[email protected]', 'type': 'HUMAN', 'domainId': '2k0l5e8'}, 'createTime': '2020-05-07T14:10:15.776351Z', 'text': '@Sesheta create new minor release for srcops-testing', 'annotations': [{'type': 'USER_MENTION', 'startIndex': 0, 'length': 8, 'userMention': {'user': {'name': 'users/105351276524248843824', 'displayName': 'Sesheta', 'avatarUrl': 'https://lh5.googleusercontent.com/proxy/0FHgpNIo_Qqrh5mV9pnzv7rSTRj64k7ysJwnXmlhuujzSHV7PzBkXxjNmBmZ9hwUNv9enE26Z-OL8BcHr2vSTSe0DOJp1ssSvlRYtDavkg', 'type': 'BOT'}, 'type': 'MENTION'}}], 'thread': {'name': 'spaces/AAAAmQJAdY0/threads/_xnU40B3ag4', 'retentionSettings': {'state': 'PERMANENT'}}, 'space': {'name': 'spaces/AAAAmQJAdY0', 'type': 'ROOM', 'displayName': 'AICoE - Thoth DevOps - 🤖🧠 ', 'threaded': True}, 'argumentText': ' help'}, 'user': {'name': 'users/102814839969738411580', 'displayName': 'Christoph Goern', 'avatarUrl': 'https://lh3.googleusercontent.com/a-/AOh14GhINwWPPaTOVVSpT4ZMyhS-hPst5V4ueOOyWQMsfQ', 'email': '[email protected]', 'type': 'HUMAN', 'domainId': '2k0l5e8'}, 'space': {'name': 'spaces/AAAAmQJAdY0', 'type': 'ROOM', 'displayName': 'AICoE - Thoth DevOps - 🤖🧠 ', 'threaded': True}, 'configCompleteRedirectUrl': 'https://chat.google.com/api/bot_config_complete?token=ADmUIul61LWfF8fkGYlVwpw4ad2l3GHxQkXL8ugYqgl_aC7fUixCX1QSIjKI9kDcyoei-kZAluL0Ya9BZJk1TInQPSCe62buqwrNuEWDYAWUuKx58_FZYAnqZt-7OeFKW1AqxJ33kOOXH7g3CXN1'}
2020-12-07 23:31:42,629 533003 INFO aicoe.sesheta:104: message on thread spaces/AAAAmQJAdY0/threads/_xnU40B3ag4: @Sesheta create new minor release for srcops-testing
2020-12-07 23:31:43,522 533003 DEBUG aicoe.sesheta:175: 201
2020-12-07 23:31:43,523 533003 INFO aiohttp.access:206: ::1 [07/Dec/2020:23:31:42 +0000] "POST /api/v1alpha1 HTTP/1.1" 200 278 "-" "PostmanRuntime/7.26.8"
2020-12-07 23:32:46,472 533003 INFO aicoe.sesheta:186: Incoming json is - {'type': 'MESSAGE', 'eventTime': '2020-05-07T14:10:15.776351Z', 'token': 'jOL8inGgWL2ggc2Mhy4LPg8Rg8oABAKsFwEuhXGnejc=', 'threadKey': 'issue_metrics-exporter_613850043', 'message': {'name': 'spaces/AAAAmQJAdY0/messages/_xnU40B3ag4.iUaPJk4QuM8', 'sender': {'name': 'users/102814839969738411580', 'displayName': 'Christoph Goern', 'avatarUrl': 'https://lh3.googleusercontent.com/a-/AOh14GhINwWPPaTOVVSpT4ZMyhS-hPst5V4ueOOyWQMsfQ', 'email': '[email protected]', 'type': 'HUMAN', 'domainId': '2k0l5e8'}, 'createTime': '2020-05-07T14:10:15.776351Z', 'text': '@Sesheta hows the weather', 'annotations': [{'type': 'USER_MENTION', 'startIndex': 0, 'length': 8, 'userMention': {'user': {'name': 'users/105351276524248843824', 'displayName': 'Sesheta', 'avatarUrl': 'https://lh5.googleusercontent.com/proxy/0FHgpNIo_Qqrh5mV9pnzv7rSTRj64k7ysJwnXmlhuujzSHV7PzBkXxjNmBmZ9hwUNv9enE26Z-OL8BcHr2vSTSe0DOJp1ssSvlRYtDavkg', 'type': 'BOT'}, 'type': 'MENTION'}}], 'thread': {'name': 'spaces/AAAAmQJAdY0/threads/_xnU40B3ag4', 'retentionSettings': {'state': 'PERMANENT'}}, 'space': {'name': 'spaces/AAAAmQJAdY0', 'type': 'ROOM', 'displayName': 'AICoE - Thoth DevOps - 🤖🧠 ', 'threaded': True}, 'argumentText': ' help'}, 'user': {'name': 'users/102814839969738411580', 'displayName': 'Christoph Goern', 'avatarUrl': 'https://lh3.googleusercontent.com/a-/AOh14GhINwWPPaTOVVSpT4ZMyhS-hPst5V4ueOOyWQMsfQ', 'email': '[email protected]', 'type': 'HUMAN', 'domainId': '2k0l5e8'}, 'space': {'name': 'spaces/AAAAmQJAdY0', 'type': 'ROOM', 'displayName': 'AICoE - Thoth DevOps - 🤖🧠 ', 'threaded': True}, 'configCompleteRedirectUrl': 'https://chat.google.com/api/bot_config_complete?token=ADmUIul61LWfF8fkGYlVwpw4ad2l3GHxQkXL8ugYqgl_aC7fUixCX1QSIjKI9kDcyoei-kZAluL0Ya9BZJk1TInQPSCe62buqwrNuEWDYAWUuKx58_FZYAnqZt-7OeFKW1AqxJ33kOOXH7g3CXN1'}
2020-12-07 23:32:46,472 533003 INFO aicoe.sesheta:104: message on thread spaces/AAAAmQJAdY0/threads/_xnU40B3ag4: @Sesheta hows the weather
2020-12-07 23:32:46,482 533003 INFO chatterbot.chatterbot:44: Beginning search for close text match
2020-12-07 23:32:46,482 533003 INFO chatterbot.chatterbot:70: Processing search results
2020-12-07 23:32:46,489 533003 INFO chatterbot.chatterbot:39: Using "@Sesheta hows the weather" as a close match to "@Sesheta hows the weather" with a confidence of 0
2020-12-07 23:32:46,509 533003 INFO chatterbot.chatterbot:77: No responses found. Generating alternate response list.
2020-12-07 23:32:46,519 533003 INFO chatterbot.chatterbot:118: No known response to the input was found. Selecting a random response.
2020-12-07 23:32:46,519 533003 INFO chatterbot.chatterbot:155: BestMatch selected "I can be copied infinitely and re-instantiated in many places at once, so functionally speaking I am immortal." as a response with a confidence of 0
2020-12-07 23:32:46,519 533003 ERROR aiohttp.server:393: Error handling request
Traceback (most recent call last):
File "/home/sai/.local/share/virtualenvs/Sefkhet-Abwy-q36jUd_B/lib64/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/home/sai/.local/share/virtualenvs/Sefkhet-Abwy-q36jUd_B/lib64/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "chatbot", line 194, in hangouts_handler
return web.json_response({"text": text})
File "/home/sai/.local/share/virtualenvs/Sefkhet-Abwy-q36jUd_B/lib64/python3.8/site-packages/aiohttp/web_response.py", line 773, in json_response
text = dumps(data)
File "/usr/lib64/python3.8/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/lib64/python3.8/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib64/python3.8/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/lib64/python3.8/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type Statement is not JSON serializable