GNU bug report logs - #20662
25.0.50; Remote copy through Dired fails

Previous Next

Package: emacs;

Reported by: Manuel Uberti <manuel.uberti <at> inventati.org>

Date: Tue, 26 May 2015 16:21:03 UTC

Severity: normal

Found in version 25.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20662 in the body.
You can then email your comments to 20662 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Tue, 26 May 2015 16:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Manuel Uberti <manuel.uberti <at> inventati.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 26 May 2015 16:21:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; Remote copy through Dired fails
Date: Tue, 26 May 2015 18:14:59 +0200
Hello,

despite having marked as solved this issue I opened on Emacs
StackExchange
(https://emacs.stackexchange.com/questions/12216/remote-copy-through-dired-fails),
as of today remote copy through Dired is still not working.

Every time I try to copy from remote to local I get this error:

    file-error Setting current directory No such file or directory

This is happening only when I'm copying a file in some nested directory
on the remote machine. For instance, if I try to copy
/home/admin/bin/foo to my local directory, it works. But if I try to
copy /home/admin/bin/foo/bar I get the above mentioned error.

Some extra info:

-  with emacs -Q copying files from remote to local works;
-  with emacs -q I get the same error;
-  copying from local to remote works every time;
-  I am using Emacs 25.0.50.1 (build: 45c92dd) on Debian unstable;
-  I listed (through C-h m) the active minor modes both with my init.el
   and with emacs -Q right before starting to copy the remote file:
   they are the same.

After some debugging, I nailed down the issue to this line of
dired-copy-file-recursive:

(copy-file from to ok-flag preserve-time)

Kind regards,
Manuel Uberti



In GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-05-26 on bebop
Windowing system distributor `The X.Org Foundation', version 11.0.11701000
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  adaptive-wrap-prefix-mode: t
  org-indent-mode: t
  rainbow-delimiters-mode: t
  global-my-keys-mode: t
  my-keys-mode: t
  bug-reference-mode: t
  unkillable-scratch: t
  pdf-occur-global-minor-mode: t
  projectile-global-mode: t
  projectile-mode: t
  auto-insert-mode: t
  company-statistics-mode: t
  global-company-mode: t
  company-mode: t
  recentf-mode: t
  global-anzu-mode: t
  anzu-mode: t
  winner-mode: t
  show-smartparens-global-mode: t
  show-smartparens-mode: t
  smartparens-global-mode: t
  smartparens-mode: t
  global-auto-revert-mode: t
  global-aggressive-indent-mode: t
  visual-fill-column-mode: t
  global-syntax-subword-mode: t
  syntax-subword-mode: t
  delete-selection-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  whitespace-cleanup-mode: t
  async-bytecomp-package-mode: t
  helm-mode: t
  shell-dirtrack-mode: t
  helm-adaptive-mode: t
  helm-autoresize-mode: t
  global-hl-line-mode: t
  global-diff-hl-mode: t
  diff-hl-mode: t
  diff-auto-refine-mode: t
  show-paren-mode: t
  global-page-break-lines-mode: t
  page-break-lines-mode: t
  override-global-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: org-auto-fill-function
  visual-line-mode: t

Recent messages:
Loading /home/manuel/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /home/manuel/.emacs.d/company-statistics-cache.el (source)...done
narrowing control profile: ON
Turn on helm-projectile key bindings
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
Saving file /home/manuel/.emacs.d/lisp/custom-editing.el...
Wrote /home/manuel/.emacs.d/lisp/custom-editing.el
No projects needed to be removed.
mwheel-scroll: Beginning of buffer [4 times]

Load-path shadows:
/home/manuel/.emacs.d/elpa/org-20150525/ob-mscgen hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-mscgen
/home/manuel/.emacs.d/elpa/org-20150525/org-compat hides
/usr/local/share/emacs/25.0.50/lisp/org/org-compat
/home/manuel/.emacs.d/elpa/org-20150525/ox-odt hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-odt
/home/manuel/.emacs.d/elpa/org-20150525/ob-fortran hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-fortran
/home/manuel/.emacs.d/elpa/org-20150525/ob-picolisp hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-picolisp
/home/manuel/.emacs.d/elpa/org-20150525/org-id hides
/usr/local/share/emacs/25.0.50/lisp/org/org-id
/home/manuel/.emacs.d/elpa/org-20150525/ox-org hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-org
/home/manuel/.emacs.d/elpa/org-20150525/ob-R hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-R
/home/manuel/.emacs.d/elpa/org-20150525/ob-lob hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-lob
/home/manuel/.emacs.d/elpa/org-20150525/org-inlinetask hides
/usr/local/share/emacs/25.0.50/lisp/org/org-inlinetask
/home/manuel/.emacs.d/elpa/org-20150525/org-w3m hides
/usr/local/share/emacs/25.0.50/lisp/org/org-w3m
/home/manuel/.emacs.d/elpa/org-20150525/ob-lisp hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-lisp
/home/manuel/.emacs.d/elpa/org-20150525/org-plot hides
/usr/local/share/emacs/25.0.50/lisp/org/org-plot
/home/manuel/.emacs.d/elpa/org-20150525/org-rmail hides
/usr/local/share/emacs/25.0.50/lisp/org/org-rmail
/home/manuel/.emacs.d/elpa/org-20150525/ob-table hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-table
/home/manuel/.emacs.d/elpa/org-20150525/org-list hides
/usr/local/share/emacs/25.0.50/lisp/org/org-list
/home/manuel/.emacs.d/elpa/org-20150525/ob-css hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-css
/home/manuel/.emacs.d/elpa/org-20150525/ob-comint hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-comint
/home/manuel/.emacs.d/elpa/org-20150525/ox-beamer hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-beamer
/home/manuel/.emacs.d/elpa/org-20150525/ob-clojure hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-clojure
/home/manuel/.emacs.d/elpa/org-20150525/ob-io hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-io
/home/manuel/.emacs.d/elpa/org-20150525/ob-exp hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-exp
/home/manuel/.emacs.d/elpa/org-20150525/ob-asymptote hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-asymptote
/home/manuel/.emacs.d/elpa/org-20150525/org-habit hides
/usr/local/share/emacs/25.0.50/lisp/org/org-habit
/home/manuel/.emacs.d/elpa/org-20150525/ob-matlab hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-matlab
/home/manuel/.emacs.d/elpa/org-20150525/org-archive hides
/usr/local/share/emacs/25.0.50/lisp/org/org-archive
/home/manuel/.emacs.d/elpa/org-20150525/org-mouse hides
/usr/local/share/emacs/25.0.50/lisp/org/org-mouse
/home/manuel/.emacs.d/elpa/org-20150525/ob-makefile hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-makefile
/home/manuel/.emacs.d/elpa/org-20150525/org-entities hides
/usr/local/share/emacs/25.0.50/lisp/org/org-entities
/home/manuel/.emacs.d/elpa/org-20150525/ob-sqlite hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-sqlite
/home/manuel/.emacs.d/elpa/org-20150525/ob-ocaml hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-ocaml
/home/manuel/.emacs.d/elpa/org-20150525/ob-shen hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-shen
/home/manuel/.emacs.d/elpa/org-20150525/org hides
/usr/local/share/emacs/25.0.50/lisp/org/org
/home/manuel/.emacs.d/elpa/org-20150525/org-macro hides
/usr/local/share/emacs/25.0.50/lisp/org/org-macro
/home/manuel/.emacs.d/elpa/org-20150525/ob-haskell hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-haskell
/home/manuel/.emacs.d/elpa/org-20150525/org-version hides
/usr/local/share/emacs/25.0.50/lisp/org/org-version
/home/manuel/.emacs.d/elpa/org-20150525/ob-maxima hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-maxima
/home/manuel/.emacs.d/elpa/org-20150525/ob-emacs-lisp hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-emacs-lisp
/home/manuel/.emacs.d/elpa/org-20150525/org-bbdb hides
/usr/local/share/emacs/25.0.50/lisp/org/org-bbdb
/home/manuel/.emacs.d/elpa/org-20150525/ob-octave hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-octave
/home/manuel/.emacs.d/elpa/org-20150525/org-bibtex hides
/usr/local/share/emacs/25.0.50/lisp/org/org-bibtex
/home/manuel/.emacs.d/elpa/org-20150525/ob-calc hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-calc
/home/manuel/.emacs.d/elpa/org-20150525/org-attach hides
/usr/local/share/emacs/25.0.50/lisp/org/org-attach
/home/manuel/.emacs.d/elpa/org-20150525/ox-html hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-html
/home/manuel/.emacs.d/elpa/org-20150525/ob-java hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-java
/home/manuel/.emacs.d/elpa/org-20150525/org-macs hides
/usr/local/share/emacs/25.0.50/lisp/org/org-macs
/home/manuel/.emacs.d/elpa/org-20150525/ob-gnuplot hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-gnuplot
/home/manuel/.emacs.d/elpa/org-20150525/org-feed hides
/usr/local/share/emacs/25.0.50/lisp/org/org-feed
/home/manuel/.emacs.d/elpa/org-20150525/org-capture hides
/usr/local/share/emacs/25.0.50/lisp/org/org-capture
/home/manuel/.emacs.d/elpa/org-20150525/ob-core hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-core
/home/manuel/.emacs.d/elpa/org-20150525/org-indent hides
/usr/local/share/emacs/25.0.50/lisp/org/org-indent
/home/manuel/.emacs.d/elpa/org-20150525/ob-org hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-org
/home/manuel/.emacs.d/elpa/org-20150525/ob hides
/usr/local/share/emacs/25.0.50/lisp/org/ob
/home/manuel/.emacs.d/elpa/org-20150525/ob-js hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-js
/home/manuel/.emacs.d/elpa/org-20150525/ob-keys hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-keys
/home/manuel/.emacs.d/elpa/org-20150525/org-ctags hides
/usr/local/share/emacs/25.0.50/lisp/org/org-ctags
/home/manuel/.emacs.d/elpa/org-20150525/ob-eval hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-eval
/home/manuel/.emacs.d/elpa/org-20150525/org-docview hides
/usr/local/share/emacs/25.0.50/lisp/org/org-docview
/home/manuel/.emacs.d/elpa/org-20150525/org-faces hides
/usr/local/share/emacs/25.0.50/lisp/org/org-faces
/home/manuel/.emacs.d/elpa/org-20150525/ox-publish hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-publish
/home/manuel/.emacs.d/elpa/org-20150525/ob-lilypond hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-lilypond
/home/manuel/.emacs.d/elpa/org-20150525/org-footnote hides
/usr/local/share/emacs/25.0.50/lisp/org/org-footnote
/home/manuel/.emacs.d/elpa/org-20150525/ox-md hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-md
/home/manuel/.emacs.d/elpa/org-20150525/org-table hides
/usr/local/share/emacs/25.0.50/lisp/org/org-table
/home/manuel/.emacs.d/elpa/org-20150525/ob-scala hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-scala
/home/manuel/.emacs.d/elpa/org-20150525/ob-sh hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-sh
/home/manuel/.emacs.d/elpa/org-20150525/ob-ruby hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-ruby
/home/manuel/.emacs.d/elpa/org-20150525/ob-plantuml hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-plantuml
/home/manuel/.emacs.d/elpa/org-20150525/ob-scheme hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-scheme
/home/manuel/.emacs.d/elpa/org-20150525/ox-ascii hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-ascii
/home/manuel/.emacs.d/elpa/org-20150525/ox-icalendar hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-icalendar
/home/manuel/.emacs.d/elpa/org-20150525/ob-latex hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-latex
/home/manuel/.emacs.d/elpa/org-20150525/ob-ref hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-ref
/home/manuel/.emacs.d/elpa/org-20150525/org-agenda hides
/usr/local/share/emacs/25.0.50/lisp/org/org-agenda
/home/manuel/.emacs.d/elpa/org-20150525/ob-ditaa hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-ditaa
/home/manuel/.emacs.d/elpa/org-20150525/ox-texinfo hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-texinfo
/home/manuel/.emacs.d/elpa/org-20150525/ob-dot hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-dot
/home/manuel/.emacs.d/elpa/org-20150525/org-pcomplete hides
/usr/local/share/emacs/25.0.50/lisp/org/org-pcomplete
/home/manuel/.emacs.d/elpa/org-20150525/ob-C hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-C
/home/manuel/.emacs.d/elpa/org-20150525/org-clock hides
/usr/local/share/emacs/25.0.50/lisp/org/org-clock
/home/manuel/.emacs.d/elpa/org-20150525/ob-screen hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-screen
/home/manuel/.emacs.d/elpa/org-20150525/ob-python hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-python
/home/manuel/.emacs.d/elpa/org-20150525/ob-tangle hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-tangle
/home/manuel/.emacs.d/elpa/org-20150525/ob-awk hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-awk
/home/manuel/.emacs.d/elpa/org-20150525/ob-ledger hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-ledger
/home/manuel/.emacs.d/elpa/org-20150525/org-info hides
/usr/local/share/emacs/25.0.50/lisp/org/org-info
/home/manuel/.emacs.d/elpa/org-20150525/org-datetree hides
/usr/local/share/emacs/25.0.50/lisp/org/org-datetree
/home/manuel/.emacs.d/elpa/org-20150525/org-colview hides
/usr/local/share/emacs/25.0.50/lisp/org/org-colview
/home/manuel/.emacs.d/elpa/org-20150525/org-mobile hides
/usr/local/share/emacs/25.0.50/lisp/org/org-mobile
/home/manuel/.emacs.d/elpa/org-20150525/org-gnus hides
/usr/local/share/emacs/25.0.50/lisp/org/org-gnus
/home/manuel/.emacs.d/elpa/org-20150525/org-element hides
/usr/local/share/emacs/25.0.50/lisp/org/org-element
/home/manuel/.emacs.d/elpa/org-20150525/org-irc hides
/usr/local/share/emacs/25.0.50/lisp/org/org-irc
/home/manuel/.emacs.d/elpa/org-20150525/org-install hides
/usr/local/share/emacs/25.0.50/lisp/org/org-install
/home/manuel/.emacs.d/elpa/org-20150525/ox hides
/usr/local/share/emacs/25.0.50/lisp/org/ox
/home/manuel/.emacs.d/elpa/org-20150525/ox-latex hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-latex
/home/manuel/.emacs.d/elpa/org-20150525/org-loaddefs hides
/usr/local/share/emacs/25.0.50/lisp/org/org-loaddefs
/home/manuel/.emacs.d/elpa/org-20150525/ob-sql hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-sql
/home/manuel/.emacs.d/elpa/org-20150525/org-timer hides
/usr/local/share/emacs/25.0.50/lisp/org/org-timer
/home/manuel/.emacs.d/elpa/org-20150525/org-mhe hides
/usr/local/share/emacs/25.0.50/lisp/org/org-mhe
/home/manuel/.emacs.d/elpa/org-20150525/ob-sass hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-sass
/home/manuel/.emacs.d/elpa/org-20150525/ob-perl hides
/usr/local/share/emacs/25.0.50/lisp/org/ob-perl
/home/manuel/.emacs.d/elpa/org-20150525/ox-man hides
/usr/local/share/emacs/25.0.50/lisp/org/ox-man
/home/manuel/.emacs.d/elpa/org-20150525/org-crypt hides
/usr/local/share/emacs/25.0.50/lisp/org/org-crypt
/home/manuel/.emacs.d/elpa/org-20150525/org-src hides
/usr/local/share/emacs/25.0.50/lisp/org/org-src
/home/manuel/.emacs.d/elpa/org-20150525/org-protocol hides
/usr/local/share/emacs/25.0.50/lisp/org/org-protocol
/home/manuel/.emacs.d/elpa/org-20150525/org-eshell hides
/usr/local/share/emacs/25.0.50/lisp/org/org-eshell
/usr/local/share/emacs/site-lisp/tramp-cache hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-cache
/usr/local/share/emacs/site-lisp/tramp-uu hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-uu
/usr/local/share/emacs/site-lisp/tramp-loaddefs hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-loaddefs
/usr/local/share/emacs/site-lisp/tramp-smb hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-smb
/usr/local/share/emacs/site-lisp/tramp-gw hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-gw
/usr/local/share/emacs/site-lisp/tramp-compat hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-compat
/usr/local/share/emacs/site-lisp/tramp-gvfs hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-gvfs
/usr/local/share/emacs/site-lisp/tramp-adb hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-adb
/usr/local/share/emacs/site-lisp/tramp-ftp hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-ftp
/usr/local/share/emacs/site-lisp/tramp-cmds hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-cmds
/usr/local/share/emacs/site-lisp/tramp hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp
/usr/local/share/emacs/site-lisp/tramp-sh hides
/usr/local/share/emacs/25.0.50/lisp/net/tramp-sh
/usr/local/share/emacs/site-lisp/trampver hides
/usr/local/share/emacs/25.0.50/lisp/net/trampver

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils helm-command helm-elisp
helm-eval adaptive-wrap toc-org ert debug org-element org-indent
org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view
org-bibtex bibtex org-bbdb org-w3m ediff-wind ediff-help ediff-init
vc-git copyright disp-table company-math math-symbol-lists
highlight-symbol highlight-numbers parent-mode rainbow-delimiters
flycheck-clojure json cider-client nrepl-client queue cider-util
clojure-mode-extra-font-locking clojure-mode flycheck-package lisp-mnt
flycheck subr-x custom-keybindings my-keys-mode custom-utilities
bug-reference unkillable-scratch lice camcorder pdf-occur tablist
tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch
pdf-misc imenu custom-shells custom-project helm-projectile projectile
ibuf-ext ibuffer custom-programming custom-org org-tree-slide org-timer
autoinsert org-pdfview pdf-tools cus-edit cus-start cus-load pdf-view
jka-compr pdf-cache pdf-info tq pdf-util image-mode custom-net
custom-vers-control custom-latex custom-languages custom-formatting
custom-completion company-statistics company-files company-oddmuse
company-keywords company-etags company-gtags company-dabbrev-code
company-dabbrev company-capf company-cmake company-xcode company-clang
company-semantic company-eclim company-template company-css company-nxml
company-bbdb company custom-files find-dired tramp-cache tramp-sh
recentf tree-widget wid-edit custom-search anzu custom-navigation winner
custom-pairs smartparens-config smartparens custom-editing
elisp-slime-nav help-mode etags xref autorevert filenotify saveplace
macrostep aggressive-indent visual-fill-column iedit iedit-lib
syntax-subword cap-words superword subword delsel undo-tree diff
whitespace-cleanup-mode whitespace custom-helm helm-config
async-bytecomp async helm-aliases helm-mode helm-files rx image-dired
tramp tramp-compat tramp-loaddefs trampver shell dired-x dired-aux ffap
thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark
helm-adaptive helm-info bookmark pp helm-locate helm-help helm-org org
org-macro org-footnote org-pcomplete pcomplete org-list org-faces
org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval
org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar
cal-loaddefs helm-match-plugin helm-grep helm-regexp helm-plugin grep
helm-external helm-net browse-url xml url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse auth-source gnus-util mm-util help-fns mail-prsvr
password-cache url-vars mailcap helm-utils dired compile comint
ansi-color ring helm helm-source custom-ibuffer custom-highlight hl-line
edmacro kmacro diff-hl vc-dir ewoc vc vc-dispatcher diff-mode paren
custom-style smart-mode-line rich-minority page-break-lines
solarized-light-theme solarized dash persistent-soft list-utils pcache
eieio-compat eieio-base font-utils dynamic-fonts custom-functions server
use-package diminish bind-key easy-mmode finder-inf tex-site eieio
byte-opt bytecomp byte-compile cl-extra seq cconv eieio-core advice
org2blog-autoloads cl-seq cl-macs cl gv cl-loaddefs pcase cl-lib info
easymenu package epg-config time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind gfilenotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 8 445222 14257)
 (symbols 24 50520 0)
 (miscs 20 257 750)
 (strings 16 124822 13463)
 (string-bytes 1 3590942)
 (vectors 8 47453)
 (vector-slots 4 842372 11258)
 (floats 8 660 947)
 (intervals 28 4366 0)
 (buffers 520 19)
 (heap 1024 55176 1981))

-- 
Manuel Uberti
<manuel.uberti <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Wed, 27 May 2015 08:32:02 GMT) Full text and rfc822 format available.

Message #8 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Wed, 27 May 2015 10:31:20 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

> Hello,

Hi Manuel,

> Every time I try to copy from remote to local I get this error:
>
>     file-error Setting current directory No such file or directory
>
> This is happening only when I'm copying a file in some nested directory
> on the remote machine. For instance, if I try to copy
> /home/admin/bin/foo to my local directory, it works. But if I try to
> copy /home/admin/bin/foo/bar I get the above mentioned error.
>
> Some extra info:
>
> -  with emacs -Q copying files from remote to local works;
> -  with emacs -q I get the same error;
> -  copying from local to remote works every time;
> -  I am using Emacs 25.0.50.1 (build: 45c92dd) on Debian unstable;
> -  I listed (through C-h m) the active minor modes both with my init.el
>    and with emacs -Q right before starting to copy the remote file:
>    they are the same.
>
> After some debugging, I nailed down the issue to this line of
> dired-copy-file-recursive:
>
> (copy-file from to ok-flag preserve-time)

Honestly, I'm not able to reproduce your problem with the given
description. Could you, please, give a recipe how to see it?

Obviously, the recipe shall start with "emacs -Q". But as you are saying
it works then, I will need also a minimal init.el and/or .emacs from
your config, which triggers the error.

> Kind regards,
> Manuel Uberti

Best regards Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Wed, 27 May 2015 13:07:02 GMT) Full text and rfc822 format available.

Message #11 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Wed, 27 May 2015 15:11:25 +0200
On 27/05/15 10:31, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
>> Hello,
> 
> Hi Manuel,
> 
>> Every time I try to copy from remote to local I get this error:
>>
>>     file-error Setting current directory No such file or directory
>>
>> This is happening only when I'm copying a file in some nested directory
>> on the remote machine. For instance, if I try to copy
>> /home/admin/bin/foo to my local directory, it works. But if I try to
>> copy /home/admin/bin/foo/bar I get the above mentioned error.
>>
>> Some extra info:
>>
>> -  with emacs -Q copying files from remote to local works;
>> -  with emacs -q I get the same error;
>> -  copying from local to remote works every time;
>> -  I am using Emacs 25.0.50.1 (build: 45c92dd) on Debian unstable;
>> -  I listed (through C-h m) the active minor modes both with my init.el
>>    and with emacs -Q right before starting to copy the remote file:
>>    they are the same.
>>
>> After some debugging, I nailed down the issue to this line of
>> dired-copy-file-recursive:
>>
>> (copy-file from to ok-flag preserve-time)
> 
> Honestly, I'm not able to reproduce your problem with the given
> description. Could you, please, give a recipe how to see it?
> 
> Obviously, the recipe shall start with "emacs -Q". But as you are saying
> it works then, I will need also a minimal init.el and/or .emacs from
> your config, which triggers the error.
> 
>> Kind regards,
>> Manuel Uberti
> 
> Best regards Michael.
> 

Hi Michael,

thanks for the prompt answer.

What I usually do is open two Dired panels. On top I have my local
directory, and in the bottom panel the remote one. I set
dired-dwim-target to t in my config so the target for the operation is
always the other panel.

Then I basically press C on the file I want to copy. That's it, really,
it doesn't get much complex than that.

My configuration is here: https://github.com/manuel-uberti/.emacs.d

All that is related to Dired, in particular, is in lisp/custom-files.el

If you need me to do some other tests, please feel free to ask.

Thanks again

Manuel Uberti
<manuel.uberti <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Wed, 27 May 2015 17:58:01 GMT) Full text and rfc822 format available.

Message #14 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Wed, 27 May 2015 19:57:33 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

> Hi Michael,

Hi Manuel,

> thanks for the prompt answer.
>
> What I usually do is open two Dired panels. On top I have my local
> directory, and in the bottom panel the remote one. I set
> dired-dwim-target to t in my config so the target for the operation is
> always the other panel.
>
> Then I basically press C on the file I want to copy. That's it, really,
> it doesn't get much complex than that.
>
> My configuration is here: https://github.com/manuel-uberti/.emacs.d
>
> All that is related to Dired, in particular, is in lisp/custom-files.el
>
> If you need me to do some other tests, please feel free to ask.

I've tried loading your init.el (after starting emacs -Q), but there was
an error:

eval-buffer: Cannot open load file: No such file or directory, custom-functions

Obviously, I would need also your ~/.emacs.d/lisp directory. That's all
too much for me.

Could you, please, cut your init.el after line 92? Then try the test
again, and see whether the problem happens again.

If the problem doesn't happen, you could add the rest of the lines line
by line, and test again. Until there is the problem. Then we would know
the guilty package.

Another test would be to perform

(setq debug-on-error t)

prior the test. The backtrace in case of the error could tell us also
the story. Maybe.

> Thanks again
>
> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Wed, 27 May 2015 18:58:02 GMT) Full text and rfc822 format available.

Message #17 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Wed, 27 May 2015 21:02:42 +0200
On 27/05/15 19:57, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
>> Hi Michael,
> 
> Hi Manuel,
> 
>> thanks for the prompt answer.
>>
>> What I usually do is open two Dired panels. On top I have my local
>> directory, and in the bottom panel the remote one. I set
>> dired-dwim-target to t in my config so the target for the operation is
>> always the other panel.
>>
>> Then I basically press C on the file I want to copy. That's it, really,
>> it doesn't get much complex than that.
>>
>> My configuration is here: https://github.com/manuel-uberti/.emacs.d
>>
>> All that is related to Dired, in particular, is in lisp/custom-files.el
>>
>> If you need me to do some other tests, please feel free to ask.
> 
> I've tried loading your init.el (after starting emacs -Q), but there was
> an error:
> 
> eval-buffer: Cannot open load file: No such file or directory, custom-functions
> 
> Obviously, I would need also your ~/.emacs.d/lisp directory. That's all
> too much for me.
> 
> Could you, please, cut your init.el after line 92? Then try the test
> again, and see whether the problem happens again.
> 
> If the problem doesn't happen, you could add the rest of the lines line
> by line, and test again. Until there is the problem. Then we would know
> the guilty package.
> 
> Another test would be to perform
> 
> (setq debug-on-error t)
> 
> prior the test. The backtrace in case of the error could tell us also
> the story. Maybe.
> 
>> Thanks again
>>
>> Manuel Uberti
> 
> Best regards, Michael.
> 

I already tried leaving out everything after line 92. To be more
precise, first I tried living out only my Dired-related settings, then
everything in my ~/.emacs.d/lisp directory. The error still happens.

I will try toggle debug-on-error on, but I am pretty sure I already
tried that way and there was no stacktrace for that error. That is why I
debugged line-by-line and narrowed the problem down to the line I
mentioned in my first message.

Manuel Uberti
<manuel.uberti <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 10:13:01 GMT) Full text and rfc822 format available.

Message #20 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 12:12:05 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

> I already tried leaving out everything after line 92. To be more
> precise, first I tried living out only my Dired-related settings, then
> everything in my ~/.emacs.d/lisp directory. The error still happens.

And it doesn't happen to. So it seems to depend on the file/directory
you intend to copy.

> I will try toggle debug-on-error on, but I am pretty sure I already
> tried that way and there was no stacktrace for that error. That is why I
> debugged line-by-line and narrowed the problem down to the line I
> mentioned in my first message.

You have said

| After some debugging, I nailed down the issue to this line of
| dired-copy-file-recursive:
|
| (copy-file from to ok-flag preserve-time)

That is not sufficient information; I don't know how
dired-copy-file-recursive was called, and I don't know the values of the
arguments.

I guess you have used edebug for debugging. When you have reached the
point you've mentioned, please press 'd'. This produces a backtrace.

> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 12:35:02 GMT) Full text and rfc822 format available.

Message #23 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 14:39:00 +0200
On 28/05/15 12:12, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>> I already tried leaving out everything after line 92. To be more
>> precise, first I tried living out only my Dired-related settings, then
>> everything in my ~/.emacs.d/lisp directory. The error still happens.
> 
> And it doesn't happen to. So it seems to depend on the file/directory
> you intend to copy.
> 
>> I will try toggle debug-on-error on, but I am pretty sure I already
>> tried that way and there was no stacktrace for that error. That is why I
>> debugged line-by-line and narrowed the problem down to the line I
>> mentioned in my first message.
> 
> You have said
> 
> | After some debugging, I nailed down the issue to this line of
> | dired-copy-file-recursive:
> |
> | (copy-file from to ok-flag preserve-time)
> 
> That is not sufficient information; I don't know how
> dired-copy-file-recursive was called, and I don't know the values of the
> arguments.
> 
> I guess you have used edebug for debugging. When you have reached the
> point you've mentioned, please press 'd'. This produces a backtrace.
> 
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Thanks for your patience.
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:

  (copy-file (edebug-after 0 68 from) (edebug-after 0 69 to)
(edebug-after 0 70 ok-flag) (edebug-after 0 71 preserve-time))
  (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))))
  (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 date on %s:\n%s\n" (edebug-after 0 81 from)
(edebug-after 0 82 err)))))
  (if (edebug-after (edebug-before 24) 41 (and (edebug-after 0 25
recursive) (edebug-after (edebug-before 26) 30 (eq t (edebug-after
(edebug-before 27) 29 (car (edebug-after 0 28 attrs))))) (edebug-after
(edebug-before 31) 40 (or (edebug-after (edebug-before 32) 34 (eq
(edebug-after 0 33 recursive) (quote always))) (edebug-after
(edebug-before 35) 39 (yes-or-no-p (edebug-after ... 38 ...)))))))
(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 (edebug-before 55) 59 (stringp (edebug-after ... 58 ...)))
(edebug-after (edebug-before 60) 66 (make-symbolic-link (edebug-after
... 63 ...) (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 ...)) (setq dired-create-files-failures (cons v ...))))
(edebug-after (edebug-before 80) 83 (dired-log "Can't set date 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 <at> 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 <at> 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 <at> 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)
  (if (edebug-after (edebug-before 116) 125 (and (edebug-after
(edebug-before 117) 119 (consp (edebug-after 0 118 into-dir)))
(edebug-after (edebug-before 120) 124 (functionp (edebug-after
(edebug-before 121) 123 (car (edebug-after 0 122 into-dir)))))))
(edebug-after (edebug-before 126) 137 (apply (edebug-after
(edebug-before 127) 129 (car (edebug-after 0 128 into-dir)))
(edebug-after 0 130 operation) (edebug-after 0 131 rfn-list)
(edebug-after 0 132 fn-list) (edebug-after 0 133 target) (edebug-after
(edebug-before 134) 136 (cdr (edebug-after 0 135 into-dir)))))
(edebug-after (edebug-before 138) 149 (if (edebug-after (edebug-before
139) 144 (not (edebug-after (edebug-before 140) 143 (or (edebug-after 0
141 dired-one-file) (edebug-after 0 142 into-dir))))) (edebug-after
(edebug-before 145) 148 (error "Marked %s: target must be a directory:
%s" (edebug-after 0 146 operation) (edebug-after 0 147 target)))))
(edebug-after (edebug-before 150) 157 (or (edebug-after 0 151 into-dir)
(edebug-after (edebug-before 152) 156 (setq target (edebug-after
(edebug-before 153) 155 (directory-file-name (edebug-after 0 154
target))))))) (edebug-after (edebug-before 158) 170 (dired-create-files
(edebug-after 0 159 file-creator) (edebug-after 0 160 operation)
(edebug-after 0 161 fn-list) (edebug-after (edebug-before 162) 168 (if
(edebug-after 0 163 into-dir) (edebug-after (edebug-before 164) 165
(function (lambda ... ...))) (edebug-after (edebug-before 166) 167
(function (lambda ... ...))))) (edebug-after 0 169 marker-char))))
  (let* ((fn-list (edebug-after (edebug-before 7) 9
(dired-get-marked-files nil (edebug-after 0 8 arg)))) (rfn-list
(edebug-after (edebug-before 10) 14 (mapcar (edebug-after (edebug-before
11) 12 (function dired-make-relative)) (edebug-after 0 13 fn-list))))
(dired-one-file (edebug-after (edebug-before 15) 27 (and (edebug-after
(edebug-before 16) 18 (consp (edebug-after 0 17 fn-list))) (edebug-after
(edebug-before 19) 23 (null (edebug-after ... 22 ...))) (edebug-after
(edebug-before 24) 26 (car (edebug-after 0 25 fn-list)))))) (target-dir
(edebug-after (edebug-before 28) 29 (dired-dwim-target-directory)))
(default (edebug-after (edebug-before 30) 40 (and (edebug-after 0 31
dired-one-file) (edebug-after (edebug-before 32) 39 (expand-file-name
(edebug-after ... 37 ...) (edebug-after 0 38 target-dir)))))) (defaults
(edebug-after (edebug-before 41) 44 (dired-dwim-target-defaults
(edebug-after 0 42 fn-list) (edebug-after 0 43 target-dir)))) (target
(edebug-after (edebug-before 45) 62 (expand-file-name (edebug-after
(edebug-before 46) 61 (let (... setup-hook) (setq setup-hook ...)
(unwind-protect ... ...)))))) (into-dir (edebug-after (edebug-before 63)
114 (cond ((edebug-after (edebug-before 64) 66 (null ...)) (edebug-after
(edebug-before 67) 106 (if ... nil ...))) ((edebug-after (edebug-before
107) 109 (eq ... t)) nil) (t (edebug-after (edebug-before 110) 113
(funcall ... ...))))))) (edebug-after (edebug-before 115) 171 (if
(edebug-after (edebug-before 116) 125 (and (edebug-after (edebug-before
117) 119 (consp (edebug-after 0 118 into-dir))) (edebug-after
(edebug-before 120) 124 (functionp (edebug-after ... 123 ...)))))
(edebug-after (edebug-before 126) 137 (apply (edebug-after
(edebug-before 127) 129 (car (edebug-after 0 128 into-dir)))
(edebug-after 0 130 operation) (edebug-after 0 131 rfn-list)
(edebug-after 0 132 fn-list) (edebug-after 0 133 target) (edebug-after
(edebug-before 134) 136 (cdr (edebug-after 0 135 into-dir)))))
(edebug-after (edebug-before 138) 149 (if (edebug-after (edebug-before
139) 144 (not (edebug-after ... 143 ...))) (edebug-after (edebug-before
145) 148 (error "Marked %s: target must be a directory: %s"
(edebug-after 0 146 operation) (edebug-after 0 147 target)))))
(edebug-after (edebug-before 150) 157 (or (edebug-after 0 151 into-dir)
(edebug-after (edebug-before 152) 156 (setq target (edebug-after ... 155
...))))) (edebug-after (edebug-before 158) 170 (dired-create-files
(edebug-after 0 159 file-creator) (edebug-after 0 160 operation)
(edebug-after 0 161 fn-list) (edebug-after (edebug-before 162) 168 (if
(edebug-after 0 163 into-dir) (edebug-after ... 165 ...) (edebug-after
... 167 ...))) (edebug-after 0 169 marker-char))))))
  dired-do-create-files(copy dired-copy-file "Copy" nil 67 nil nil)
  (let ((dired-recursive-copies (edebug-after 0 1
dired-recursive-copies))) (edebug-after (edebug-before 2) 8
(dired-do-create-files (quote copy) (edebug-after (edebug-before 3) 4
(function dired-copy-file)) "Copy" (edebug-after 0 5 arg) (edebug-after
0 6 dired-keep-marker-copy) nil (edebug-after 0 7 dired-copy-how-to-fn))))
  dired-do-copy(nil)
  funcall-interactively(dired-do-copy nil)
  call-interactively(dired-do-copy nil nil)
  command-execute(dired-do-copy)

Hope it can be of any help. If you need to do some other tests/debug,
please ask.

Regards,
Manuel




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 13:17:02 GMT) Full text and rfc822 format available.

Message #26 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 15:16:25 +0200
Manuel Uberti <manuel.uberti <at> 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 date 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 14:04:02 GMT) Full text and rfc822 format available.

Message #29 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 16:08:17 +0200
On 28/05/15 15:16, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> 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 date 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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.
> 
To answer your questions:

-
"/ssh:admin <at> 192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods"
is a regular file, I can open it with LibreOffice Calc (.ods) via Dired
- the directory
"/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/"
exists and it is writable
- no, same error.

Best regards

Manuel Uberti
<manuel.uberti <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 14:17:01 GMT) Full text and rfc822 format available.

Message #32 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 16:21:15 +0200
On 28/05/15 15:16, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> 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 date 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 15:12:01 GMT) Full text and rfc822 format available.

Message #35 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 17:10:58 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

> To answer your questions:
>
> -
> "/ssh:admin <at> 192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods"
> is a regular file, I can open it with LibreOffice Calc (.ods) via Dired
> - the directory
> "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/"
> exists and it is writable
> - no, same error.

Well, does the last answer mean that you get the same error, when you
copy "/tmp/078_crowdknitting.ods" to
"/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/078_crowdknitting.ods"?

In this case, there's no Tramp problem but something else.

> Best regards
>
> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 15:19:02 GMT) Full text and rfc822 format available.

Message #38 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 17:23:30 +0200
On 28/05/15 17:10, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>> To answer your questions:
>>
>> -
>> "/ssh:admin <at> 192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods"
>> is a regular file, I can open it with LibreOffice Calc (.ods) via Dired
>> - the directory
>> "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/"
>> exists and it is writable
>> - no, same error.
> 
> Well, does the last answer mean that you get the same error, when you
> copy "/tmp/078_crowdknitting.ods" to
> "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/078_crowdknitting.ods"?
> 
> In this case, there's no Tramp problem but something else.
> 
>> Best regards
>>
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Yes, the last answer means I get exactly the same error

Manuel Uberti
<manuel.uberti <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 15:57:02 GMT) Full text and rfc822 format available.

Message #41 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 17:56:17 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:


Hi Manuel,

>> Well, does the last answer mean that you get the same error, when you
>> copy "/tmp/078_crowdknitting.ods" to
>> "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/078_crowdknitting.ods"?
>> 
>> In this case, there's no Tramp problem but something else.
>
> Yes, the last answer means I get exactly the same error

Good to know. This will ease the debugging of the problem for other
people; looks like debugging Tramp is often dedicated just to me ...

OTOH, I'm out of the analysis game; somebody else might take over. My
competence is rather linked to Tramp.

I will change the title of the bug report, removing "Remote".

> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 16:01:02 GMT) Full text and rfc822 format available.

Message #44 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: bug#20662 <20662 <at> debbugs.gnu.org>, 20662 <at> debbugs.gnu.org
Subject: Status: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 18:00:20 +0200
retitle 20662 25.0.50; Copy through Dired fails

thanks




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 16:05:02 GMT) Full text and rfc822 format available.

Message #47 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 18:09:39 +0200
On 28/05/15 17:56, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> 
> Hi Manuel,
> 
>>> Well, does the last answer mean that you get the same error, when you
>>> copy "/tmp/078_crowdknitting.ods" to
>>> "/home/manuel/documents/boccaperta/contabilita/boccaperta/reddito2015/fattureods/078_crowdknitting.ods"?
>>>
>>> In this case, there's no Tramp problem but something else.
>>
>> Yes, the last answer means I get exactly the same error
> 
> Good to know. This will ease the debugging of the problem for other
> people; looks like debugging Tramp is often dedicated just to me ...
> 
> OTOH, I'm out of the analysis game; somebody else might take over. My
> competence is rather linked to Tramp.
> 
> I will change the title of the bug report, removing "Remote".
> 
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Wait a second, I thought you meant "/tmp/078_crowdknitting.ods" on the
remote machine. Doing it from local works fine.

Sorry for the misunderstanding.

Manuel Uberti
<manuel.uberti <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Thu, 28 May 2015 18:43:02 GMT) Full text and rfc822 format available.

Message #50 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Thu, 28 May 2015 20:42:36 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

> Wait a second, I thought you meant "/tmp/078_crowdknitting.ods" on the
> remote machine. Doing it from local works fine.

Well, let's debug Tramp. Please eval (setq tramp-debug 6) and rerun the
test. There will be a Tramp debug buffer, which might tell us the story.

> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Fri, 29 May 2015 13:14:02 GMT) Full text and rfc822 format available.

Message #53 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Fri, 29 May 2015 15:18:18 +0200
On 28/05/15 20:42, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>> Wait a second, I thought you meant "/tmp/078_crowdknitting.ods" on the
>> remote machine. Doing it from local works fine.
> 
> Well, let's debug Tramp. Please eval (setq tramp-debug 6) and rerun the
> test. There will be a Tramp debug buffer, which might tell us the story.
> 
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Hi,

I evaled (setq tramp-debug 6), but there is no debug buffer when trying
to copy. I also toggle debug-on-error on before copying. Am I missing
some setting?

Thanks

Manuel Uberti
<manuel.uberti <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Fri, 29 May 2015 13:18:02 GMT) Full text and rfc822 format available.

Message #56 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Fri, 29 May 2015 15:22:44 +0200
[Message part 1 (text/plain, inline)]
On 28/05/15 20:42, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>> Wait a second, I thought you meant "/tmp/078_crowdknitting.ods" on the
>> remote machine. Doing it from local works fine.
> 
> Well, let's debug Tramp. Please eval (setq tramp-debug 6) and rerun the
> test. There will be a Tramp debug buffer, which might tell us the story.
> 
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Ok, doing (setq tramp-verbose 6) worked.

Find attached the contents of debug buffer.

Regards,


Manuel Uberti
<manuel.uberti <at> inventati.org>
[debug-tramp (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Fri, 29 May 2015 17:52:01 GMT) Full text and rfc822 format available.

Message #59 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Fri, 29 May 2015 19:51:17 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

> Ok, doing (setq tramp-verbose 6) worked.
>
> Find attached the contents of debug buffer.

Well, there we see the error:

> 15:20:00.426281 tramp-send-command (6) # (gzip </home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods | base64) 2>/dev/null; echo tramp_exit_status $?
> 15:20:00.598776 tramp-wait-for-regexp (6) #
> H4sIABPTZlUAA7z7c3hdfdQ1jMZsbNu2k8a2bdt2G6dpbDSNbbMNGtu2bZ+dtPfzvO93fef8eXJ1

[...]

> Trph5TngXwcw7PMDEPL/D44yxE6mbQIA
> tramp_exit_status 0
> ///86d4cea2951efb10b1992a77e8407734#$
> 15:20:00.615227 tramp-sh-handle-file-local-copy (3) # Encoding remote file `/ssh:admin <at> 192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods' with `(gzip <%s | base64)'...done

> 15:20:00.621261 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.1285C2x.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...
> 15:20:00.627375 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.1285C2x.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...failed

Unfortunately, the trace does not tell us what went wrong with
`call-process-region'. I've committed a patch to the Emacs repository
improving the trace. Could you, please, rebuild Emacs and rerun the test
with `tramp-verbose' set to 6? The debug buffer might tell us more then.

> Regards,
>
> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 06:55:02 GMT) Full text and rfc822 format available.

