all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Shuguang Sun <shuguang79@qq.com>
To: 35862@debbugs.gnu.org
Subject: bug#35862: 27.0.50; Tramp recent changes make saving large file via tramp-copy-program fails
Date: Thu, 23 May 2019 10:09:35 +0800	[thread overview]
Message-ID: <34793.715602585$1558577482@news.gmane.org> (raw)

Hi,

The recent changes to tramp make the saving of large file (i.e., >10k,
via tramp-copy-program) fails, with message that like no temp files and
permission denied. It works on the version on March 3 2019, but not on
May 19 (detailed version information at end of the message).


Here is part of filtered message :
--8<---------------cut here---------------start------------->8---
18:45:46.539402 tramp-do-copy-or-rename-file-out-of-band (6) # pscp -l username -q -r c\:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv username@host.com:/path/username/bladder_rf.csv
c\:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv: No such file or directory
c\:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv: No such file or directory
18:45:46.778053 tramp-do-copy-or-rename-file (0) # Copying c:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv to /plink:username@host.com:/path/username/bladder_rf.csv...failed
--8<---------------cut here---------------end--------------->8---



Below is the settings:
using `plink/pscp`
--8<---------------cut here---------------start------------->8---
  (push '("plink"
          (tramp-login-program "plink")
          (tramp-login-args
           (("-l" "%u") ("-P" "%p") ("-ssh") ("-t") ("%h") ("\"")
            ("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '")
            ("/bin/sh") ("\"")))
          (tramp-remote-shell         "/bin/sh")
          (tramp-remote-shell-login   ("-l"))
          (tramp-remote-shell-args    ("-c"))
          (tramp-copy-program         "pscp")
          (tramp-copy-args            (("-l" "%u") ("-P" "%p")
                                       ;; ("-scp")
                                       ("-p" "%k") ("-q") ("-r")))
          (tramp-copy-keep-date t)
          (tramp-copy-recursive t)
          (tramp-default-port         22))
        tramp-methods)
--8<---------------cut here---------------end--------------->8---

or using `plink/scp` (ssh.exe not works in windows box)
--8<---------------cut here---------------start------------->8---
  (push '("plink"
          (tramp-login-program "plink")
          (tramp-login-args
           (("-l" "%u") ("-P" "%p") ("-ssh") ("-t") ("%h") ("\"")
            ("env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ '")
            ("/bin/sh") ("\"") ))
          (tramp-remote-shell         "/bin/sh")
          (tramp-remote-shell-login   ("-l"))
          (tramp-remote-shell-args    ("-c"))
          (tramp-copy-program         "scp")
          (tramp-copy-args            (("-P" "%p") ("-p" "%k") ("-q") ("-r") ("%c")))
          (tramp-copy-keep-date t)
          (tramp-copy-recursive t)
          (tramp-default-port         22))
        tramp-methods)
--8<---------------cut here---------------end--------------->8---




Version with the bug:
In GNU Emacs 27.0.50 (build 1, x86_64-w64-mingw32)
 of 2019-05-19
Repository revision: d7c8196c96fd4bb732d1336305943feb3badf27c
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.15063


Version without the bug:
In GNU Emacs 27.0.50 (build 1, x86_64-w64-mingw32)
 of 2019-03-03
Repository revision: 8a64107f7de6db557a2c43147369c6a93adf6668



Best Regards,
Shuguang







             reply	other threads:[~2019-05-23  2:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23  2:09 Shuguang Sun [this message]
     [not found] ` <87ftp4ezse.fsf@gmx.de>
2019-05-27  9:12   ` bug#35862: 27.0.50; Tramp recent changes make saving large file via tramp-copy-program fails Shuguang Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='34793.715602585$1558577482@news.gmane.org' \
    --to=shuguang79@qq.com \
    --cc=35862@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.