wakatime / wakatime-cli

Command line interface used by all WakaTime text editor plugins
https://wakatime.com/plugins
BSD 3-Clause "New" or "Revised" License
274 stars 41 forks source link

Can not get wakatime-cli --today #947

Closed holiq closed 11 months ago

holiq commented 11 months ago

Expected behavior (what should have happened): show the time today

Actual behavior (what went wrong): get an error SIGSYS: bad system call PC=0x16030 m=8 sigcode=1

Environment:

Logs: {"caller":"cmd/run.go:98","func":"cmd.Run","level":"debug","message":"command: today","now":"2023-10-07T14:12:34Z","os/arch":"linux/arm64","version":"v1.85.1"}

I install wakatime with neovim on termux(android) and if i run wakatime-cli --today i got an error like this So how to fix it?

Screenshot_20231007_211516_Termux

gandarez commented 11 months ago

@holiq the wakatime-cli was built excluding Android and the vim plugin needs to correctly download the new Android Build added in this PR. @alanhamlett will take care of the vim part and let you know.

holiq commented 11 months ago

I don't know what's wrong, but it still not work on me (Android 13, Termux 0.118.0) Screenshot_20231009_105635_Termux

alanhamlett commented 11 months ago

Your screenshot shows you're using the Linux version. You need to download the wakatime-cli-android.

holiq commented 11 months ago

Oh yeah, now that work on me, thank you