Closed Tarek-Bohdima closed 5 years ago
Also this is the relevant .wakatime.log
{
"now":"2019/09/18 12:54:20 +0200",
"version":"13.0.0",
"plugin":"PyCharmCore/2019.2.2 PyCharmCore-wakatime/9.3.2",
"time":1568804038.769,
"caller":"C:\\Users\\Tarek.Tarek-PC\\AppData\\Roaming\\WakaTime\\wakatime-master\\wakatime\\api.py",
"lineno":53,
"file":"C:\\Users\\Tarek.Tarek-PC\\PycharmProjects\\classes\\airtravel.py",
"level":"DEBUG",
"message":"Sending heartbeats to api at https://api.wakatime.com/api/v1/users/current/heartbeats.bulk"
}{
"now":"2019/09/18 12:54:20 +0200",
"version":"13.0.0",
"plugin":"PyCharmCore/2019.2.2 PyCharmCore-wakatime/9.3.2",
"time":1568804038.769,
"caller":"C:\\Users\\Tarek.Tarek-PC\\AppData\\Roaming\\WakaTime\\wakatime-master\\wakatime\\api.py",
"lineno":59,
"file":"C:\\Users\\Tarek.Tarek-PC\\PycharmProjects\\classes\\airtravel.py",
"level":"DEBUG",
"message":"[{'time': 1568804038.769, 'entity': 'C:/Users/Tarek.Tarek-PC/PycharmProjects/classes/airtravel.py', 'type': 'file', 'category': None, 'is_write': False, 'project': 'classes', 'branch': None, 'language': 'Python', 'dependencies': [], 'lines': 10, 'lineno': None, 'cursorpos': None, 'user_agent': 'wakatime/13.0.0 (Windows-10-10.0.18362-SP0) Python3.7.3.final.0 PyCharmCore/2019.2.2 PyCharmCore-wakatime/9.3.2'}]"
}{
"now":"2019/09/18 12:54:21 +0200",
"version":"13.0.0",
"plugin":"PyCharmCore/2019.2.2 PyCharmCore-wakatime/9.3.2",
"time":1568804038.769,
"caller":"C:\\Users\\Tarek.Tarek-PC\\AppData\\Roaming\\WakaTime\\wakatime-master\\wakatime\\api.py",
"lineno":125,
"file":"C:\\Users\\Tarek.Tarek-PC\\PycharmProjects\\classes\\airtravel.py",
"level":"WARNING",
"message":"{'SSLError': 'HTTPSConnectionPool(host=\\'api.wakatime.com\\', port=443): Max retries exceeded with url: /api/v1/users/current/heartbeats.bulk (Caused by SSLError(\"Can\\'t connect to HTTPS URL because the SSL module is not available.\"))', 'traceback': 'Traceback (most recent call last):\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\connectionpool.py\", line 589, in urlopen\\n conn = self._get_conn(timeout=pool_timeout)\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\connectionpool.py\", line 251, in _get_conn\\n return conn or self._new_conn()\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\connectionpool.py\", line 827, in _new_conn\\n raise SSLError(\"Can\\'t connect to HTTPS URL because the SSL \"\\nurllib3.exceptions.SSLError: Can\\'t connect to HTTPS URL because the SSL module is not available.\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\adapters.py\", line 440, in send\\n timeout=timeout\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\connectionpool.py\", line 639, in urlopen\\n _stacktrace=sys.exc_info()[2])\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\urllib3\\\\util\\\\retry.py\", line 388, in increment\\n raise MaxRetryError(_pool, url, error or ResponseError(cause))\\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=\\'api.wakatime.com\\', port=443): Max retries exceeded with url: /api/v1/users/current/heartbeats.bulk (Caused by SSLError(\"Can\\'t connect to HTTPS URL because the SSL module is not available.\"))\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\api.py\", line 111, in send_heartbeats\\n verify=ssl_verify)\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\sessions.py\", line 555, in post\\n return self.request(\\'POST\\', url, data=data, json=json, **kwargs)\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\sessions.py\", line 508, in request\\n resp = self.send(prep, **send_kwargs)\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\sessions.py\", line 618, in send\\n r = adapter.send(request, **kwargs)\\n File \"C:\\\\Users\\\\Tarek.Tarek-PC\\\\AppData\\\\Roaming\\\\WakaTime\\\\wakatime-master\\\\wakatime\\\\packages\\\\requests\\\\adapters.py\", line 506, in send\\n raise SSLError(e, request=request)\\nwakatime.packages.requests.exceptions.SSLError: HTTPSConnectionPool(host=\\'api.wakatime.com\\', port=443): Max retries exceeded with url: /api/v1/users/current/heartbeats.bulk (Caused by SSLError(\"Can\\'t connect to HTTPS URL because the SSL module is not available.\"))\\n'}"
}
Fixed it by adding:
i am using Pycharm with Anaconda and Edutools plugins on Windows 10 professional 64 bit and here is the last logs from idea.log