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-mode causes errors on tramp remote files #81

Open
LemonBreezes opened this issue Oct 24, 2024 · 0 comments
Open

wakatime-mode causes errors on tramp remote files #81

LemonBreezes opened this issue Oct 24, 2024 · 0 comments

Comments

@LemonBreezes
Copy link
Contributor

LemonBreezes commented Oct 24, 2024

Currently wakatime does not support Tramp filenames:

error: "WakaTime Error (1) Make sure this command runs in a Terminal: wakatime-cli --entity /sudo\\:root\\@localhost\\:/etc/portage/package.env --plugin \"emacs-wakatime/1.0.2\" --time 1729604382.96 --key waka_70065547-956a-4695-aa04-54ccef6bb206"
error in process sentinel: cond: WakaTime Error (1) Make sure this command runs in a Terminal: wakatime-cli --entity /sudo\:root\@localhost\:/etc/portage/package.env --plugin "emacs-wakatime/1.0.2" --time 1729604382.96 --key waka_70065547-956a-4695-aa04-54ccef6bb206
error in process sentinel: WakaTime Error (1) Make sure this command runs in a Terminal: wakatime-cli --entity /sudo\:root\@localhost\:/etc/portage/package.env --plugin "emacs-wakatime/1.0.2" --time 1729604382.96

Ideally wakatime-mode should handle those remote files but for now I have disabled wakatime-mode on remote files (Doom Emacs):

(defadvice! cae-wakatime-handle-remote-files-a (_)
  :before-until #'wakatime-call
  (tramp-tramp-file-p (buffer-file-name (current-buffer))))
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

1 participant