Closed alanhamlett closed 4 years ago
@gandarez would you be able to help debug this one?
Sure @alanhamlett. I'll take care of it.
Having the same problem. Using latest 32 bits NPP, installing plugin manually or via the plugin admin gets the same result. I'm not behing any kind of proxy
All I get is
[Wakatime Info 12:23:10 ] Initializing WakaTime v4.1.0
[Wakatime Debug 12:23:10 ] Downloading python...
[Wakatime Debug 12:23:10 ] No proxy will be used. It's either not set or badly formatted.
[Wakatime HandledException 12:23:10 ] Are you behind a proxy? Try setting a proxy in WakaTime Settings with format https://user:pass@host:port. Exception Traceback:: System.Net.WebException: La demande a été abandonnée : Impossible de créer un canal sécurisé SSL/TLS.
à System.Net.WebClient.DownloadFile(Uri address, String fileName)
à System.Net.WebClient.DownloadFile(String address, String fileName)
à WakaTime.Dependencies.DownloadAndInstallPython()
à WakaTime.WakaTimePackage.InitializeAsync()
[Wakatime Info 12:23:10 ] Finished initializing WakaTime v4.1.0
[Wakatime HandledException 12:23:18 ] Could not send heartbeat because python is not installed:
[Wakatime HandledException 12:23:26 ] Could not send heartbeat because python is not installed:
[Wakatime HandledException 12:23:34 ] Could not send heartbeat because python is not installed:
[Wakatime HandledException 12:23:42 ] Could not send heartbeat because python is not installed:
[Wakatime HandledException 12:23:50 ] Could not send heartbeat because python is not installed:
and so on
What is needed exactly and where do I put it?
You can try installing Python from https://www.python.org/downloads/
Python WAS installed. The issue was that the Notepad++ installer does not install all folders/files needed. After installing the Visual Studio plugin Notepad++ started working.
From: Alan Hamlett notifications@github.com Sent: Saturday, June 13, 2020 10:24:10 PM To: wakatime/notepadpp-wakatime notepadpp-wakatime@noreply.github.com Cc: JaredDRobbins jared.robbins@hotmail.com; Comment comment@noreply.github.com Subject: Re: [wakatime/notepadpp-wakatime] Not detecting installed Python, and SSL error when downloading embedded Python (#35)
You can try installing Python from https://www.python.org/downloads/
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/wakatime/notepadpp-wakatime/issues/35#issuecomment-643712286, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK2VAYIGCSVMBLQBJ4J7PLTRWQ7FVANCNFSM4IJ4CM7A.
Was installing the Visual Studio plugin the only way to solve it? I don't use Visual Studio. I also already have Python installed, have attempted to install the Notepad++ plugin via "Plugins Admin", as well as manually creating the "allowAppDataPlugins.xml" file, ensuring that the dll is within the Notepad++/plugins folder (as well as Notepad++/plugins/WakaTime), ensuring that I've downloaded the latest x64 copy from GitHub, and confirming that my API key is correct, but I continue to receive the same errors as @ozh
Was installing the Visual Studio plugin the only way to solve it?
For me, installing the Visual Studio plugin is the only thing that has worked. I use it only occasionally as Notepad++ is my preferred editor but after installing the Visual Studio plugin for WakaTime and watching it add the missing folders/files the Notepad++ plugin has been working.
I got it working by installing the wakatime cli and embedded python manually by copying what the program would normally do in Dependencies.cs. ie; Downloading x64 embeddable python 3.5.2 and extracting to AppData/Roaming/Wakatime/python and Downloading wakatime cli source code zip and extracting to AppData/Roaming/Wakatime/wakatime-master
Thanks, Simon! It took me forever to work out which repo was the "wakatime cli source code" so I'm including it here for future users. But I got it all working thanks to your information.
Per instructions from @TorrentofShame:
Cheers. :-)
Closing without updating docs at https://wakatime.com/notepad++ seems a bit off
Error from
WakaTime.log
file:The exception error message is:
System.Net.WebException: Request aborted: Unable to create secure SSL / TLS channel
I installed Python in default location (local) then again in "C:\Python" and still not working.