{"action":"created","issue":{"url":"https://api.github.com/repos/fitnr/twitter_markov/issues/3","repository_url":"https://api.github.com/repos/fitnr/twitter_markov","labels_url":"https://api.github.com/repos/fitnr/twitter_markov/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/fitnr/twitter_markov/issues/3/comments","events_url":"https://api.github.com/repos/fitnr/twitter_markov/issues/3/events","html_url":"https://github.com/fitnr/twitter_markov/issues/3","id":149305627,"number":3,"title":"writelines() argument must be a sequence of strings","user":{"login":"BrekiTomasson","id":7026735,"avatar_url":"https://avatars.githubusercontent.com/u/7026735?v=3","gravatar_id":"","url":"https://api.github.com/users/BrekiTomasson","html_url":"https://github.com/BrekiTomasson","followers_url":"https://api.github.com/users/BrekiTomasson/followers","following_url":"https://api.github.com/users/BrekiTomasson/following{/other_user}","gists_url":"https://api.github.com/users/BrekiTomasson/gists{/gist_id}","starred_url":"https://api.github.com/users/BrekiTomasson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrekiTomasson/subscriptions","organizations_url":"https://api.github.com/users/BrekiTomasson/orgs","repos_url":"https://api.github.com/users/BrekiTomasson/repos","events_url":"https://api.github.com/users/BrekiTomasson/events{/privacy}","received_events_url":"https://api.github.com/users/BrekiTomasson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-04-18T23:58:53Z","updated_at":"2016-12-06T19:18:07Z","closed_at":"2016-04-19T16:49:36Z","body":"First of all, thanks for the quick answer in #2 - it's absolutely gotten me one step closer! But now I'm having this problem instead:\n\n```\npi@raspberrypi:~/ThePostmodern $ twittermarkov corpus --one-per-line ./data/tweets.txt\nReading ./data/tweets.txt\nTraceback (most recent call last):\n  File \"/usr/local/bin/twittermarkov\", line 9, in <module>\n    load_entry_point('twitter-markov==0.4.3', 'console_scripts', 'twittermarkov')()\n  File \"/usr/local/lib/python2.7/dist-packages/twitter_markov/cli.py\", line 70, in main\n    func(argdict)\n  File \"/usr/local/lib/python2.7/dist-packages/twitter_markov/cli.py\", line 98, in learn_func\n    sys.stdout.writelines(tweets)\nTypeError: writelines() argument must be a sequence of strings\n```\n\nI first assumed there was something problem with my tweets.txt file, but there doesn't seem to be. The linebreaks are all in UNIX format, there's just plain text without any fancy characters that could be breaking anything... Any ideas?\n"},"comment":{"url":"https://api.github.com/repos/fitnr/twitter_markov/issues/comments/265244729","html_url":"https://github.com/fitnr/twitter_markov/issues/3#issuecomment-265244729","issue_url":"https://api.github.com/repos/fitnr/twitter_markov/issues/3","id":265244729,"user":{"login":"wiseman","id":52466,"avatar_url":"https://avatars.githubusercontent.com/u/52466?v=3","gravatar_id":"","url":"https://api.github.com/users/wiseman","html_url":"https://github.com/wiseman","followers_url":"https://api.github.com/users/wiseman/followers","following_url":"https://api.github.com/users/wiseman/following{/other_user}","gists_url":"https://api.github.com/users/wiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/wiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiseman/subscriptions","organizations_url":"https://api.github.com/users/wiseman/orgs","repos_url":"https://api.github.com/users/wiseman/repos","events_url":"https://api.github.com/users/wiseman/events{/privacy}","received_events_url":"https://api.github.com/users/wiseman/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T19:18:07Z","updated_at":"2016-12-06T19:18:07Z","body":"Looks like it's a Python 2 issue; If you run with Python 3 it works."}}
{"actor":{"display_login":"wiseman"}}