{"action":"closed","issue":{"url":"https://api.github.com/repos/bvanheu/pytoutv/issues/73","repository_url":"https://api.github.com/repos/bvanheu/pytoutv","labels_url":"https://api.github.com/repos/bvanheu/pytoutv/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/bvanheu/pytoutv/issues/73/comments","events_url":"https://api.github.com/repos/bvanheu/pytoutv/issues/73/events","html_url":"https://github.com/bvanheu/pytoutv/issues/73","id":190453159,"number":73,"title":"UnicodeEncodeError when trying to download on Ubuntu 14.04","user":{"login":"simark","id":1758287,"avatar_url":"https://avatars.githubusercontent.com/u/1758287?v=3","gravatar_id":"","url":"https://api.github.com/users/simark","html_url":"https://github.com/simark","followers_url":"https://api.github.com/users/simark/followers","following_url":"https://api.github.com/users/simark/following{/other_user}","gists_url":"https://api.github.com/users/simark/gists{/gist_id}","starred_url":"https://api.github.com/users/simark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simark/subscriptions","organizations_url":"https://api.github.com/users/simark/orgs","repos_url":"https://api.github.com/users/simark/repos","events_url":"https://api.github.com/users/simark/events{/privacy}","received_events_url":"https://api.github.com/users/simark/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-19T00:25:32Z","updated_at":"2016-11-19T01:30:45Z","closed_at":"2016-11-19T01:30:45Z","body":"I just tried to download an episode in an Ubuntu 14.04 container:\r\n\r\n```\r\n(env) root@06dca589bdcd:/pytoutv# toutv fetch Infoman S17E10\r\nUnknown exception: <class 'UnicodeEncodeError'>: 'ascii' codec can't encode character '\\xc9' in position 24: ordinal not in range(128)\r\nTraceback (most recent call last):\r\n  File \"/pytoutv/toutvcli/app.py\", line 94, in run\r\n    args.func(args)\r\n  File \"/pytoutv/toutvcli/app.py\", line 322, in _command_fetch\r\n    bitrate=bitrate, overwrite=args.force)\r\n  File \"/pytoutv/toutvcli/app.py\", line 594, in _fetch_episode_name\r\n    bitrate=bitrate, overwrite=overwrite)\r\n  File \"/pytoutv/toutvcli/app.py\", line 573, in _fetch_episode\r\n    self._dl.download()\r\n  File \"/pytoutv/toutv/dl.py\", line 290, in download\r\n    self._init_download()\r\n  File \"/pytoutv/toutv/dl.py\", line 142, in _init_download\r\n    if not self._overwrite and os.path.exists(self._output_path):\r\n  File \"/env/lib/python3.4/genericpath.py\", line 19, in exists\r\n    os.stat(path)\r\nUnicodeEncodeError: 'ascii' codec can't encode character '\\xc9' in position 24: ordinal not in range(128)\r\n\r\n```"}}
{"actor":{"display_login":"simark"}}