{"action":"created","issue":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/6142","labels_url":"https://api.github.com/repos/dmwm/WMCore/issues/6142/labels{/name}","comments_url":"https://api.github.com/repos/dmwm/WMCore/issues/6142/comments","events_url":"https://api.github.com/repos/dmwm/WMCore/issues/6142/events","html_url":"https://github.com/dmwm/WMCore/pull/6142","id":101649025,"number":6142,"title":"Fix POSTFIELDS settings","user":{"login":"vkuznet","id":125138,"avatar_url":"https://avatars.githubusercontent.com/u/125138?v=3","gravatar_id":"","url":"https://api.github.com/users/vkuznet","html_url":"https://github.com/vkuznet","followers_url":"https://api.github.com/users/vkuznet/followers","following_url":"https://api.github.com/users/vkuznet/following{/other_user}","gists_url":"https://api.github.com/users/vkuznet/gists{/gist_id}","starred_url":"https://api.github.com/users/vkuznet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkuznet/subscriptions","organizations_url":"https://api.github.com/users/vkuznet/orgs","repos_url":"https://api.github.com/users/vkuznet/repos","events_url":"https://api.github.com/users/vkuznet/events{/privacy}","received_events_url":"https://api.github.com/users/vkuznet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dmwm/WMCore/labels/Bug","name":"Bug","color":"0b02e1"}],"state":"closed","locked":false,"assignee":{"login":"vkuznet","id":125138,"avatar_url":"https://avatars.githubusercontent.com/u/125138?v=3","gravatar_id":"","url":"https://api.github.com/users/vkuznet","html_url":"https://github.com/vkuznet","followers_url":"https://api.github.com/users/vkuznet/followers","following_url":"https://api.github.com/users/vkuznet/following{/other_user}","gists_url":"https://api.github.com/users/vkuznet/gists{/gist_id}","starred_url":"https://api.github.com/users/vkuznet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkuznet/subscriptions","organizations_url":"https://api.github.com/users/vkuznet/orgs","repos_url":"https://api.github.com/users/vkuznet/repos","events_url":"https://api.github.com/users/vkuznet/events{/privacy}","received_events_url":"https://api.github.com/users/vkuznet/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dmwm/WMCore/milestones/115","html_url":"https://github.com/dmwm/WMCore/milestones/WMAgent1508","labels_url":"https://api.github.com/repos/dmwm/WMCore/milestones/115/labels","id":1081605,"number":115,"title":"WMAgent1508","description":"","creator":{"login":"ticoann","id":1247993,"avatar_url":"https://avatars.githubusercontent.com/u/1247993?v=3","gravatar_id":"","url":"https://api.github.com/users/ticoann","html_url":"https://github.com/ticoann","followers_url":"https://api.github.com/users/ticoann/followers","following_url":"https://api.github.com/users/ticoann/following{/other_user}","gists_url":"https://api.github.com/users/ticoann/gists{/gist_id}","starred_url":"https://api.github.com/users/ticoann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticoann/subscriptions","organizations_url":"https://api.github.com/users/ticoann/orgs","repos_url":"https://api.github.com/users/ticoann/repos","events_url":"https://api.github.com/users/ticoann/events{/privacy}","received_events_url":"https://api.github.com/users/ticoann/received_events","type":"User","site_admin":false},"open_issues":123,"closed_issues":37,"state":"open","created_at":"2015-04-24T02:44:22Z","updated_at":"2015-08-27T18:16:59Z","due_on":"2015-08-31T05:00:00Z","closed_at":null},"comments":11,"created_at":"2015-08-18T12:54:18Z","updated_at":"2015-08-28T14:41:49Z","closed_at":"2015-08-18T14:16:00Z","pull_request":{"url":"https://api.github.com/repos/dmwm/WMCore/pulls/6142","html_url":"https://github.com/dmwm/WMCore/pull/6142","diff_url":"https://github.com/dmwm/WMCore/pull/6142.diff","patch_url":"https://github.com/dmwm/WMCore/pull/6142.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/comments/135792964","html_url":"https://github.com/dmwm/WMCore/pull/6142#issuecomment-135792964","issue_url":"https://api.github.com/repos/dmwm/WMCore/issues/6142","id":135792964,"user":{"login":"vkuznet","id":125138,"avatar_url":"https://avatars.githubusercontent.com/u/125138?v=3","gravatar_id":"","url":"https://api.github.com/users/vkuznet","html_url":"https://github.com/vkuznet","followers_url":"https://api.github.com/users/vkuznet/followers","following_url":"https://api.github.com/users/vkuznet/following{/other_user}","gists_url":"https://api.github.com/users/vkuznet/gists{/gist_id}","starred_url":"https://api.github.com/users/vkuznet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkuznet/subscriptions","organizations_url":"https://api.github.com/users/vkuznet/orgs","repos_url":"https://api.github.com/users/vkuznet/repos","events_url":"https://api.github.com/users/vkuznet/events{/privacy}","received_events_url":"https://api.github.com/users/vkuznet/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T14:41:49Z","updated_at":"2015-08-28T14:41:49Z","body":"Marco,\nthe reason I changed httplib.HTTPException to urllib2.HTTPError since later\nprovides concise error where I can initialize it with code,url,params,headers,etc.\nfields. The former only allow to create a message for the exception.\nBut I understand the legacy issue and will revert changes to use\nHTTPException instead.\nBest,\nValentin.\n\nOn  0, Marco Mascheroni <notifications@github.com> wrote:\n> Thanks Valentin, I will test this, but it should work.\n> \n> Another comment, any good reason to change the type of the exception that\n> is raised in case of errors from httplib.HTTPException to\n> urllib2.HTTPError[1]?\n> \n> This is a bit painful for CRAB3: apart from all the places where we are\n> catching HTTPException that would have to be changed (requires some time\n> but not a big deal actually), but we are advertizing it in a twiki [2] for\n> users who want to use the crab client as a library that we can raise\n> HTTPException in case of issues, and this is something I would like to stay.\n> \n> We could always catch urllib2.HTTPError and re-raise httplib.HTTPException\n> , or use a crab3 version of the pycurlmanager, but that would be ugly in my\n> opinion.\n> \n> [1]\n> https://github.com/vkuznet/WMCore/commit/a6002ffa91124fa5da813a0b9c35aa5d0f6a456d#diff-1120a2d619920d0b79a217f9ee2b164eL163\n> [2]\n> https://twiki.cern.ch/twiki/bin/view/CMSPublic/CRABClientLibraryAPI#Debugging_errors_with_crabComman\n> \n> \n> On Fri, Aug 28, 2015 at 4:00 PM, Valentin Kuznetsov <\n> notifications@github.com> wrote:\n> \n> > I fixed issue with pycurl for PUT/POST/DELETE request in this PR: #6176\n> > <https://github.com/dmwm/WMCore/pull/6176>\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <https://github.com/dmwm/WMCore/pull/6142#issuecomment-135781871>.\n> >\n> \n> \n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/dmwm/WMCore/pull/6142#issuecomment-135790003\n"}}