{"action":"created","issue":{"url":"https://api.github.com/repos/maxtepkeev/python-redmine/issues/109","labels_url":"https://api.github.com/repos/maxtepkeev/python-redmine/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/maxtepkeev/python-redmine/issues/109/comments","events_url":"https://api.github.com/repos/maxtepkeev/python-redmine/issues/109/events","html_url":"https://github.com/maxtepkeev/python-redmine/issues/109","id":112170239,"number":109,"title":"cacert.pem is missing ","user":{"login":"dkliban","id":294339,"avatar_url":"https://avatars.githubusercontent.com/u/294339?v=3","gravatar_id":"","url":"https://api.github.com/users/dkliban","html_url":"https://github.com/dkliban","followers_url":"https://api.github.com/users/dkliban/followers","following_url":"https://api.github.com/users/dkliban/following{/other_user}","gists_url":"https://api.github.com/users/dkliban/gists{/gist_id}","starred_url":"https://api.github.com/users/dkliban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkliban/subscriptions","organizations_url":"https://api.github.com/users/dkliban/orgs","repos_url":"https://api.github.com/users/dkliban/repos","events_url":"https://api.github.com/users/dkliban/events{/privacy}","received_events_url":"https://api.github.com/users/dkliban/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/maxtepkeev/python-redmine/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"maxtepkeev","id":3032449,"avatar_url":"https://avatars.githubusercontent.com/u/3032449?v=3","gravatar_id":"","url":"https://api.github.com/users/maxtepkeev","html_url":"https://github.com/maxtepkeev","followers_url":"https://api.github.com/users/maxtepkeev/followers","following_url":"https://api.github.com/users/maxtepkeev/following{/other_user}","gists_url":"https://api.github.com/users/maxtepkeev/gists{/gist_id}","starred_url":"https://api.github.com/users/maxtepkeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxtepkeev/subscriptions","organizations_url":"https://api.github.com/users/maxtepkeev/orgs","repos_url":"https://api.github.com/users/maxtepkeev/repos","events_url":"https://api.github.com/users/maxtepkeev/events{/privacy}","received_events_url":"https://api.github.com/users/maxtepkeev/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-19T15:32:26Z","updated_at":"2015-10-20T03:51:08Z","closed_at":null,"body":"After upgrading to 1.4.0 the following snippet \r\n```\r\nfrom redmine import Redmine\r\nredmine = Redmine(REDMINE_URL, key=key)\r\nredmine.issue.filter(query_id=24)\r\n```\r\nis producing this traceback:\r\n```\r\nTraceback (most recent call last):\r\n  File \"pulp_packaging/ci/redmine_bugzilla.py\", line 198, in <module>\r\n    main()\r\n  File \"pulp_packaging/ci/redmine_bugzilla.py\", line 102, in main\r\n    redmine_issues = [issue for issue in redmine.issue.filter(query_id=24)]\r\n  File \"/usr/lib/python2.7/site-packages/redmine/resultsets.py\", line 102, in __iter__\r\n    self._evaluate()\r\n  File \"/usr/lib/python2.7/site-packages/redmine/resultsets.py\", line 81, in _evaluate\r\n    offset=self.manager.params.get('offset', self.offset)\r\n  File \"/usr/lib/python2.7/site-packages/redmine/managers.py\", line 62, in retrieve\r\n    response = self.redmine.request('get', self.url, params=dict(self.params, limit=limit, offset=offset))\r\n  File \"/usr/lib/python2.7/site-packages/redmine/__init__.py\", line 119, in request\r\n    response = getattr(requests, method)(url, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/redmine/packages/requests/api.py\", line 69, in get\r\n    return request('get', url, params=params, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/redmine/packages/requests/api.py\", line 50, in request\r\n    response = session.request(method=method, url=url, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/redmine/packages/requests/sessions.py\", line 468, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/redmine/packages/requests/sessions.py\", line 576, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/redmine/packages/requests/adapters.py\", line 433, in send\r\n    raise SSLError(e, request=request)\r\nredmine.packages.requests.exceptions.SSLError: [Errno bad ca_certs: '/usr/lib/python2.7/site-packages/redmine/packages/requests/cacert.pem'] [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/maxtepkeev/python-redmine/issues/comments/149424347","html_url":"https://github.com/maxtepkeev/python-redmine/issues/109#issuecomment-149424347","issue_url":"https://api.github.com/repos/maxtepkeev/python-redmine/issues/109","id":149424347,"user":{"login":"dkliban","id":294339,"avatar_url":"https://avatars.githubusercontent.com/u/294339?v=3","gravatar_id":"","url":"https://api.github.com/users/dkliban","html_url":"https://github.com/dkliban","followers_url":"https://api.github.com/users/dkliban/followers","following_url":"https://api.github.com/users/dkliban/following{/other_user}","gists_url":"https://api.github.com/users/dkliban/gists{/gist_id}","starred_url":"https://api.github.com/users/dkliban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkliban/subscriptions","organizations_url":"https://api.github.com/users/dkliban/orgs","repos_url":"https://api.github.com/users/dkliban/repos","events_url":"https://api.github.com/users/dkliban/events{/privacy}","received_events_url":"https://api.github.com/users/dkliban/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T03:51:08Z","updated_at":"2015-10-20T03:51:08Z","body":"Pip installing certifi fixed the problem. Perhaps you can add certifi as dependency for python-redmine to make installing simpler?"}}