{"action":"created","issue":{"url":"https://api.github.com/repos/houtianze/bypy/issues/437","repository_url":"https://api.github.com/repos/houtianze/bypy","labels_url":"https://api.github.com/repos/houtianze/bypy/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/houtianze/bypy/issues/437/comments","events_url":"https://api.github.com/repos/houtianze/bypy/issues/437/events","html_url":"https://github.com/houtianze/bypy/issues/437","id":306620261,"number":437,"title":"Failed to save hash cache due to unicode error","user":{"login":"d3banjan","id":6776052,"avatar_url":"https://avatars0.githubusercontent.com/u/6776052?v=4","gravatar_id":"","url":"https://api.github.com/users/d3banjan","html_url":"https://github.com/d3banjan","followers_url":"https://api.github.com/users/d3banjan/followers","following_url":"https://api.github.com/users/d3banjan/following{/other_user}","gists_url":"https://api.github.com/users/d3banjan/gists{/gist_id}","starred_url":"https://api.github.com/users/d3banjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3banjan/subscriptions","organizations_url":"https://api.github.com/users/d3banjan/orgs","repos_url":"https://api.github.com/users/d3banjan/repos","events_url":"https://api.github.com/users/d3banjan/events{/privacy}","received_events_url":"https://api.github.com/users/d3banjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-19T20:22:47Z","updated_at":"2018-03-20T12:40:23Z","closed_at":null,"author_association":"NONE","body":"> ```\r\n> Saving Hash Cache...\r\n> <E> [21:16:17] Failed to save Hash Cache.\r\n> Exception:\r\n> <type 'exceptions.UnicodeDecodeError'> - 'ascii' codec can't decode byte 0xe2 in position 22: ordinal not in range(128)\r\n> Stack:\r\n>   File \"/usr/lib/python2.7/threading.py\", line 774, in __bootstrap\r\n>     self.__bootstrap_inner()\r\n>   File \"/usr/lib/python2.7/threading.py\", line 801, in __bootstrap_inner\r\n>     self.run()\r\n>   File \"/usr/lib/python2.7/threading.py\", line 754, in run\r\n>     self.__target(*self.__args, **self.__kwargs)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/bypy/gui.py\", line 300, in syncupproc\r\n>     self.byp.syncup(lpath, rpath, delete)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/bypy/bypy.py\", line 2882, in syncup\r\n>     compare_result = self.__compare(rpath, localdir, True)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/bypy/bypy.py\", line 2574, in __compare\r\n>     self.__gather_local_dir(localdir)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/bypy/bypy.py\", line 2544, in __gather_local_dir\r\n>     self.__proceed_local_gather(len(dir), walk)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/bypy/bypy.py\", line 2529, in __proceed_local_gather\r\n>     files.append((name, getfilesize(fullname), md5(fullname)))\r\n>   File \"/usr/local/lib/python2.7/dist-packages/bypy/cached.py\", line 96, in __call__\r\n>     self.__store(info, path, result)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/bypy/cached.py\", line 124, in __store\r\n>     cached.savecache()\r\n>   File \"/usr/local/lib/python2.7/dist-packages/bypy/cached.py\", line 226, in savecache\r\n>     perr(\"Failed to save Hash Cache.\\n{}\".format(formatex(ex)))\r\n>   File \"/usr/local/lib/python2.7/dist-packages/bypy/util.py\", line 73, in formatex\r\n>     type(ex), ex, ''.join(traceback.format_stack()))\r\n> ```\r\n\r\nmy system is a gnome install of ubuntu 17.10 "},"comment":{"url":"https://api.github.com/repos/houtianze/bypy/issues/comments/374582870","html_url":"https://github.com/houtianze/bypy/issues/437#issuecomment-374582870","issue_url":"https://api.github.com/repos/houtianze/bypy/issues/437","id":374582870,"user":{"login":"d3banjan","id":6776052,"avatar_url":"https://avatars0.githubusercontent.com/u/6776052?v=4","gravatar_id":"","url":"https://api.github.com/users/d3banjan","html_url":"https://github.com/d3banjan","followers_url":"https://api.github.com/users/d3banjan/followers","following_url":"https://api.github.com/users/d3banjan/following{/other_user}","gists_url":"https://api.github.com/users/d3banjan/gists{/gist_id}","starred_url":"https://api.github.com/users/d3banjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3banjan/subscriptions","organizations_url":"https://api.github.com/users/d3banjan/orgs","repos_url":"https://api.github.com/users/d3banjan/repos","events_url":"https://api.github.com/users/d3banjan/events{/privacy}","received_events_url":"https://api.github.com/users/d3banjan/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T12:40:23Z","updated_at":"2018-03-20T12:40:23Z","author_association":"NONE","body":"Related to #228 ?? In that case this is not a fatal error?\r\n"}}
{"actor":{"display_login":"d3banjan"}}