{"action":"created","issue":{"url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/111","labels_url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/111/comments","events_url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/111/events","html_url":"https://github.com/splunk/splunk-sdk-python/pull/111","id":94408919,"number":111,"title":"fix for Splunk Support Case: 204977","user":{"login":"whisperstream","id":3216061,"avatar_url":"https://avatars.githubusercontent.com/u/3216061?v=3","gravatar_id":"","url":"https://api.github.com/users/whisperstream","html_url":"https://github.com/whisperstream","followers_url":"https://api.github.com/users/whisperstream/followers","following_url":"https://api.github.com/users/whisperstream/following{/other_user}","gists_url":"https://api.github.com/users/whisperstream/gists{/gist_id}","starred_url":"https://api.github.com/users/whisperstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whisperstream/subscriptions","organizations_url":"https://api.github.com/users/whisperstream/orgs","repos_url":"https://api.github.com/users/whisperstream/repos","events_url":"https://api.github.com/users/whisperstream/events{/privacy}","received_events_url":"https://api.github.com/users/whisperstream/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T22:54:41Z","updated_at":"2015-07-10T22:57:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls/111","html_url":"https://github.com/splunk/splunk-sdk-python/pull/111","diff_url":"https://github.com/splunk/splunk-sdk-python/pull/111.diff","patch_url":"https://github.com/splunk/splunk-sdk-python/pull/111.patch"},"body":"This is a fix for the support Case 204977 which I opened a while back:  Without this fix, whenever I tried to execute a oneshot query, I would get back the following exception (this pull request fixes this issue):\r\n\r\n  File \"/usr/local/lib/python2.7/dist-packages/splunklib/client.py\", line 305, in connect\r\n    return Service(**kwargs).login()\r\n  File \"/usr/local/lib/python2.7/dist-packages/splunklib/binding.py\", line 764, in login\r\n    session = XML(body).findtext(\"./sessionKey\")\r\n  File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1301, in XML\r\n    return parser.close()\r\n  File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1654, in close\r\n    self._raiseerror(v)\r\n  File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1506, in _raiseerror\r\n    raise err\r\n"},"comment":{"url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/comments/120546901","html_url":"https://github.com/splunk/splunk-sdk-python/pull/111#issuecomment-120546901","issue_url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/111","id":120546901,"user":{"login":"itay","id":3266,"avatar_url":"https://avatars.githubusercontent.com/u/3266?v=3","gravatar_id":"","url":"https://api.github.com/users/itay","html_url":"https://github.com/itay","followers_url":"https://api.github.com/users/itay/followers","following_url":"https://api.github.com/users/itay/following{/other_user}","gists_url":"https://api.github.com/users/itay/gists{/gist_id}","starred_url":"https://api.github.com/users/itay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itay/subscriptions","organizations_url":"https://api.github.com/users/itay/orgs","repos_url":"https://api.github.com/users/itay/repos","events_url":"https://api.github.com/users/itay/events{/privacy}","received_events_url":"https://api.github.com/users/itay/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T22:57:11Z","updated_at":"2015-07-10T22:57:11Z","body":"@whisperstream can you post a small script that shows your problem without your fix?"}}