{"action":"closed","issue":{"url":"https://api.github.com/repos/iocage/libiocage/issues/415","repository_url":"https://api.github.com/repos/iocage/libiocage","labels_url":"https://api.github.com/repos/iocage/libiocage/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/iocage/libiocage/issues/415/comments","events_url":"https://api.github.com/repos/iocage/libiocage/issues/415/events","html_url":"https://github.com/iocage/libiocage/issues/415","id":331791955,"node_id":"MDU6SXNzdWUzMzE3OTE5NTU=","number":415,"title":"ioc create: stack traces on invalid input","user":{"login":"gronke","id":473924,"node_id":"MDQ6VXNlcjQ3MzkyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/473924?v=4","gravatar_id":"","url":"https://api.github.com/users/gronke","html_url":"https://github.com/gronke","followers_url":"https://api.github.com/users/gronke/followers","following_url":"https://api.github.com/users/gronke/following{/other_user}","gists_url":"https://api.github.com/users/gronke/gists{/gist_id}","starred_url":"https://api.github.com/users/gronke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gronke/subscriptions","organizations_url":"https://api.github.com/users/gronke/orgs","repos_url":"https://api.github.com/users/gronke/repos","events_url":"https://api.github.com/users/gronke/events{/privacy}","received_events_url":"https://api.github.com/users/gronke/received_events","type":"User","site_admin":false},"labels":[{"id":666636437,"node_id":"MDU6TGFiZWw2NjY2MzY0Mzc=","url":"https://api.github.com/repos/iocage/libiocage/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-12T23:44:40Z","updated_at":"2018-07-14T11:35:17Z","closed_at":"2018-07-14T11:35:17Z","author_association":"MEMBER","body":"```python-traceback\r\n# ioc create test\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/ioc\", line 10, in <module>\r\n    sys.dd:exit(cli())\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 722, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 697, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 1066, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 895, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 535, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/local/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 \"/usr/local/lib/python3.6/site-packages/iocage/cli/create.py\", line 114, in cli\r\n    resource_selector = iocage.lib.ResourceSelector.ResourceSelector(name)\r\n  File \"/usr/local/lib/python3.6/site-packages/iocage/lib/ResourceSelector.py\", line 40, in __init__\r\n    self.name = name\r\n  File \"/usr/local/lib/python3.6/site-packages/iocage/lib/ResourceSelector.py\", line 49, in name\r\n    name_components = value.split(\"/\", maxsplit=1)\r\nAttributeError: 'NoneType' object has no attribute 'split'\r\n```\r\n\r\nProper warnings/errors should be printed instead."}}
{"actor":{"display_login":"gronke"}}