Alexander Vorobiev <alexander.vorobiev@gmail.com> writes:I do not run Windows, so I cannot reproduce exactly. However, ...
> The ":results output" doesn't help in my setup (I'm on Windows, the
> remote system is linux, access is via putty/plink)
... this looks like an old problem. Which Emacs/Tramp version are you using?
> #+BEGIN_SRC sh :results output :dir /grid:
> ls
> #+END_SRC
>
> executing Sh code block...
> Tramp: Encoding region using function `base64-encode-region'...done
> Tramp: Decoding region into remote file
> /plinkx:grid:/Users/avorobi/AppData/Local/Temp/ob-input-6116fuY...done
> byte-code: Couldn't write region to
> `/plinkx:grid:/Users/avorobi/AppData/Local/Temp/ob-input-6116fuY',
> decode using `tramp_perl_decode_with_module >%s' failed
>
> The /Users directory obviously does not exist on linux.
Check variables `emacs-version' and `tramp-version'.
> Thanks,
> Alex
Best regards, Michael.