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 (1) #70

Open
iamkarlson opened this issue Jun 6, 2023 · 2 comments
Open

WakaTime Error (1) #70

iamkarlson opened this issue Jun 6, 2023 · 2 comments

Comments

@iamkarlson
Copy link

Installing wakatime-mode in emacs prompts with numerous errors in the log, constantly stealing focus.

error in process sentinel: cond: WakaTime Error (1) Make sure this command runs in a Terminal: /usr/bin/wakatime-cli --entity /home/iamkarlson/braindb/20230531204421-emacs.org --plugin "emacs-wakatime/1.0.2" --time 1686075729.47
error in process sentinel: WakaTime Error (1) Make sure this command runs in a Terminal: /usr/bin/wakatime-cli --entity /home/iamkarlson/braindb/20230531204421-emacs.org --plugin "emacs-wakatime/1.0.2" --time 1686075729.47
Auto-saving...
error in process sentinel: cond: WakaTime Error (1) Make sure this command runs in a Terminal: /usr/bin/wakatime-cli --entity /home/iamkarlson/braindb/20230531204421-emacs.org --plugin "emacs-wakatime/1.0.2" --time 1686075763.86
error in process sentinel: WakaTime Error (1) Make sure this command runs in a Terminal: /usr/bin/wakatime-cli --entity /home/iamkarlson/braindb/20230531204421-emacs.org --plugin "emacs-wakatime/1.0.2" --time 1686075763.86
Quit
error in process sentinel: cond: WakaTime Error (1) Make sure this command runs in a Terminal: /usr/bin/wakatime-cli --entity /home/iamkarlson/braindb/20230531204421-emacs.org --plugin "emacs-wakatime/1.0.2" --time 1686075977.22
error in process sentinel: WakaTime Error (1) Make sure this command runs in a Terminal: /usr/bin/wakatime-cli --entity /home/iamkarlson/braindb/20230531204421-emacs.org --plugin "emacs-wakatime/1.0.2" --time 1686075977.22
Quit

Running from the shell gives return code 1. Neither one from emacs or from shell gives any indication on what's an actual problem. It would be great to have some error handling message like if it's an API error, or configuration error, or something else.

Similarly to #41, however my error is quite legitimate, and I believe it's due to lacking an API key. If the package could tell me so I would spent less time debugging it all.

@BWbwchen
Copy link

I got same error.
Have you found the solution yet?
Thx.

@BWbwchen
Copy link

Hi,

I solve it by write my own .wakatime.cfg file

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

2 participants