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

Recover files over tramp throws an error. #75

Open
markgdawson opened this issue Feb 14, 2024 · 1 comment
Open

Recover files over tramp throws an error. #75

markgdawson opened this issue Feb 14, 2024 · 1 comment

Comments

@markgdawson
Copy link

When I try to run recover-this-file on a file open over tramp I get an error. The file recovery mechanism becomes unusable over TRAMP.

**Debugger entered--Lisp error: (coding-system-error auto-save-coding)
  #<subr make-process>(:name "Shell" :buffer #<buffer  *WakaTime messages*-80023> :command ("/bin/sh" "-c" "~/.wakatime/wakatime-cli --entity /scp\\:<REDACTED HOST NAME>\\:/<REDACTED REMOTE FILE PATH> --plugin \"emacs-wakatime/1.0.2\" --time 1707913622.48 --key waka_de2ffd06-acf7-4d35-ae95-88d36e93f2c4"))
  apply(#<subr make-process> (:name "Shell" :buffer #<buffer  *WakaTime messages*-80023> :command ("/bin/sh" "-c" "~/.wakatime/wakatime-cli --entity /scp\\:<REDACTED HOST NAME>\\:/<REDACTED REMOTE FILE PATH> --plugin \"emacs-wakatime/1.0.2\" --time 1707913622.48 --key waka_de2ffd06-acf7-4d35-ae95-88d36e93f2c4")))
  make-process--with-editor-process-filter(#<subr make-process> :name "Shell" :buffer #<buffer  *WakaTime messages*-80023> :command ("/bin/sh" "-c" "~/.wakatime/wakatime-cli --entity /scp\\:<REDACTED HOST NAME>\\:/<REDACTED REMOTE FILE PATH> --plugin \"emacs-wakatime/1.0.2\" --time 1707913622.48 --key waka_de2ffd06-acf7-4d35-ae95-88d36e93f2c4"))
  apply(make-process--with-editor-process-filter #<subr make-process> (:name "Shell" :buffer #<buffer  *WakaTime messages*-80023> :command ("/bin/sh" "-c" "~/.wakatime/wakatime-cli --entity /scp\\:<REDACTED HOST NAME>\\:/<REDACTED REMOTE FILE PATH> --plugin \"emacs-wakatime/1.0.2\" --time 1707913622.48 --key waka_de2ffd06-acf7-4d35-ae95-88d36e93f2c4")))
  make-process(:name "Shell" :buffer #<buffer  *WakaTime messages*-80023> :command ("/bin/sh" "-c" "~/.wakatime/wakatime-cli --entity /scp\\:<REDACTED HOST NAME>\\:/<REDACTED REMOTE FILE PATH> --plugin \"emacs-wakatime/1.0.2\" --time 1707913622.48 --key waka_de2ffd06-acf7-4d35-ae95-88d36e93f2c4"))
  apply(make-process (:name "Shell" :buffer #<buffer  *WakaTime messages*-80023> :command ("/bin/sh" "-c" "~/.wakatime/wakatime-cli --entity /scp\\:<REDACTED HOST NAME>\\:/<REDACTED REMOTE FILE PATH> --plugin \"emacs-wakatime/1.0.2\" --time 1707913622.48 --key waka_de2ffd06-acf7-4d35-ae95-88d36e93f2c4")))
  start-process("Shell" #<buffer  *WakaTime messages*-80023> "/bin/sh" "-c" "~/.wakatime/wakatime-cli --entity /scp\\:<REDACTED HOST NAME>\\:/<REDACTED REMOTE FILE PATH> --plugin \"emacs-wakatime/1.0.2\" --time 1707913622.48 --key waka_de2ffd06-acf7-4d35-ae95-88d36e93f2c4")
  wakatime-call(nil)
  wakatime-ping()
  erase-buffer()
  recover-file("/scp\\:<REDACTED HOST NAME>\\:/<REDACTED REMOTE FILE PATH>")
  recover-this-file()
  funcall-interactively(recover-this-file)
  call-interactively(recover-this-file record nil)
  command-execute(recover-this-file record)
@LemonBreezes
Copy link
Contributor

I am also having issues with wakatime-mode over Tramp.

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 1729605167.93 --key KEY
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 1729605167.93 --key KEY

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