{"action":"opened","issue":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/116","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/116/comments","events_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/116/events","html_url":"https://github.com/ahelsing/tickettest2/issues/116","id":76721411,"number":116,"title":"If users attribute is empty in omni_config, omni exits without a useful error","user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/13","html_url":"https://github.com/ahelsing/tickettest2/milestones/1.6","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/13/labels","id":1110928,"number":13,"title":"1.6","description":null,"creator":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":13,"state":"open","created_at":"2015-05-14T20:57:05Z","updated_at":"2015-05-15T13:05:55Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-05-15T13:05:55Z","updated_at":"2015-05-15T13:05:55Z","closed_at":null,"body":"If the users attribute in the [omni] section is left empty, omni exits with not a very useful error :\r\n```\r\nINFO:omni:Loading config file /home/nriga/.gcf/omni_config\r\nTraceback (most recent call last):\r\n  File \"/home/nriga/gcf/src/omni.py\", line 2531, in <module>\r\n    sys.exit(main())\r\n  File \"/home/nriga/gcf/src/omni.py\", line 2524, in main\r\n    framework, config, args, opts = initialize(argv)\r\n  File \"/home/nriga/gcf/src/omni.py\", line 2135, in initialize\r\n    config = load_config(opts, logger)\r\n  File \"/home/nriga/gcf/src/omni.py\", line 2065, in load_config\r\n    for (key,val) in confparser.items(user.strip()):\r\n  File \"/usr/lib/python2.6/ConfigParser.py\", line 328, in items\r\n    raise NoSectionError(section)\r\nConfigParser.NoSectionError: No section: ''\r\n```\r\n\r\nTry and catch this case and print something useful to the user. \n\n _Imported from trac ticket [#116](http://trac.gpolab.bbn.com/gcf/ticket/116),  created by nriga on 02-07-2012 at 14:10, last modified: 02-09-2012 at 16:27_\n"}}