{"action":"created","issue":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/5845","labels_url":"https://api.github.com/repos/dmwm/WMCore/issues/5845/labels{/name}","comments_url":"https://api.github.com/repos/dmwm/WMCore/issues/5845/comments","events_url":"https://api.github.com/repos/dmwm/WMCore/issues/5845/events","html_url":"https://github.com/dmwm/WMCore/pull/5845","id":72056374,"number":5845,"title":"use pycurl as default","user":{"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},"labels":[{"url":"https://api.github.com/repos/dmwm/WMCore/labels/Medium%20Priority","name":"Medium Priority","color":"d7e102"},{"url":"https://api.github.com/repos/dmwm/WMCore/labels/ToDo","name":"ToDo","color":"e102d8"}],"state":"open","locked":false,"assignee":{"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},"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":98,"closed_issues":64,"state":"open","created_at":"2015-04-24T02:44:22Z","updated_at":"2015-10-21T02:38:40Z","due_on":"2015-08-31T05:00:00Z","closed_at":null},"comments":81,"created_at":"2015-04-30T04:10:05Z","updated_at":"2015-10-22T15:50:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dmwm/WMCore/pulls/5845","html_url":"https://github.com/dmwm/WMCore/pull/5845","diff_url":"https://github.com/dmwm/WMCore/pull/5845.diff","patch_url":"https://github.com/dmwm/WMCore/pull/5845.patch"},"body":"It seem WMAgent is not using pycurl as default (httplib2 is used). Change to pycurl call.\r\nHowever, pycurl doesn't seems to be working smothly all the call fails.\r\n\r\nPlease don't merge yet\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/sryu/WorkArea2/WMCore/test/python/WMCore_t/Services_t/ReqMgr_t/ReqMgr_t.py\", line 62, in setUp\r\n    RESTBaseUnitTestWithDBBackend.setUp(self)\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMQuality/REST/RESTBaseUnitTestWithDBBackend.py\", line 53, in setUp\r\n    self.testInit.setupCouch(dbName, couchApp)\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMQuality/TestInitCouchApp.py\", line 98, in setupCouch\r\n    self.couch.create(dropExistingDb=self.dropExistingDb)\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMQuality/TestInitCouchApp.py\", line 49, in create\r\n    self.couchServer.createDatabase(self.dbName)\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMCore/Database/CMSCouch.py\", line 876, in createDatabase\r\n    self.put(\"/%s\" % urllib.quote_plus(dbname))\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMCore/Services/Requests.py\", line 130, in put\r\n    encode, decode, contentType)\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMCore/Database/CMSCouch.py\", line 113, in makeRequest\r\n    encode, decode,contentType)\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMCore/Services/Requests.py\", line 147, in makeRequest\r\n    encoder, decoder, contentType)\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMCore/Services/Requests.py\", line 172, in makeRequest_pycurl\r\n    verb=verb, ckey=ckey, cert=cert, capath=capath, decode=decoder)\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMCore/Services/pycurl_manager.py\", line 149, in request\r\n    ckey, cert, capath, verbose, verb, doseq, cainfo)\r\n  File \"/Users/sryu/WorkArea2/WMCore/src/python/WMCore/Services/pycurl_manager.py\", line 91, in set_opts\r\n    curl.setopt(pycurl.POSTFIELDS, params)\r\nTypeError: invalid arguments to setopt"},"comment":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/comments/150268569","html_url":"https://github.com/dmwm/WMCore/pull/5845#issuecomment-150268569","issue_url":"https://api.github.com/repos/dmwm/WMCore/issues/5845","id":150268569,"user":{"login":"cmsdmwmbot","id":15169205,"avatar_url":"https://avatars.githubusercontent.com/u/15169205?v=3","gravatar_id":"","url":"https://api.github.com/users/cmsdmwmbot","html_url":"https://github.com/cmsdmwmbot","followers_url":"https://api.github.com/users/cmsdmwmbot/followers","following_url":"https://api.github.com/users/cmsdmwmbot/following{/other_user}","gists_url":"https://api.github.com/users/cmsdmwmbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cmsdmwmbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmsdmwmbot/subscriptions","organizations_url":"https://api.github.com/users/cmsdmwmbot/orgs","repos_url":"https://api.github.com/users/cmsdmwmbot/repos","events_url":"https://api.github.com/users/cmsdmwmbot/events{/privacy}","received_events_url":"https://api.github.com/users/cmsdmwmbot/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T15:50:11Z","updated_at":"2015-10-22T15:50:11Z","body":"Beginning pylint and unit tests.\nSee https://cmssdt.cern.ch/jenkins/job/DMWM-PR-test/978/ for details"}}