{"action":"closed","issue":{"url":"https://api.github.com/repos/nansencenter/sea_ice_drift/issues/14","repository_url":"https://api.github.com/repos/nansencenter/sea_ice_drift","labels_url":"https://api.github.com/repos/nansencenter/sea_ice_drift/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/nansencenter/sea_ice_drift/issues/14/comments","events_url":"https://api.github.com/repos/nansencenter/sea_ice_drift/issues/14/events","html_url":"https://github.com/nansencenter/sea_ice_drift/issues/14","id":387320658,"node_id":"MDU6SXNzdWUzODczMjA2NTg=","number":14,"title":"pickle error","user":{"login":"jthargrove","id":40571844,"node_id":"MDQ6VXNlcjQwNTcxODQ0","avatar_url":"https://avatars1.githubusercontent.com/u/40571844?v=4","gravatar_id":"","url":"https://api.github.com/users/jthargrove","html_url":"https://github.com/jthargrove","followers_url":"https://api.github.com/users/jthargrove/followers","following_url":"https://api.github.com/users/jthargrove/following{/other_user}","gists_url":"https://api.github.com/users/jthargrove/gists{/gist_id}","starred_url":"https://api.github.com/users/jthargrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jthargrove/subscriptions","organizations_url":"https://api.github.com/users/jthargrove/orgs","repos_url":"https://api.github.com/users/jthargrove/repos","events_url":"https://api.github.com/users/jthargrove/events{/privacy}","received_events_url":"https://api.github.com/users/jthargrove/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-04T14:47:00Z","updated_at":"2018-12-05T08:03:29Z","closed_at":"2018-12-05T08:03:29Z","author_association":"NONE","body":"hi,\r\nI have successfully installed Sea Ice Drift and dependencies using the installation instructions. I also discovered the \"Issues\" area so you can ignore the personal email I sent you about my installation problems which it appears I solved. I am now trying to run the example. All seems to be fine until I get to sid.get_drift_PM, which gives the following error related to multiprocessing:\r\n\r\n>>> upm, vpm, apm, rpm, hpm, lon2pm, lat2pm = sid.get_drift_PM(\r\n...                                     lon1pm, lat1pm,\r\n...                                     lon1ft, lat1ft,\r\n...                                     lon2ft, lat2ft)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 4, in <module>\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\site-packages\\sea_ice_drift\\seaicedrift.py\", line 88, in get_drift_PM\r\n    self.n2, x2, y2, **kwargs)\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\site-packages\\sea_ice_drift\\pmlib.py\", line 424, in pattern_matching\r\n    initargs=(c1pm1i[gpi], r1pm1i[gpi], c2fg[gpi], r2fg[gpi], brd2[gpi], img1, img2, img_size, alpha0, kwargs))\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\multiprocessing\\context.py\", line 119, in Pool\r\n    context=self.get_context())\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\multiprocessing\\pool.py\", line 174, in __init__\r\n    self._repopulate_pool()\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\multiprocessing\\pool.py\", line 239, in _repopulate_pool\r\n    w.start()\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\multiprocessing\\process.py\", line 105, in start\r\n    self._popen = self._Popen(self)\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\multiprocessing\\context.py\", line 322, in _Popen\r\n    return Popen(process_obj)\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\multiprocessing\\popen_spawn_win32.py\", line 65, in __init__\r\n    reduction.dump(process_obj, to_child)\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\multiprocessing\\reduction.py\", line 60, in dump\r\n    ForkingPickler(file, protocol).dump(obj)\r\nAttributeError: Can't pickle local object 'pattern_matching.<locals>._init_pool'\r\n>>> Traceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\multiprocessing\\spawn.py\", line 105, in spawn_main\r\n    exitcode = _main(fd)\r\n  File \"C:\\ProgramData\\Anaconda3\\envs\\py3drift\\lib\\multiprocessing\\spawn.py\", line 115, in _main\r\n    self = reduction.pickle.load(from_parent)\r\nEOFError: Ran out of input"}}
{"actor":{"display_login":"akorosov"}}