{"action":"created","issue":{"url":"https://api.github.com/repos/ganga-devs/ganga/issues/1288","repository_url":"https://api.github.com/repos/ganga-devs/ganga","labels_url":"https://api.github.com/repos/ganga-devs/ganga/issues/1288/labels{/name}","comments_url":"https://api.github.com/repos/ganga-devs/ganga/issues/1288/comments","events_url":"https://api.github.com/repos/ganga-devs/ganga/issues/1288/events","html_url":"https://github.com/ganga-devs/ganga/issues/1288","id":333052412,"node_id":"MDU6SXNzdWUzMzMwNTI0MTI=","number":1288,"title":"Python3 pickle decoding error","user":{"login":"apsknight","id":19551774,"node_id":"MDQ6VXNlcjE5NTUxNzc0","avatar_url":"https://avatars1.githubusercontent.com/u/19551774?v=4","gravatar_id":"","url":"https://api.github.com/users/apsknight","html_url":"https://github.com/apsknight","followers_url":"https://api.github.com/users/apsknight/followers","following_url":"https://api.github.com/users/apsknight/following{/other_user}","gists_url":"https://api.github.com/users/apsknight/gists{/gist_id}","starred_url":"https://api.github.com/users/apsknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apsknight/subscriptions","organizations_url":"https://api.github.com/users/apsknight/orgs","repos_url":"https://api.github.com/users/apsknight/repos","events_url":"https://api.github.com/users/apsknight/events{/privacy}","received_events_url":"https://api.github.com/users/apsknight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-17T10:32:41Z","updated_at":"2018-06-18T14:12:08Z","closed_at":null,"author_association":"MEMBER","body":"https://github.com/ganga-devs/ganga/blob/845f3f8239f17304fe92aa0a8efab4ab93406967/python/Ganga/Core/GangaRepository/PickleStreamer.py#L18\r\n\r\n`UTF-8` is unable to decode some characters in byte string thus it is giving errors like this,\r\n```bash\r\n'utf-8' codec can't decode byte 0xb2 in position 17: invalid start byte\r\n```\r\n\r\na simple solution of this could be changing the line to \r\n```python3\r\n    fileobj.write(str(output)[2:-1])\r\n```\r\nReference: https://stackoverflow.com/a/46748988"},"comment":{"url":"https://api.github.com/repos/ganga-devs/ganga/issues/comments/398067795","html_url":"https://github.com/ganga-devs/ganga/issues/1288#issuecomment-398067795","issue_url":"https://api.github.com/repos/ganga-devs/ganga/issues/1288","id":398067795,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODA2Nzc5NQ==","user":{"login":"alexanderrichards","id":4686942,"node_id":"MDQ6VXNlcjQ2ODY5NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/4686942?v=4","gravatar_id":"","url":"https://api.github.com/users/alexanderrichards","html_url":"https://github.com/alexanderrichards","followers_url":"https://api.github.com/users/alexanderrichards/followers","following_url":"https://api.github.com/users/alexanderrichards/following{/other_user}","gists_url":"https://api.github.com/users/alexanderrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderrichards/subscriptions","organizations_url":"https://api.github.com/users/alexanderrichards/orgs","repos_url":"https://api.github.com/users/alexanderrichards/repos","events_url":"https://api.github.com/users/alexanderrichards/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderrichards/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T14:12:08Z","updated_at":"2018-06-18T14:12:08Z","author_association":"CONTRIBUTOR","body":"ah of course. What is the source of this string if not utf-8 is this a pickled object?"}}
{"actor":{"display_login":"alexanderrichards"}}