payload: {"action":"created","issue":{"url":"https://api.github.com/repos/bitranox/wrapt_timeout_decorator/issues/10","repository_url":"https://api.github.com/repos/bitranox/wrapt_timeout_decorator","labels_url":"https://api.github.com/repos/bitranox/wrapt_timeout_decorator/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/bitranox/wrapt_timeout_decorator/issues/10/comments","events_url":"https://api.github.com/repos/bitranox/wrapt_timeout_decorator/issues/10/events","html_url":"https://github.com/bitranox/wrapt_timeout_decorator/issues/10","id":428340394,"node_id":"MDU6SXNzdWU0MjgzNDAzOTQ=","number":10,"title":"Multiprocessing failure on Windows Python 3","user":{"login":"seanthegeek","id":44679,"node_id":"MDQ6VXNlcjQ0Njc5","avatar_url":"https://avatars3.githubusercontent.com/u/44679?v=4","gravatar_id":"","url":"https://api.github.com/users/seanthegeek","html_url":"https://github.com/seanthegeek","followers_url":"https://api.github.com/users/seanthegeek/followers","following_url":"https://api.github.com/users/seanthegeek/following{/other_user}","gists_url":"https://api.github.com/users/seanthegeek/gists{/gist_id}","starred_url":"https://api.github.com/users/seanthegeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanthegeek/subscriptions","organizations_url":"https://api.github.com/users/seanthegeek/orgs","repos_url":"https://api.github.com/users/seanthegeek/repos","events_url":"https://api.github.com/users/seanthegeek/events{/privacy}","received_events_url":"https://api.github.com/users/seanthegeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-04-02T17:00:19Z","updated_at":"2019-04-02T17:30:33Z","closed_at":null,"author_association":"NONE","body":"```\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"C:\\Users\\sean.whalen\\GitHub\\checkdmarc\\venv\\lib\\site-packages\\multiprocess\\spawn.py\", line 105, in spawn_main\r\n    exitcode = _main(fd)\r\n  File \"C:\\Users\\sean\\GitHub\\checkdmarc\\venv\\lib\\site-packages\\multiprocess\\spawn.py\", line 115, in _main\r\n    self = reduction.pickle.load(from_parent)\r\n  File \"C:\\Users\\sean\\GitHub\\checkdmarc\\venv\\lib\\site-packages\\dill\\_dill.py\", line 305, in load\r\n    obj = pik.load()\r\nTypeError: __init__() missing 2 required positional arguments: 'max_len' and 'max_age_seconds'\r\n```"},"comment":{"url":"https://api.github.com/repos/bitranox/wrapt_timeout_decorator/issues/comments/479108726","html_url":"https://github.com/bitranox/wrapt_timeout_decorator/issues/10#issuecomment-479108726","issue_url":"https://api.github.com/repos/bitranox/wrapt_timeout_decorator/issues/10","id":479108726,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3OTEwODcyNg==","user":{"login":"bitranox","id":8355239,"node_id":"MDQ6VXNlcjgzNTUyMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/8355239?v=4","gravatar_id":"","url":"https://api.github.com/users/bitranox","html_url":"https://github.com/bitranox","followers_url":"https://api.github.com/users/bitranox/followers","following_url":"https://api.github.com/users/bitranox/following{/other_user}","gists_url":"https://api.github.com/users/bitranox/gists{/gist_id}","starred_url":"https://api.github.com/users/bitranox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitranox/subscriptions","organizations_url":"https://api.github.com/users/bitranox/orgs","repos_url":"https://api.github.com/users/bitranox/repos","events_url":"https://api.github.com/users/bitranox/events{/privacy}","received_events_url":"https://api.github.com/users/bitranox/received_events","type":"User","site_admin":false},"created_at":"2019-04-02T17:30:33Z","updated_at":"2019-04-02T17:30:33Z","author_association":"OWNER","body":"looks like that can not be pickled : \r\n\r\nDNS_CACHE = ExpiringDict(max_len=200000, max_age_seconds=1800)\r\nTLS_CACHE = ExpiringDict(max_len=200000, max_age_seconds=1800)\r\nSTARTTLS_CACHE = ExpiringDict(max_len=200000, max_age_seconds=1800)\r\n\r\njust put those definitions into an extra Module and refer in the main code to that objects : \r\n\r\n```\r\ncache_objects.py:\r\n\r\nfrom expiringdict import ExpiringDict\r\n\r\nDNS_CACHE = ExpiringDict(max_len=200000, max_age_seconds=1800)\r\nTLS_CACHE = ExpiringDict(max_len=200000, max_age_seconds=1800)\r\nSTARTTLS_CACHE = ExpiringDict(max_len=200000, max_age_seconds=1800)\r\n\r\n```\r\n\r\n```\r\ncheckdmarc.py\r\n\r\nfrom cache_objects import * \r\n\r\n...\r\n...\r\n...\r\n\r\n```\r\nthen it can be probably pickled.\r\n\r\nlet me know !\r\n\r\n"}}
other: {"actor":{"display_login":"bitranox"}}