{"action":"opened","issue":{"url":"https://api.github.com/repos/bartvm/mimir/issues/2","repository_url":"https://api.github.com/repos/bartvm/mimir","labels_url":"https://api.github.com/repos/bartvm/mimir/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/bartvm/mimir/issues/2/comments","events_url":"https://api.github.com/repos/bartvm/mimir/issues/2/events","html_url":"https://github.com/bartvm/mimir/issues/2","id":132281037,"number":2,"title":"Picklability","user":{"login":"bartvm","id":2299595,"avatar_url":"https://avatars.githubusercontent.com/u/2299595?v=3","gravatar_id":"","url":"https://api.github.com/users/bartvm","html_url":"https://github.com/bartvm","followers_url":"https://api.github.com/users/bartvm/followers","following_url":"https://api.github.com/users/bartvm/following{/other_user}","gists_url":"https://api.github.com/users/bartvm/gists{/gist_id}","starred_url":"https://api.github.com/users/bartvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartvm/subscriptions","organizations_url":"https://api.github.com/users/bartvm/orgs","repos_url":"https://api.github.com/users/bartvm/repos","events_url":"https://api.github.com/users/bartvm/events{/privacy}","received_events_url":"https://api.github.com/users/bartvm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-08T22:57:16Z","updated_at":"2016-02-08T22:57:16Z","closed_at":null,"body":"As mentioned by @dmitriy-serdyuk in https://github.com/bartvm/mimir/issues/1#issuecomment-181570154 the `GzipJSONHandler` and `PrintHandler` objects aren't picklable in Python 2 (`GzipJSONHandler` seems fine in Python 3).\r\n\r\nThis is of course expected behaviour because pickling objects like file handles doesn't make sense most of the time, but we might need to come up with something to make Blocks' checkpointing happy.\r\n\r\nI don't like the idea of adding all sorts of pickling magic just to accommodate Blocks, but maybe something can be done from the Blocks side instead."}}