Message #62 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 08:58:59 +0200
[Message part 1 (text/plain, inline)]
On 29/05/15 19:51, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>> Ok, doing (setq tramp-verbose 6) worked.
>>
>> Find attached the contents of debug buffer.
> 
> Well, there we see the error:
> 
>> 15:20:00.426281 tramp-send-command (6) # (gzip </home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods | base64) 2>/dev/null; echo tramp_exit_status $?
>> 15:20:00.598776 tramp-wait-for-regexp (6) #
>> H4sIABPTZlUAA7z7c3hdfdQ1jMZsbNu2k8a2bdt2G6dpbDSNbbMNGtu2bZ+dtPfzvO93fef8eXJ1
> 
> [...]
> 
>> Trph5TngXwcw7PMDEPL/D44yxE6mbQIA
>> tramp_exit_status 0
>> ///86d4cea2951efb10b1992a77e8407734#$
>> 15:20:00.615227 tramp-sh-handle-file-local-copy (3) # Encoding remote file `/ssh:admin <at> 192.168.1.50#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods' with `(gzip <%s | base64)'...done
> 
>> 15:20:00.621261 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.1285C2x.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...
>> 15:20:00.627375 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.1285C2x.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...failed
> 
> Unfortunately, the trace does not tell us what went wrong with
> `call-process-region'. I've committed a patch to the Emacs repository
> improving the trace. Could you, please, rebuild Emacs and rerun the test
> with `tramp-verbose' set to 6? The debug buffer might tell us more then.
> 
>> Regards,
>>
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Sure thing, Michael, find attached the stacktrace.
Hope this helps. And if you need me to do other tests, please ask.

Regads,

Manuel Uberti
<manuel.uberti <at> inventati.org>
[tramp_debug (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 08:20:04 GMT) Full text and rfc822 format available.

Message #65 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 10:19:03 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

>> Unfortunately, the trace does not tell us what went wrong with
>> `call-process-region'. I've committed a patch to the Emacs repository
>> improving the trace. Could you, please, rebuild Emacs and rerun the test
>> with `tramp-verbose' set to 6? The debug buffer might tell us more then.
>
> Sure thing, Michael, find attached the stacktrace.
> Hope this helps. And if you need me to do other tests, please ask.

Unfortunately, the additional traces are not visible:

> 08:57:27.846392 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.13701TQ.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...
> 08:57:27.853406 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.13701TQ.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...failed

Locally, I see traces like this:

10:10:28.329956 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.21069tQL.log' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary)) (default-directory (tramp-compat-temporary-file-directory))) (apply (quote tramp-call-process-region) [ssh nil ford /tmp/.eagent.log nil] (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...
10:10:28.331115 tramp-call-process-region (6) # `gzip -d' 1 2260 t  *temp file*
10:10:28.332384 tramp-call-process-region (6) # 0
10:10:28.373900 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.21069tQL.log' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary)) (default-directory (tramp-compat-temporary-file-directory))) (apply (quote tramp-call-process-region) [ssh nil ford /tmp/.eagent.log nil] (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...done

Have you pulled Emacs from the repository, recompiled, and restarted Emacs?

> Regads,
>
> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 08:27:02 GMT) Full text and rfc822 format available.

Message #68 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 10:31:03 +0200
[Message part 1 (text/plain, inline)]
On 30/05/15 10:19, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>>> Unfortunately, the trace does not tell us what went wrong with
>>> `call-process-region'. I've committed a patch to the Emacs repository
>>> improving the trace. Could you, please, rebuild Emacs and rerun the test
>>> with `tramp-verbose' set to 6? The debug buffer might tell us more then.
>>
>> Sure thing, Michael, find attached the stacktrace.
>> Hope this helps. And if you need me to do other tests, please ask.
> 
> Unfortunately, the additional traces are not visible:
> 
>> 08:57:27.846392 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.13701TQ.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...
>> 08:57:27.853406 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.13701TQ.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...failed
> 
> Locally, I see traces like this:
> 
> 10:10:28.329956 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.21069tQL.log' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary)) (default-directory (tramp-compat-temporary-file-directory))) (apply (quote tramp-call-process-region) [ssh nil ford /tmp/.eagent.log nil] (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...
> 10:10:28.331115 tramp-call-process-region (6) # `gzip -d' 1 2260 t  *temp file*
> 10:10:28.332384 tramp-call-process-region (6) # 0
> 10:10:28.373900 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.21069tQL.log' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary)) (default-directory (tramp-compat-temporary-file-directory))) (apply (quote tramp-call-process-region) [ssh nil ford /tmp/.eagent.log nil] (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...done
> 
> Have you pulled Emacs from the repository, recompiled, and restarted Emacs?
> 
>> Regads,
>>
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Yes, I pulled Emacs from the repository, recompiled, restarted and did
the test.

This is my current Emacs version:

GNU Emacs 25.0.50.2 (i686-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-05-30 on bebop

Head is now on this commit: 56af96e.

I did the test again, find attached the debug trace.

Thank you for your patience on this.


Manuel Uberti
<manuel.uberti <at> inventati.org>
[tramp_debug (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 08:39:02 GMT) Full text and rfc822 format available.

Message #71 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 10:38:00 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

>> Have you pulled Emacs from the repository, recompiled, and restarted Emacs?
>
> Yes, I pulled Emacs from the repository, recompiled, restarted and did
> the test.
>
> This is my current Emacs version:
>
> GNU Emacs 25.0.50.2 (i686-pc-linux-gnu, GTK+ Version 3.14.5)
>  of 2015-05-30 on bebop
>
> Head is now on this commit: 56af96e.

That's OK, my commit was earlier (56af96e54ee2402a07105fe60a5d6c34d697229d).

> I did the test again, find attached the debug trace.

There's still no trace of tramp-call-process-region :-(

Could you, please, check whether you have the proper Tramp version in
the load-path:

(locate-library "tramp-sh")

And in the reported file, there must be at line 5590

		 (apply
		  'tramp-call-process-region ,vec beg end
		  (car (split-string ,compress)) t t nil
		  (cdr (split-string ,compress))))

> Thank you for your patience on this.
>
> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 08:46:02 GMT) Full text and rfc822 format available.

