4

Having here some troubles with TRAMP mode and already set (customize-set-variable 'tramp-verbose 6 "Enable remote command traces") in .emacs file.

But main problem is that Emacs is stuck in TRAMP mode, and debug buffer can't be accessed.

Hangs while copying large files via scp to remote to local network, it hangs on Encoding in base64. Already set (setq tramp-inline-compress-start-size "800000000"), (setq tramp-copy-size-limit "800000000") and (customize-set-variable 'tramp-verbose 6 "Enable remote command traces").

Anyway there would be log files to access?

Renan41
  • 65
  • 5
  • Can you provide a step-by-step recipe to reproduce the problem? Do you see the same thing if you start Emacs using `emacs -Q`? (If not, bisect your init file to find the culprit.) – Drew Oct 24 '19 at 14:52
  • Hangs while copying large files via `scp` to remote to local network, it hangs on `Encoding in base64`. Already set `(setq tramp-inline-compress-start-size "800000000")`, `(setq tramp-copy-size-limit "800000000")` and `(customize-set-variable 'tramp-verbose 6 "Enable remote command traces")`. – Renan41 Oct 24 '19 at 15:00
  • Please put all such info in the question itself. Comments can be deleted at any time. Thx. – Drew Oct 24 '19 at 15:23
  • Just have done it. – Renan41 Oct 24 '19 at 15:33
  • 1
    When Tramp hangs, you might be able to interrupt it by several `C-g`. Does this work? You will see then a buffer starting with `*debug tramp/` – Michael Albinus Oct 24 '19 at 19:14
  • Yes, that's working, corrected the problem. – Renan41 Oct 28 '19 at 11:29
  • Currently accepted answer do not deliver on the actual request to log Tramp traces to a file. I have a similar problem, but Ctrl+g doesn't work becase my Emacs hangs completely. So other answers would be really helpful. – Pommy Nov 30 '20 at 06:08

1 Answers1

1

Just do it as brother up there said, we are having similar problem here and CRTL + g works swiftly, then just check debug buffer.

Rubem74
  • 34
  • 3