[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35862: 27.0.50; Tramp recent changes make saving large file via tram
From: |
Shuguang Sun |
Subject: |
bug#35862: 27.0.50; Tramp recent changes make saving large file via tramp-copy-program fails |
Date: |
Mon, 27 May 2019 17:12:50 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) |
Thanks. It fixes it and work well.
Michael Albinus <michael.albinus@gmx.de> writes:
> Shuguang Sun <shuguang79@qq.com> writes:
>
>> Hi,
>
> Hi Shuguang,
>
>> 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 :
>>
>> 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
>
> I could reproduce it. The escaped colon in
> c\:/Users/username/AppData/Local/Temp/tramp.2Ky9Fj.csv looks suspicious.
>
> The reason is, that `w32-shell-name' uses `shell-file-name'. The latter
> variable is modified by Tramp for connection-local variables.
>
> I've pushed a fix to the repositories, could you pls check?
>
>> Best Regards,
>> Shuguang
>
> Best regards, Michael.
>
--
Best Regards
Shuguang Sun