Open PureSci opened 10 months ago
It's not logging time against the file because it thinks the file doesn't exist:
skipping because of non-existing file "C:/Users/Pure/AppData/Local/Programs/Microsoft VS Code/wsl+ubuntu-22.04/home/pure/nori-pv/rust/sofi/src/gen.rs"
If wakatime-cli
is executing in WSL, maybe the path should be /home/pure/nori-pv/rust/sofi/src/gen.rs
?
Otherwise, the C:/Users/Pure/AppData/Local/Programs/Microsoft VS Code/wsl+ubuntu-22.04/home/pure/nori-pv/rust/sofi/src/gen.rs
path should be used if wakatime-cli
is executed without WSL.
and how to change the path?
Let's first check if that path works via Terminal, which tells us if it will work for wakatime-cli. Try running this command in cmd.exe:
IF EXIST "C:/Users/Pure/AppData/Local/Programs/Microsoft VS Code/wsl+ubuntu-22.04/home/pure/nori-pv/rust/sofi/src/gen.rs" ECHO exists
Extensions like Github Copilot and WakaTime that constantly make web requests stopped working in my WSL. I found out that it was being caused by WSL itself, so I set WakaTime to run locally on windows, just like on SSH configuration If you're connected to a remote host using the ssh extension you might want to force WakaTime to run locally instead on the server. This configuration is needed when the server you connect is shared among other people. Please follow this guide. (from README.md)
But my coding time shows 0 sec all the time and it doesn't increase. Here is my log file: