{"action":"opened","issue":{"url":"https://api.github.com/repos/spotify/luigi/issues/1969","repository_url":"https://api.github.com/repos/spotify/luigi","labels_url":"https://api.github.com/repos/spotify/luigi/issues/1969/labels{/name}","comments_url":"https://api.github.com/repos/spotify/luigi/issues/1969/comments","events_url":"https://api.github.com/repos/spotify/luigi/issues/1969/events","html_url":"https://github.com/spotify/luigi/issues/1969","id":196985032,"number":1969,"title":"listdir command crash","user":{"login":"Pcosmin","id":7535680,"avatar_url":"https://avatars.githubusercontent.com/u/7535680?v=3","gravatar_id":"","url":"https://api.github.com/users/Pcosmin","html_url":"https://github.com/Pcosmin","followers_url":"https://api.github.com/users/Pcosmin/followers","following_url":"https://api.github.com/users/Pcosmin/following{/other_user}","gists_url":"https://api.github.com/users/Pcosmin/gists{/gist_id}","starred_url":"https://api.github.com/users/Pcosmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pcosmin/subscriptions","organizations_url":"https://api.github.com/users/Pcosmin/orgs","repos_url":"https://api.github.com/users/Pcosmin/repos","events_url":"https://api.github.com/users/Pcosmin/events{/privacy}","received_events_url":"https://api.github.com/users/Pcosmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-21T17:09:04Z","updated_at":"2016-12-21T17:09:04Z","closed_at":null,"body":"I want to list all files from an hdfs directory, but i have an error:\r\n\r\n`File \"/Library/Python/2.7/site-packages/luigi/contrib/hdfs/hadoopcli_clients.py\", line 197, in listdir\r\n    size = int(data[-4])\r\nValueError: invalid literal for int() with base 10: 'Co.'`\r\n\r\nand this problem appear because filenames contains spaces : \r\n`-rw-r--r--   1 username supergroup     417475 2016-11-25 15:10 /path/to/directory/Co. of New York.pdf`\r\n\r\nhow can i fix this issue?\r\nThanks"}}
{"actor":{"display_login":"Pcosmin"}}