{"action":"created","issue":{"url":"https://api.github.com/repos/joshuaclayton/unused/issues/72","repository_url":"https://api.github.com/repos/joshuaclayton/unused","labels_url":"https://api.github.com/repos/joshuaclayton/unused/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/joshuaclayton/unused/issues/72/comments","events_url":"https://api.github.com/repos/joshuaclayton/unused/issues/72/events","html_url":"https://github.com/joshuaclayton/unused/issues/72","id":173968561,"number":72,"title":"Error running unused, invalid argument (invalid byte sequence)","user":{"login":"stoivo","id":3492040,"avatar_url":"https://avatars.githubusercontent.com/u/3492040?v=3","gravatar_id":"","url":"https://api.github.com/users/stoivo","html_url":"https://github.com/stoivo","followers_url":"https://api.github.com/users/stoivo/followers","following_url":"https://api.github.com/users/stoivo/following{/other_user}","gists_url":"https://api.github.com/users/stoivo/gists{/gist_id}","starred_url":"https://api.github.com/users/stoivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoivo/subscriptions","organizations_url":"https://api.github.com/users/stoivo/orgs","repos_url":"https://api.github.com/users/stoivo/repos","events_url":"https://api.github.com/users/stoivo/events{/privacy}","received_events_url":"https://api.github.com/users/stoivo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-30T09:15:16Z","updated_at":"2016-08-30T17:36:22Z","closed_at":null,"body":"This might be me doing something stupid\r\n```bash\r\nctags -R .\r\nunused\r\nUnused: analyzing unused: ./tags: hGetContents: invalid argument (invalid byte sequence)\r\n````\r\n\r\nAny idea of what doing wrong?"},"comment":{"url":"https://api.github.com/repos/joshuaclayton/unused/issues/comments/243518267","html_url":"https://github.com/joshuaclayton/unused/issues/72#issuecomment-243518267","issue_url":"https://api.github.com/repos/joshuaclayton/unused/issues/72","id":243518267,"user":{"login":"joshuaclayton","id":1574,"avatar_url":"https://avatars.githubusercontent.com/u/1574?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuaclayton","html_url":"https://github.com/joshuaclayton","followers_url":"https://api.github.com/users/joshuaclayton/followers","following_url":"https://api.github.com/users/joshuaclayton/following{/other_user}","gists_url":"https://api.github.com/users/joshuaclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuaclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuaclayton/subscriptions","organizations_url":"https://api.github.com/users/joshuaclayton/orgs","repos_url":"https://api.github.com/users/joshuaclayton/repos","events_url":"https://api.github.com/users/joshuaclayton/events{/privacy}","received_events_url":"https://api.github.com/users/joshuaclayton/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T17:36:22Z","updated_at":"2016-08-30T17:36:22Z","body":"@stoile we might be possible to narrow down to what type of data is causing the problem; can you run:\r\n\r\n```sh\r\ncat .git/tags | cut -f1 | unused --stdin \r\n```\r\n\r\nAnd let me know what happens? My guess is that it's some sort of strange encoding character that's causing problems, but lack of access to the tags makes it difficult for me to reproduce. If the above command *does* work, it's an indicator that it's either in the path, function definition, or type columns, which we can hopefully use to narrow things down.\r\n\r\n@stoile @stoivo can you also report the path for ctags (`which ctags`) and the version (`ctags --version`)?"}}
{"actor":{"display_login":"joshuaclayton"}}