Message #74 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 10:50:29 +0200
On 30/05/15 10:38, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>>> Have you pulled Emacs from the repository, recompiled, and restarted Emacs?
>>
>> Yes, I pulled Emacs from the repository, recompiled, restarted and did
>> the test.
>>
>> This is my current Emacs version:
>>
>> GNU Emacs 25.0.50.2 (i686-pc-linux-gnu, GTK+ Version 3.14.5)
>>  of 2015-05-30 on bebop
>>
>> Head is now on this commit: 56af96e.
> 
> That's OK, my commit was earlier (56af96e54ee2402a07105fe60a5d6c34d697229d).
> 
>> I did the test again, find attached the debug trace.
> 
> There's still no trace of tramp-call-process-region :-(
> 
> Could you, please, check whether you have the proper Tramp version in
> the load-path:
> 
> (locate-library "tramp-sh")
> 
> And in the reported file, there must be at line 5590
> 
> 		 (apply
> 		  'tramp-call-process-region ,vec beg end
> 		  (car (split-string ,compress)) t t nil
> 		  (cdr (split-string ,compress))))
> 
>> Thank you for your patience on this.
>>
>> Manuel Uberti
> 
> Best regards, Michael.
> 

There is no tramp-call-process-region in that file, althoug I saw you
add that function from the log.

I usually build the sources like this:

./configure
make
sudo make install
make clean

Am I doing something wrong?

Manuel Uberti
<manuel.uberti <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 09:04:02 GMT) Full text and rfc822 format available.

Message #77 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 11:03:01 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

> There is no tramp-call-process-region in that file, althoug I saw you
> add that function from the log.

What does "M-x locate-library RET tramp-sh RET" return?

Could you, please, try the following on the file in the Emacs repo
(replace "~/src/emacs" with your local path):

# git status ~/src/emacs/lisp/net/tramp-sh.el
# git log ~/src/emacs/lisp/net/tramp-sh.el

> I usually build the sources like this:
>
> ./configure
> make

Please call directly the built emacs then:

./src/emacs

> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 09:31:03 GMT) Full text and rfc822 format available.

Message #80 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 11:35:13 +0200
[Message part 1 (text/plain, inline)]
On 30/05/15 11:03, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>> There is no tramp-call-process-region in that file, althoug I saw you
>> add that function from the log.
> 
> What does "M-x locate-library RET tramp-sh RET" return?
> 
> Could you, please, try the following on the file in the Emacs repo
> (replace "~/src/emacs" with your local path):
> 
> # git status ~/src/emacs/lisp/net/tramp-sh.el
> # git log ~/src/emacs/lisp/net/tramp-sh.el
> 
>> I usually build the sources like this:
>>
>> ./configure
>> make
> 
> Please call directly the built emacs then:
> 
> ./src/emacs
> 
>> Manuel Uberti
> 
> Best regards, Michael.
> 

> What does "M-x locate-library RET tramp-sh RET" return?
/usr/local/share/emacs/site-lisp/tramp-sh.elc

> Could you, please, try the following on the file in the Emacs repo
> (replace "~/src/emacs" with your local path):

git status lisp/net/tramp-sh.el
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean

git log lisp/net/tramp-sh.el
commit 0a539105a88820548b2038251eb174026341150e
Author: Michael Albinus <michael.albinus <at> gmx.de>
Date:   Fri May 29 19:45:59 2015 +0200

    Improve Tramp traces.

    * lisp/net/tramp.el (tramp-call-process-region): New defun.

    * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.

