[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48829: 28.0.50; opening files mith /sudo:root@localhost:… fails
From: |
Michael Albinus |
Subject: |
bug#48829: 28.0.50; opening files mith /sudo:root@localhost:… fails |
Date: |
Sun, 06 Jun 2021 10:38:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
"Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:
Hi Arne,
> I usually open system files by re-opening them with prefix
> /sudo:root@localhost:
>
> For some time I am now getting the error
>
> File error: Script tramp_perl_encode_with_module is not applicable on remote
> host
> Mark set
> Replaced 0 occurrences
> File error: Script tramp_perl_encode_with_module is not applicable on remote
> host
> File error: Method ‘sudo’ should specify both encoding and decoding command
> or an scp program
> tramp-sh-handle-write-region: Method ‘sudo’ should specify both encoding and
> decoding command or an scp program
>
> Is this a problem due to changes is Emacs?
Perhaps. There was a change in using %-markers in Tramp, for example in
tramp_perl_encode_with_module. Please try "M-x tramp-cleanup-all-connections"
(or remove "~/.emacs.d/tramp" prior Emacs start).
> Best wishes,
> Arne
Best regards, Michael.