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 Error from opening VSCode #412

Open
Zes-MinKey-Young opened this issue Nov 24, 2024 · 4 comments
Open

Wakatime Error from opening VSCode #412

Zes-MinKey-Young opened this issue Nov 24, 2024 · 4 comments
Labels

Comments

@Zes-MinKey-Young
Copy link

My wakatime hasn't be working for nearly a year. Today I thought it was too old, but nothing changed after updating it. I've switched to debug mode and collected the error message as followed. It's really disturbing that the C:\Users\Administrator\.wakatime\wakatime.log is always blank. File C:\Users\Administrator\.wakatime.log has stopped logging since last year, and after being deleted it never appeared again.

[Extension Host] [WakaTime][ERROR] Error: Command failed: C:\Users\Administrator\.wakatime\wakatime-cli-windows-amd64.exe --entity e:\zes\VSCode\kpa\kpa.code-workspace --plugin "vscode/1.70.2 vscode-wakatime/24.9.1" --lineno 12 --cursorpos 23 --lines-in-file 17 --alternate-project kpa --project-folder e:\zes\VSCode\kpa --config C:\Users\Administrator\.wakatime.cfg --log-file C:\Users\Administrator\.wakatime\wakatime.log
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

runtime.asmstdcall(0x3c0300060009)
	C:/hostedtoolcache/windows/go/1.23.3/x64/src/runtime/sys_windows_amd64.s:76 +0x89 fp=0x26f960 sp=0x26f940 pc=0x120b389
rax     0x0
rbx     0x21287c0
rcx     0x21706a8
rdx     0x20
rdi     0x7fffffdd000
rsi     0x26fb58
rbp     0x26faa0
rsp     0x26f938
r8      0x21284e0
r9      0x21701ca
r10     0x2fa2e8
r11     0xc000004000
r12     0x26fba8
r13     0x0
r14     0x2127080
r15     0x3
rip     0x0
rflags  0x10246
cs      0x33
fs      0x53
gs      0x2b


[WakaTime][ERROR] Unknown Error (2); Check your C:\Users\Administrator\.wakatime\wakatime.log file for more details

Heartbeats API:

{
  "data": [],
  "end": "2024-11-24T15:59:59Z",
  "start": "2024-11-23T16:00:00Z",
  "timezone": "Asia/Shanghai"
}

I'm really a noob in computing so I beg detailed instructions. Thanks.

@alanhamlett
Copy link
Member

Are you using Windows 7? A while back Go dropped support for Win7 and this seems like a related crash.

@alanhamlett
Copy link
Member

Similar to #278, we will need to detect older operating systems and download a past version of wakatime-cli which still supported that os.

@gandarez
Copy link
Member

@Zes-MinKey-Young can you join us on slack to help us testing the binary built for windows 7?

@gandarez
Copy link
Member

gandarez commented Dec 9, 2024

@Zes-MinKey-Young ping

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

No branches or pull requests

3 participants