commit f43306aed9fbfbaa7534f47a92e0176f309e0f30
Author: Michael Albinus <michael.albinus <at> gmx.de>
Date:   Tue May 26 09:35:38 2015 +0200

    Fix Bug#20621

    * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it.  There
    are major modes which set `auto-save-mode' on their own rules;
    Tramp shall not overwrite such settings.

    Fixes: debbugs:20621

commit 175a07a1329eb03176882436af86b3401c91ab77
Author: Michael Albinus <michael.albinus <at> gmx.de>

> Please call directly the built emacs then:
>
> ./src/emacs

Done, and did the test again. Find attached the debug trace.

Kind regards,

Manuel Uberti
<manuel.uberti <at> inventati.org>
[tramp_debug (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 10:01:02 GMT) Full text and rfc822 format available.

Message #83 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 12:00:42 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

>> What does "M-x locate-library RET tramp-sh RET" return?
> /usr/local/share/emacs/site-lisp/tramp-sh.elc

You might check the timestamp, whether it is a recent file.

>> Could you, please, try the following on the file in the Emacs repo
>> (replace "~/src/emacs" with your local path):
>
> git status lisp/net/tramp-sh.el
> On branch master
> Your branch is up-to-date with 'origin/master'.
> nothing to commit, working directory clean
>
> git log lisp/net/tramp-sh.el
> commit 0a539105a88820548b2038251eb174026341150e
> Author: Michael Albinus <michael.albinus <at> gmx.de>
> Date:   Fri May 29 19:45:59 2015 +0200
>
>     Improve Tramp traces.
>
>     * lisp/net/tramp.el (tramp-call-process-region): New defun.
>
>     * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.

Looks good.

>> Please call directly the built emacs then:
>>
>> ./src/emacs
>
> Done, and did the test again. Find attached the debug trace.

Hmm, still my recent change not visible. However, did you call Emacs as
suggested by me? "./src/emacs" directly from the Emacs repository? The
file location above tells something different:
/usr/local/share/emacs/site-lisp/tramp-sh.elc

Anyway, I have improved the traces again, and committed to the
repo. Could you please pull them, recompile Emacs, and call it as
suggested? This time you need (setq tramp-verbose 10)

> Kind regards,
>
> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 10:22:02 GMT) Full text and rfc822 format available.

Message #86 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 12:25:41 +0200
[Message part 1 (text/plain, inline)]
On 30/05/15 12:00, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>>> What does "M-x locate-library RET tramp-sh RET" return?
>> /usr/local/share/emacs/site-lisp/tramp-sh.elc
> 
> You might check the timestamp, whether it is a recent file.
> 
>>> Could you, please, try the following on the file in the Emacs repo
>>> (replace "~/src/emacs" with your local path):
>>
>> git status lisp/net/tramp-sh.el
>> On branch master
>> Your branch is up-to-date with 'origin/master'.
>> nothing to commit, working directory clean
>>
>> git log lisp/net/tramp-sh.el
>> commit 0a539105a88820548b2038251eb174026341150e
>> Author: Michael Albinus <michael.albinus <at> gmx.de>
>> Date:   Fri May 29 19:45:59 2015 +0200
>>
>>     Improve Tramp traces.
>>
>>     * lisp/net/tramp.el (tramp-call-process-region): New defun.
>>
>>     * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
> 
> Looks good.
> 
>>> Please call directly the built emacs then:
>>>
>>> ./src/emacs
>>
>> Done, and did the test again. Find attached the debug trace.
> 
> Hmm, still my recent change not visible. However, did you call Emacs as
> suggested by me? "./src/emacs" directly from the Emacs repository? The
> file location above tells something different:
> /usr/local/share/emacs/site-lisp/tramp-sh.elc
> 
> Anyway, I have improved the traces again, and committed to the
> repo. Could you please pull them, recompile Emacs, and call it as
> suggested? This time you need (setq tramp-verbose 10)
> 
>> Kind regards,
>>
>> Manuel Uberti
> 
> Best regards, Michael.
> 

> Hmm, still my recent change not visible. However, did you call Emacs as
> suggested by me? "./src/emacs" directly from the Emacs repository? The
> file location above tells something different

Yes, but I did "M-x locate-library RET tramp-sh RET" from an already
runnng version of Emacs which I didn't started from that directory.

I rebuilt Emacs, set tramp-verbose to 10 and did the test again. Find
attached the debug trace.

Thanks,

Manuel Uberti
<manuel.uberti <at> inventati.org>
[tramp_debug (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 10:41:02 GMT) Full text and rfc822 format available.

Message #89 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 12:40:25 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

> Yes, but I did "M-x locate-library RET tramp-sh RET" from an already
> runnng version of Emacs which I didn't started from that directory.
>
> I rebuilt Emacs, set tramp-verbose to 10 and did the test again. Find
> attached the debug trace.

Still not what I expect. I'm pretty sure you have an old Tramp version
somewhere in the load-path. What does "M-x list-load-path-shadows"
return wrt Tramp?

> Thanks,
>
> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 14:56:02 GMT) Full text and rfc822 format available.

Message #92 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 17:00:09 +0200
On 30/05/15 12:40, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>> Yes, but I did "M-x locate-library RET tramp-sh RET" from an already
>> runnng version of Emacs which I didn't started from that directory.
>>
>> I rebuilt Emacs, set tramp-verbose to 10 and did the test again. Find
>> attached the debug trace.
> 
> Still not what I expect. I'm pretty sure you have an old Tramp version
> somewhere in the load-path. What does "M-x list-load-path-shadows"
> return wrt Tramp?
> 
>> Thanks,
>>
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Sure thing, here the result:

Moccur Results for `tramp':

shadows:107:/usr/local/share/emacs/site-lisp/tramp-cmds hides
/home/manuel/emacs/emacs/lisp/net/tramp-cmds
shadows:108:/usr/local/share/emacs/site-lisp/tramp-compat hides
/home/manuel/emacs/emacs/lisp/net/tramp-compat
shadows:109:/usr/local/share/emacs/site-lisp/tramp-uu hides
/home/manuel/emacs/emacs/lisp/net/tramp-uu
shadows:110:/usr/local/share/emacs/site-lisp/tramp-cache hides
/home/manuel/emacs/emacs/lisp/net/tramp-cache
shadows:111:/usr/local/share/emacs/site-lisp/tramp-loaddefs hides
/home/manuel/emacs/emacs/lisp/net/tramp-loaddefs
shadows:112:/usr/local/share/emacs/site-lisp/tramp-adb hides
/home/manuel/emacs/emacs/lisp/net/tramp-adb
shadows:113:/usr/local/share/emacs/site-lisp/tramp-gw hides
/home/manuel/emacs/emacs/lisp/net/tramp-gw
shadows:114:/usr/local/share/emacs/site-lisp/tramp-smb hides
/home/manuel/emacs/emacs/lisp/net/tramp-smb
shadows:115:/usr/local/share/emacs/site-lisp/trampver hides
/home/manuel/emacs/emacs/lisp/net/trampver
shadows:116:/usr/local/share/emacs/site-lisp/tramp-gvfs hides
/home/manuel/emacs/emacs/lisp/net/tramp-gvfs
shadows:117:/usr/local/share/emacs/site-lisp/tramp hides
/home/manuel/emacs/emacs/lisp/net/tramp
shadows:118:/usr/local/share/emacs/site-lisp/tramp-ftp hides
/home/manuel/emacs/emacs/lisp/net/tramp-ftp
shadows:119:/usr/local/share/emacs/site-lisp/tramp-sh hides
/home/manuel/emacs/emacs/lisp/net/tramp-sh

Manuel Uberti
<manuel.uberti <at> inventati.org>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Sat, 30 May 2015 17:40:03 GMT) Full text and rfc822 format available.

Message #95 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Sat, 30 May 2015 19:39:47 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

Hi Manuel,

>> Still not what I expect. I'm pretty sure you have an old Tramp version
>> somewhere in the load-path. What does "M-x list-load-path-shadows"
>> return wrt Tramp?
>
> Sure thing, here the result:
>
> Moccur Results for `tramp':
>
> shadows:119:/usr/local/share/emacs/site-lisp/tramp-sh hides
> /home/manuel/emacs/emacs/lisp/net/tramp-sh

Here we are. tramp* files in /usr/local/share/emacs/site-lisp/ hide the
files in the Emacs repository.

Please remove those files from that directory, or change load-path such
a way that the tramp* files from the Emacs repository are loaded.

> Manuel Uberti

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20662; Package emacs. (Mon, 01 Jun 2015 13:02:02 GMT) Full text and rfc822 format available.

Message #98 received at 20662 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20662 <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Mon, 01 Jun 2015 15:01:53 +0200
On 05/30/2015 07:39 PM, Michael Albinus wrote:
> Manuel Uberti <manuel.uberti <at> inventati.org> writes:
> 
> Hi Manuel,
> 
>>> Still not what I expect. I'm pretty sure you have an old Tramp version
>>> somewhere in the load-path. What does "M-x list-load-path-shadows"
>>> return wrt Tramp?
>>
>> Sure thing, here the result:
>>
>> Moccur Results for `tramp':
>>
>> shadows:119:/usr/local/share/emacs/site-lisp/tramp-sh hides
>> /home/manuel/emacs/emacs/lisp/net/tramp-sh
> 
> Here we are. tramp* files in /usr/local/share/emacs/site-lisp/ hide the
> files in the Emacs repository.
> 
> Please remove those files from that directory, or change load-path such
> a way that the tramp* files from the Emacs repository are loaded.
> 
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Hi Michael,

I removed those files and the bug is gone. Just did a test copying both
from and to remote and everything is working fine.

Thank you very much for your patience and your support.

Kind regards,

Manuel Uberti
<manuel.uberti <at> inventati.org>




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Mon, 01 Jun 2015 13:45:03 GMT) Full text and rfc822 format available.

Notification sent to Manuel Uberti <manuel.uberti <at> inventati.org>:
bug acknowledged by developer. (Mon, 01 Jun 2015 13:45:04 GMT) Full text and rfc822 format available.

Message #103 received at 20662-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Uberti <manuel.uberti <at> inventati.org>
Cc: 20662-done <at> debbugs.gnu.org
Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails
Date: Mon, 01 Jun 2015 15:44:31 +0200
Manuel Uberti <manuel.uberti <at> inventati.org> writes:

> Hi Michael,

Hi Manuel,

> I removed those files and the bug is gone. Just did a test copying both
> from and to remote and everything is working fine.

Ahh, good. I'm closing the bug.

> Thank you very much for your patience and your support.
>
> Kind regards,
>
> Manuel Uberti

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Jun 2015 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.