{"action":"created","issue":{"url":"https://api.github.com/repos/tonybaloney/wily/issues/36","repository_url":"https://api.github.com/repos/tonybaloney/wily","labels_url":"https://api.github.com/repos/tonybaloney/wily/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/tonybaloney/wily/issues/36/comments","events_url":"https://api.github.com/repos/tonybaloney/wily/issues/36/events","html_url":"https://github.com/tonybaloney/wily/issues/36","id":392208164,"node_id":"MDU6SXNzdWUzOTIyMDgxNjQ=","number":36,"title":"Wily fails to build cache","user":{"login":"jugmac00","id":9895620,"node_id":"MDQ6VXNlcjk4OTU2MjA=","avatar_url":"https://avatars0.githubusercontent.com/u/9895620?v=4","gravatar_id":"","url":"https://api.github.com/users/jugmac00","html_url":"https://github.com/jugmac00","followers_url":"https://api.github.com/users/jugmac00/followers","following_url":"https://api.github.com/users/jugmac00/following{/other_user}","gists_url":"https://api.github.com/users/jugmac00/gists{/gist_id}","starred_url":"https://api.github.com/users/jugmac00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jugmac00/subscriptions","organizations_url":"https://api.github.com/users/jugmac00/orgs","repos_url":"https://api.github.com/users/jugmac00/repos","events_url":"https://api.github.com/users/jugmac00/events{/privacy}","received_events_url":"https://api.github.com/users/jugmac00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-18T15:29:24Z","updated_at":"2018-12-18T18:47:52Z","closed_at":null,"author_association":"NONE","body":"- Python 3.6.6 on Ubuntu as a WSL on Windows 10\r\n- wily==1.8.0 (btw would be nice to see version number when using \"wily\" or \"wily help\"\r\n- fairly big project\r\n- after like 10-15 minutes I receive the following output\r\n\r\n```(wily) jugmac00@DESKTOP-jugmac00:/mnt/d/Projects/bliss_deployment/work/zope/checkout/bliss.git$ wily build BlissProducts/ GeneralProducts/ Products/\r\nFound 50 revisions from 'git' archiver in '/mnt/d/Projects/bliss_deployment/work/zope/checkout/bliss.git'.\r\nRunning operators - raw,cyclomatic,maintainability\r\n\r\n\r\nFailed to build cache: ''\r\nmultiprocessing.pool.RemoteTraceback:\r\n\"\"\"\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.6/multiprocessing/pool.py\", line 119, in worker\r\n    result = (True, func(*args, **kwds))\r\n  File \"/usr/lib/python3.6/multiprocessing/pool.py\", line 47, in starmapstar\r\n    return list(itertools.starmap(args[0], args[1]))\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/wily/commands/build.py\", line 24, in run_operator\r\n    return operator.name, instance.run(revision, config)\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/wily/operators/cyclomatic.py\", line 81, in run\r\n    raise TypeError\r\nTypeError\r\n\"\"\"\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"/mnt/d/Projects/envs/wily/bin/wily\", line 11, in <module>\r\n    sys.exit(cli())\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/click/core.py\", line 764, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/click/core.py\", line 717, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/click/core.py\", line 1137, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/click/core.py\", line 956, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/click/core.py\", line 555, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/click/decorators.py\", line 17, in new_func\r\n    return f(get_current_context(), *args, **kwargs)\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/wily/__main__.py\", line 123, in build\r\n    operators=resolve_operators(config.operators),\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/wily/commands/build.py\", line 125, in build\r\n    raise e\r\n  File \"/mnt/d/Projects/envs/wily/lib/python3.6/site-packages/wily/commands/build.py\", line 84, in build\r\n    [(operator, revision, config) for operator in operators],\r\n  File \"/usr/lib/python3.6/multiprocessing/pool.py\", line 296, in starmap\r\n    return self._map_async(func, iterable, starmapstar, chunksize).get()\r\n  File \"/usr/lib/python3.6/multiprocessing/pool.py\", line 670, in get\r\n    raise self._value\r\nTypeError```"},"comment":{"url":"https://api.github.com/repos/tonybaloney/wily/issues/comments/448327609","html_url":"https://github.com/tonybaloney/wily/issues/36#issuecomment-448327609","issue_url":"https://api.github.com/repos/tonybaloney/wily/issues/36","id":448327609,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODMyNzYwOQ==","user":{"login":"tonybaloney","id":1532417,"node_id":"MDQ6VXNlcjE1MzI0MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/1532417?v=4","gravatar_id":"","url":"https://api.github.com/users/tonybaloney","html_url":"https://github.com/tonybaloney","followers_url":"https://api.github.com/users/tonybaloney/followers","following_url":"https://api.github.com/users/tonybaloney/following{/other_user}","gists_url":"https://api.github.com/users/tonybaloney/gists{/gist_id}","starred_url":"https://api.github.com/users/tonybaloney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonybaloney/subscriptions","organizations_url":"https://api.github.com/users/tonybaloney/orgs","repos_url":"https://api.github.com/users/tonybaloney/repos","events_url":"https://api.github.com/users/tonybaloney/events{/privacy}","received_events_url":"https://api.github.com/users/tonybaloney/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T18:47:52Z","updated_at":"2018-12-18T18:47:52Z","author_association":"OWNER","body":"Yikes! Never seen that before. I did put a TypeError into an if block for when the radon harvester returned a type that wily isn’t built for. \r\nI’d guess that is what’s happened. \r\nIf you want to debug this, setup your virtual environment and install flit from pip and run “flit install” "}}
{"actor":{"display_login":"tonybaloney"}}