{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/3554","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/3554/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/3554/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/3554/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/3554","id":114948948,"number":3554,"title":"'ascii' codec can't encode character u'\\xe0' in position 78: ordinal not in range(128)","user":{"login":"Lowmach1ne","id":1935485,"avatar_url":"https://avatars.githubusercontent.com/u/1935485?v=3","gravatar_id":"","url":"https://api.github.com/users/Lowmach1ne","html_url":"https://github.com/Lowmach1ne","followers_url":"https://api.github.com/users/Lowmach1ne/followers","following_url":"https://api.github.com/users/Lowmach1ne/following{/other_user}","gists_url":"https://api.github.com/users/Lowmach1ne/gists{/gist_id}","starred_url":"https://api.github.com/users/Lowmach1ne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lowmach1ne/subscriptions","organizations_url":"https://api.github.com/users/Lowmach1ne/orgs","repos_url":"https://api.github.com/users/Lowmach1ne/repos","events_url":"https://api.github.com/users/Lowmach1ne/events{/privacy}","received_events_url":"https://api.github.com/users/Lowmach1ne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-11-04T01:30:58Z","updated_at":"2015-11-04T14:06:02Z","closed_at":null,"body":"# INFO\r\n Python Version: **Python 2.7.10 (default, Nov  3 2015, 20:11:24)[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]**\r\n Operating System: **Linux-2.6.32-40-pve-x86_64-with-centos-7.1.1503-Core**\r\n Locale: **UTF-8**\r\n Branch: **master**\r\n Commit: [**SiCKRAGETV/SickRage@ 78fdf42**](https://github.com/SiCKRAGETV/SickRage/commit/78fdf429c6bdef4771edc8fa1bf5d73dc5dd55dc)\r\n Link to Log: **https://gist.github.com/Lowmach1ne/bbcb6776e7016fa83d73**\r\n\r\n# ERROR\r\n```python\r\nThread-24 :: Failed doing webui callback: Traceback (most recent call last):\r\n  File \"/usr/share/sickrage/sickbeard/webserve.py\", line 259, in async_call\r\n    result = function(**kwargs)\r\n  File \"/usr/share/sickrage/sickbeard/webserve.py\", line 2165, in processEpisode\r\n    is_priority=argToBool(is_priority), delete_on=argToBool(delete_on), failed=argToBool(failed), type=type\r\n  File \"/usr/share/sickrage/sickbeard/processTV.py\", line 225, in processDir\r\n    process_media(path, [video], nzbName, process_method, force, is_priority, result)\r\n  File \"/usr/share/sickrage/sickbeard/processTV.py\", line 554, in process_media\r\n    result.result = processor.process()\r\n  File \"/usr/share/sickrage/sickbeard/postProcessor.py\", line 951, in process\r\n    self._delete(cur_ep.location, associated_files=True)\r\n  File \"/usr/share/sickrage/sickbeard/postProcessor.py\", line 234, in _delete\r\n    file_list = file_list + self.list_associated_files(file_path, base_name_only=True, subfolders=True)\r\n  File \"/usr/share/sickrage/sickbeard/postProcessor.py\", line 186, in list_associated_files\r\n    filelist = recursive_glob(ek(os.path.dirname, globbable_file_path), base_name + '*') # just create the list of all files starting with the basename\r\n  File \"/usr/share/sickrage/sickbeard/postProcessor.py\", line 160, in recursive_glob\r\n    for base, _, files in os.walk(treeroot):\r\n  File \"/usr/lib64/python2.7/os.py\", line 284, in walk\r\n    if isdir(join(top, name)):\r\n  File \"/usr/lib64/python2.7/genericpath.py\", line 41, in isdir\r\n    st = os.stat(s)\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xe0' in position 78: ordinal not in range(128)\r\n```\r\n# Error appear when\r\n```log\r\n2015-11-03 19:06:13 ERROR    POSTPROCESSER :: Exception generated in thread POSTPROCESSER: ascii : /media/share/media/Series/The Walking Dead/The Walking Dead - 3x04 - Un tueur à l'intérieur.nfo : error 78 : error 79 : ordinal not in range(128)\r\n```\r\n# locale (sickrage user)\r\n```shell\r\n#locale\r\nLANG=en_US.UTF-8\r\nLC_CTYPE=\"en_US.UTF-8\"\r\nLC_NUMERIC=\"en_US.UTF-8\"\r\nLC_TIME=\"en_US.UTF-8\"\r\nLC_COLLATE=\"en_US.UTF-8\"\r\nLC_MONETARY=\"en_US.UTF-8\"\r\nLC_MESSAGES=\"en_US.UTF-8\"\r\nLC_PAPER=\"en_US.UTF-8\"\r\nLC_NAME=\"en_US.UTF-8\"\r\nLC_ADDRESS=\"en_US.UTF-8\"\r\nLC_TELEPHONE=\"en_US.UTF-8\"\r\nLC_MEASUREMENT=\"en_US.UTF-8\"\r\nLC_IDENTIFICATION=\"en_US.UTF-8\"\r\nLC_ALL=en_US.UTF-8\r\n```\r\n# python special charactere\r\n```python\r\n>>> print(u'\\xe0')\r\nà\r\n```\r\n\r\n# python system encoding\r\n```python\r\n>>> import sys\r\n>>> sys.getfilesystemencoding()\r\n'UTF-8'\r\n```"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/153729373","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/3554#issuecomment-153729373","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/3554","id":153729373,"user":{"login":"JackDanl","id":14206695,"avatar_url":"https://avatars.githubusercontent.com/u/14206695?v=3","gravatar_id":"","url":"https://api.github.com/users/JackDanl","html_url":"https://github.com/JackDanl","followers_url":"https://api.github.com/users/JackDanl/followers","following_url":"https://api.github.com/users/JackDanl/following{/other_user}","gists_url":"https://api.github.com/users/JackDanl/gists{/gist_id}","starred_url":"https://api.github.com/users/JackDanl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackDanl/subscriptions","organizations_url":"https://api.github.com/users/JackDanl/orgs","repos_url":"https://api.github.com/users/JackDanl/repos","events_url":"https://api.github.com/users/JackDanl/events{/privacy}","received_events_url":"https://api.github.com/users/JackDanl/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T14:06:02Z","updated_at":"2015-11-04T14:06:02Z","body":"### INFO\nPython Version: **2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)]**\nOperating System: **Windows-7-6.1.7601-SP1**\nBranch: **master**\nCommit: SiCKRAGETV/SickRage@78fdf429c6bdef4771edc8fa1bf5d73dc5dd55dc\nNo Log available with ERRORS: \n### ERROR\n```\nSEARCHQUEUE-DAILY-SEARCH :: [KickAssTorrents] :: Failed parsing provider. Traceback: 'Traceback (most recent call last):\\n  File \"C:\\\\SickRage\\\\sickbeard\\\\providers\\\\kat.py\", line 102, in _doSearch\\n    data = xmltodict.parse(HTMLParser.HTMLParser().unescape(data.encode(\\'utf-8\\')).decode(\\'utf-8\\').replace(\\'&\\', \\'&amp;\\'))\\n  File \"C:\\\\Python27\\\\lib\\\\encodings\\\\cp1252.py\", line 15, in decode\\n    return codecs.charmap_decode(input,errors,decoding_table)\\nUnicodeDecodeError: \\'charmap\\' codec can\\'t decode byte 0x81 in position 3053: character maps to <undefined>\\n'\n```\n---\n_STAFF NOTIFIED_: @SiCKRAGETV/owners @SiCKRAGETV/moderators"}}