Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wakatime VSC error -4058 #333

Open
mikeyfe6 opened this issue Apr 3, 2023 · 8 comments
Open

Wakatime VSC error -4058 #333

mikeyfe6 opened this issue Apr 3, 2023 · 8 comments

Comments

@mikeyfe6
Copy link

mikeyfe6 commented Apr 3, 2023

Hi!

I have this issue with Wakatime and Visual Studio Code. It used to work perfectly.. But now the Wakatime extension stops after initializing and gives me a wakatime error;

Is it a option to re-install VSC? i've already reinstalled the wakatime extension.. no success...

Screenshot (20)

Thanks in advance!

@mikeyfe6 mikeyfe6 changed the title Wakatime error 4058 Wakatime VSC error -4058 Apr 3, 2023
@GreenJ84
Copy link

GreenJ84 commented Apr 4, 2023

Getting the same thing. It just dropped off two days ago for me. Have tried installing the extension and even refreshed a new api key.

@alanhamlett
Copy link
Member

Maybe this was due to the GitHub outage a while back? We download wakatime-cli directly from GitHub releases. Can you try deleting the folder ~/.wakatime/ and restarting vscode?

@alanhamlett
Copy link
Member

Also, try deleting ~/.wakatime-internal.cfg because that keeps the release version that's downloaded when GitHub says there aren't any new releases.

@mikeyfe6
Copy link
Author

mikeyfe6 commented Apr 5, 2023

@alanhamlett Still the same problem tho.. its gives me a cfg file with cli_version v1.70.1 and the last modified date in it.

Also the wakatime-cli-windows-amd64.exe file in the .wakatime folder doesnt run if i click it. Similar on my mac i can run it tho by clicking on the wakatime-cli-darwin-amd64.exec file and it runs smoothly, so i guess the .exe file has some issues (?)

@alanhamlett
Copy link
Member

What happens if you run it from a terminal with:

wakatime-cli-windows-amd64.exe --version

@mikeyfe6
Copy link
Author

mikeyfe6 commented Apr 5, 2023

@alanhamlett this is the output; 'wakatime-cli-windows-amd64.exe' is not recognized as an internal or external command, operable program or batch file.

@alanhamlett
Copy link
Member

Looks like it's not in your CWD path. You might need to add .\ before the program or might need to cd into ~/.wakatime/ before running the command.

@mikeyfe6
Copy link
Author

mikeyfe6 commented Apr 14, 2023

This is the response i get from my terminal;

PS: with the latest update (v24.0.9) i hoped it would be solved, but now the issue is that its keeps asking me for my API key, even if i filled it in correctly. The popup keeps showing up very 5 min appr..

I went over the steps again with deleting the ~/.wakatime-internal.cfg file and the ~/.wakatime/ folder. One thing changed is that the config file is now generated in the folder instead of the root of C:\Users\mfransman..

Screenshot (56)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants