{"action":"created","issue":{"url":"https://api.github.com/repos/gunthercox/ChatterBot/issues/203","repository_url":"https://api.github.com/repos/gunthercox/ChatterBot","labels_url":"https://api.github.com/repos/gunthercox/ChatterBot/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/gunthercox/ChatterBot/issues/203/comments","events_url":"https://api.github.com/repos/gunthercox/ChatterBot/issues/203/events","html_url":"https://github.com/gunthercox/ChatterBot/issues/203","id":162358517,"number":203,"title":"Error during Mongo adapter statement serialization","user":{"login":"NotSoSuper","id":4484641,"avatar_url":"https://avatars.githubusercontent.com/u/4484641?v=3","gravatar_id":"","url":"https://api.github.com/users/NotSoSuper","html_url":"https://github.com/NotSoSuper","followers_url":"https://api.github.com/users/NotSoSuper/followers","following_url":"https://api.github.com/users/NotSoSuper/following{/other_user}","gists_url":"https://api.github.com/users/NotSoSuper/gists{/gist_id}","starred_url":"https://api.github.com/users/NotSoSuper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NotSoSuper/subscriptions","organizations_url":"https://api.github.com/users/NotSoSuper/orgs","repos_url":"https://api.github.com/users/NotSoSuper/repos","events_url":"https://api.github.com/users/NotSoSuper/events{/privacy}","received_events_url":"https://api.github.com/users/NotSoSuper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-06-27T01:11:43Z","updated_at":"2016-08-09T13:39:52Z","closed_at":null,"body":"Hey, after I started using the mongodb storage adapter, I keep getting this error:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.5/dist-packages/discord/ext/commands/bot.py\", line 247, in _run_extra\r\n    yield from coro(*args, **kwargs)\r\n  File \"./mods/AI.py\", line 47, in on_message\r\n    msg = \"**{0}**\\n\".format(message.author.name)+str(chatbot.get_response(message.content))\r\n  File \"/usr/local/lib/python3.5/dist-packages/chatterbot/chatterbot.py\", line 149, in get_response\r\n    self.storage.update(input_statement)\r\n  File \"/usr/local/lib/python3.5/dist-packages/chatterbot/adapters/storage/mongodb.py\", line 126, in update\r\n    data = statement.serialize()\r\n  File \"/usr/local/lib/python3.5/dist-packages/chatterbot/conversation/statement.py\", line 80, in serialize\r\n    data[\"in_response_to\"].append(response.serialize())\r\n  File \"/usr/local/lib/python3.5/dist-packages/chatterbot/conversation/statement.py\", line 80, in serialize\r\n    data[\"in_response_to\"].append(response.serialize())\r\nAttributeError: 'dict' object has no attribute 'serialize'\r\n```"},"comment":{"url":"https://api.github.com/repos/gunthercox/ChatterBot/issues/comments/238555676","html_url":"https://github.com/gunthercox/ChatterBot/issues/203#issuecomment-238555676","issue_url":"https://api.github.com/repos/gunthercox/ChatterBot/issues/203","id":238555676,"user":{"login":"gunthercox","id":2030578,"avatar_url":"https://avatars.githubusercontent.com/u/2030578?v=3","gravatar_id":"","url":"https://api.github.com/users/gunthercox","html_url":"https://github.com/gunthercox","followers_url":"https://api.github.com/users/gunthercox/followers","following_url":"https://api.github.com/users/gunthercox/following{/other_user}","gists_url":"https://api.github.com/users/gunthercox/gists{/gist_id}","starred_url":"https://api.github.com/users/gunthercox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunthercox/subscriptions","organizations_url":"https://api.github.com/users/gunthercox/orgs","repos_url":"https://api.github.com/users/gunthercox/repos","events_url":"https://api.github.com/users/gunthercox/events{/privacy}","received_events_url":"https://api.github.com/users/gunthercox/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T13:39:52Z","updated_at":"2016-08-09T13:39:52Z","body":"You could specify a different database name and your old data would be safe while you test your theory."}}
{"actor":{"display_login":"gunthercox"}}