{"action":"opened","issue":{"url":"https://api.github.com/repos/nmstate/nmstate/issues/161","repository_url":"https://api.github.com/repos/nmstate/nmstate","labels_url":"https://api.github.com/repos/nmstate/nmstate/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/nmstate/nmstate/issues/161/comments","events_url":"https://api.github.com/repos/nmstate/nmstate/issues/161/events","html_url":"https://github.com/nmstate/nmstate/issues/161","id":382203478,"node_id":"MDU6SXNzdWUzODIyMDM0Nzg=","number":161,"title":"Got failure when run `nmstate edit` in Fedora 29","user":{"login":"cathay4t","id":934948,"node_id":"MDQ6VXNlcjkzNDk0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/934948?v=4","gravatar_id":"","url":"https://api.github.com/users/cathay4t","html_url":"https://github.com/cathay4t","followers_url":"https://api.github.com/users/cathay4t/followers","following_url":"https://api.github.com/users/cathay4t/following{/other_user}","gists_url":"https://api.github.com/users/cathay4t/gists{/gist_id}","starred_url":"https://api.github.com/users/cathay4t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cathay4t/subscriptions","organizations_url":"https://api.github.com/users/cathay4t/orgs","repos_url":"https://api.github.com/users/cathay4t/repos","events_url":"https://api.github.com/users/cathay4t/events{/privacy}","received_events_url":"https://api.github.com/users/cathay4t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-19T12:58:52Z","updated_at":"2018-11-19T12:58:52Z","closed_at":null,"author_association":"MEMBER","body":"\r\n```\r\n[root@f29 SPECS]# nmstatectl edit\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/nmstatectl\", line 10, in <module>\r\n    sys.exit(main())\r\n  File \"/usr/lib/python3.7/site-packages/nmstatectl/nmstatectl.py\", line 50, in main\r\n    return args.func(args)\r\n  File \"/usr/lib/python3.7/site-packages/nmstatectl/nmstatectl.py\", line 110, in edit\r\n    new_state = _get_edited_state(txtstate, suffix, args.yaml)\r\n  File \"/usr/lib/python3.7/site-packages/nmstatectl/nmstatectl.py\", line 172, in _get_edited_state\r\n    txtstate = _run_editor(txtstate, suffix)\r\n  File \"/usr/lib/python3.7/site-packages/nmstatectl/nmstatectl.py\", line 190, in _run_editor\r\n    statefile.write(txtstate)\r\n  File \"/usr/lib64/python3.7/tempfile.py\", line 481, in func_wrapper\r\n    return func(*args, **kwargs)\r\nTypeError: a bytes-like object is required, not 'str'\r\n```"}}
{"actor":{"display_login":"cathay4t"}}