{"action":"created","issue":{"url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/88","repository_url":"https://api.github.com/repos/WoLpH/python-progressbar","labels_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/88/comments","events_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/88/events","html_url":"https://github.com/WoLpH/python-progressbar/issues/88","id":188967873,"number":88,"title":"Bug when using with pool","user":{"login":"toloco","id":851426,"avatar_url":"https://avatars.githubusercontent.com/u/851426?v=3","gravatar_id":"","url":"https://api.github.com/users/toloco","html_url":"https://github.com/toloco","followers_url":"https://api.github.com/users/toloco/followers","following_url":"https://api.github.com/users/toloco/following{/other_user}","gists_url":"https://api.github.com/users/toloco/gists{/gist_id}","starred_url":"https://api.github.com/users/toloco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toloco/subscriptions","organizations_url":"https://api.github.com/users/toloco/orgs","repos_url":"https://api.github.com/users/toloco/repos","events_url":"https://api.github.com/users/toloco/events{/privacy}","received_events_url":"https://api.github.com/users/toloco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-13T12:35:24Z","updated_at":"2016-11-15T14:04:59Z","closed_at":null,"body":"#### Description\r\n\r\nWhile using progress bar within a class and a pool of process a pickle error happens.\r\n\r\nI can provide the example code I'm try to reproduce if needed\r\n\r\n#### Traceback\r\n\r\n`\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/multiprocessing/pool.py\", line 260, in map\r\n    return self._map_async(func, iterable, mapstar, chunksize).get()\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/multiprocessing/pool.py\", line 608, in get\r\n    raise self._value\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/multiprocessing/pool.py\", line 385, in _handle_tasks\r\n    put(task)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/multiprocessing/connection.py\", line 206, in send\r\n    self._send_bytes(ForkingPickler.dumps(obj))\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/multiprocessing/reduction.py\", line 50, in dumps\r\n    cls(buf, protocol).dump(obj)\r\nTypeError: cannot serialize '_io.TextIOWrapper' object\r\n`\r\n\r\n#### Versions\r\n\r\n- Python version: 3.4\r\n- Python distribution/environment: CPython\r\n- Operating System: ubuntu and macosx\r\n- Package version: 3.11.0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/comments/260649450","html_url":"https://github.com/WoLpH/python-progressbar/issues/88#issuecomment-260649450","issue_url":"https://api.github.com/repos/WoLpH/python-progressbar/issues/88","id":260649450,"user":{"login":"WoLpH","id":270571,"avatar_url":"https://avatars.githubusercontent.com/u/270571?v=3","gravatar_id":"","url":"https://api.github.com/users/WoLpH","html_url":"https://github.com/WoLpH","followers_url":"https://api.github.com/users/WoLpH/followers","following_url":"https://api.github.com/users/WoLpH/following{/other_user}","gists_url":"https://api.github.com/users/WoLpH/gists{/gist_id}","starred_url":"https://api.github.com/users/WoLpH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WoLpH/subscriptions","organizations_url":"https://api.github.com/users/WoLpH/orgs","repos_url":"https://api.github.com/users/WoLpH/repos","events_url":"https://api.github.com/users/WoLpH/events{/privacy}","received_events_url":"https://api.github.com/users/WoLpH/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T14:04:59Z","updated_at":"2016-11-15T14:04:59Z","body":"All help is greatly appreciated :)\r\n\r\nLet me know if I can help with anything"}}
{"actor":{"display_login":"WoLpH"}}