From: Manuel Uberti <manuel.uberti@inventati.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 20662@debbugs.gnu.org
Subject: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 16:21:15 +0200 [thread overview]
Message-ID: <5567245B.2090104@inventati.org> (raw)
In-Reply-To: <87egm03kra.fsf@gmx.de>
On 28/05/15 15:16, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti@inventati.org> writes:
>
> Hi Manuel,
>
>> I turn debug-on-error on, and press 'd' as you suggested, right before
>> (copy-file from to ok-flag preserve-time) throws an error.
>>
>> This is the stacktrace:
>
> Well, I've nailed it down to
>
> --8<---------------cut here---------------start------------->8---
> (copy-file (edebug-after 0 68 from) (edebug-after 0 69 to) (edebug-after 0 70 ok-flag) (edebug-after 0 71 preserve-time))
>
> (condition-case err (edebug-after (edebug-before 54) 73 (if (edebug-after (edebug-before 55) 59 (stringp (edebug-after (edebug-before 56) 58 (car (edebug-after 0 57 attrs))))) (edebug-after (edebug-before 60) 66 (make-symbolic-link (edebug-after (edebug-before 61) 63 (car (edebug-after 0 62 attrs))) (edebug-after 0 64 to) (edebug-after 0 65 ok-flag))) (edebug-after (edebug-before 67) 72 (copy-file (edebug-after 0 68 from) (edebug-after 0 69 to) (edebug-after 0 70 ok-flag) (edebug-after 0 71 preserve-time))))) (file-date-error (edebug-after (edebug-before 74) 79 (let* ((v (edebug-after (edebug-before 75) 77 (dired-make-relative ...)))) (setq dired-create-files-failures (cons v (edebug-after 0 78 dired-create-files-failures))))) (edebug-after (edebug-before 80) 83 (dired-log "Can't set dat
e on %s:\n%s\n" (edebug-after 0 81 from) (edebug-after 0 82 err)))))
>
> (let ((attrs (edebug-after (edebug-before 20) 22 (file-attributes (edebug-after 0 21 from))))) (edebug-after (edebug-before 23) 85 (if (edebug-after (edebug-before 24) 41 (and (edebug-after 0 25 recursive) (edebug-after (edebug-before 26) 30 (eq t (edebug-after ... 29 ...))) (edebug-after (edebug-before 31) 40 (or (edebug-after ... 34 ...) (edebug-after ... 39 ...))))) (edebug-after (edebug-before 42) 46 (copy-directory (edebug-after 0 43 from) (edebug-after 0 44 to) (edebug-after 0 45 preserve-time))) (edebug-after (edebug-before 47) 52 (or (edebug-after 0 48 top) (edebug-after (edebug-before 49) 51 (dired-handle-overwrite (edebug-after 0 50 to))))) (edebug-after (edebug-before 53) 84 (condition-case err (edebug-after (edebug-before 54) 73 (if (edebug-after ... 59 ...) (edebug-after ...
66 ...) (edebug-after ... 72 ...))) (file-date-error (edebug-after (edebug-before 74) 79 (let* ... ...)) (edebug-after (edebug-before 80) 83 (dired-log "Can't set date on %s:\n%s\n" ... ...))))))))
>
> dired-copy-file-recursive("/ssh:admin@192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods" "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/078_crowdknitting.ods" nil t t always)
>
> dired-copy-file("/ssh:admin@192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods" "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/078_crowdknitting.ods" nil)
>
> dired-create-files(dired-copy-file "Copy" ("/ssh:admin@192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods") (lambda (_from) (edebug-enter (quote edebug-anon97303) (list _from) (function (lambda nil (edebug-after 0 0 target))))) 67)
>
> dired-do-create-files(copy dired-copy-file "Copy" nil 67 nil nil)
> dired-do-copy(nil)
> funcall-interactively(dired-do-copy nil)
> call-interactively(dired-do-copy nil nil)
> command-execute(dired-do-copy)
> --8<---------------cut here---------------end--------------->8---
>
> Looks like you are copying
> "/ssh:admin@192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods"
> to "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/078_crowdknitting.ods".
>
> Questions:
>
> - Is "/ssh:admin@192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods"
> a regular file? Is it readable (ie, can you open it in Emacs)? Or is
> it a link?
>
> - Does the directory "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/"
> exist? Is it writable (ie, can you create a new file in that
> directory)? Does there exist already a file "078_crowdknitting.ods"?
>
> - Given, you have a file "/tmp/078_crowdknitting.ods". Could you copy it to
> "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/078_crowdknitting.ods"
> via dired?
>
>> Regards,
>> Manuel
>
> Best regards, Michael.
>
Also, I forgot to say that with another client FTP (Filezilla), I can
transfer the same file to the directory I need with no issue. (I don't
know if this is useful, though)
Manuel Uberti
<manuel.uberti@inventati.org>
next prev parent reply other threads:[~2015-05-28 14:21 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-26 16:14 bug#20662: 25.0.50; Remote copy through Dired fails Manuel Uberti
2015-05-27 8:31 ` Michael Albinus
2015-05-27 13:11 ` Manuel Uberti
2015-05-27 17:57 ` Michael Albinus
2015-05-27 19:02 ` Manuel Uberti
2015-05-28 10:12 ` Michael Albinus
2015-05-28 12:39 ` Manuel Uberti
2015-05-28 13:16 ` Michael Albinus
2015-05-28 14:08 ` Manuel Uberti
2015-05-28 15:10 ` Michael Albinus
2015-05-28 15:23 ` Manuel Uberti
2015-05-28 15:56 ` Michael Albinus
2015-05-28 16:09 ` Manuel Uberti
2015-05-28 18:42 ` Michael Albinus
2015-05-29 13:18 ` Manuel Uberti
2015-05-29 13:22 ` Manuel Uberti
2015-05-29 17:51 ` Michael Albinus
2015-05-30 6:58 ` Manuel Uberti
2015-05-30 8:19 ` Michael Albinus
2015-05-30 8:31 ` Manuel Uberti
2015-05-30 8:38 ` Michael Albinus
2015-05-30 8:50 ` Manuel Uberti
2015-05-30 9:03 ` Michael Albinus
2015-05-30 9:35 ` Manuel Uberti
2015-05-30 10:00 ` Michael Albinus
[not found] ` <55699025.5080504@inventati.org>
2015-05-30 10:40 ` Michael Albinus
2015-05-30 15:00 ` Manuel Uberti
2015-05-30 17:39 ` Michael Albinus
2015-06-01 13:01 ` Manuel Uberti
2015-06-01 13:44 ` Michael Albinus
2015-05-28 14:21 ` Manuel Uberti [this message]
2015-05-28 16:00 ` bug#20662: Status: " Michael Albinus
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5567245B.2090104@inventati.org \
--to=manuel.uberti@inventati.org \
--cc=20662@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).