GNU bug report logs - #22478
25.1.50; tramp error: Wrong method specification for ‘scp’

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Wed, 27 Jan 2016 19:25:02 UTC

Severity: normal

Tags: moreinfo

Found in version 25.1.50

Fixed in version 26.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sam Steingold <sds <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 22478 <at> debbugs.gnu.org
Subject: bug#22478: 25.1.50; tramp error: Wrong method specification for ‘scp’
Date: Tue, 23 Aug 2016 17:21:52 -0400
> * Michael Albinus <zvpunry.nyovahf <at> tzk.qr> [2016-08-23 08:25:22 +0200]:
>
> Sam Steingold <sds <at> gnu.org> writes:
>
>> alas, I see the same problem with the current git tip
>
> What a pity.
>
> Could you also pls apply the second patch from my last email, and send
> the traces again? I would like to know what happens with tramp_perl_file_attributes.

here you go...

--8<---------------cut here---------------start------------->8---
17:18:02.604028 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.604107 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.604197 tramp-wait-for-regexp (6) # 
tramp_exit_status 2
///f5d1a93737065072f3fb8a21f0ff2ac0#$
17:18:02.604306 tramp-get-connection-property (7) # process-buffer nil
17:18:02.605036 tramp-barf-unless-okay (10) # 
  backtrace()
  tramp-error([#("scp" 0 3 (tramp-default t)) nil "podval" "/mnt/data/home/sds/.newsrc" nil] file-error "`%s' returns with error" "tramp_perl_file_attributes /mnt/data/home/sds/.newsrc integer")
  apply(tramp-error [#("scp" 0 3 (tramp-default t)) nil "podval" "/mnt/data/home/sds/.newsrc" nil] file-error "`%s' returns with error" "tramp_perl_file_attributes /mnt/data/home/sds/.newsrc integer")
  tramp-barf-unless-okay([#("scp" 0 3 (tramp-default t)) nil "podval" "/mnt/data/home/sds/.newsrc" nil] "tramp_perl_file_attributes /mnt/data/home/sds/.newsrc integer" "`%s' returns with error" "tramp_perl_file_attributes /mnt/data/home/sds/.newsrc integer")
  tramp-send-command-and-read([#("scp" 0 3 (tramp-default t)) nil "podval" "/mnt/data/home/sds/.newsrc" nil] "tramp_perl_file_attributes /mnt/data/home/sds/.newsrc integer")
  tramp-do-file-attributes-with-perl([#("scp" 0 3 (tramp-default t)) nil "podval" "/mnt/data/home/sds/.newsrc" nil] "/mnt/data/home/sds/.newsrc" integer)
  tramp-sh-handle-file-attributes(#("/scp:podval:/mnt/data/home/sds/.newsrc" 1 4 (tramp-default t)))
  apply(tramp-sh-handle-file-attributes #("/scp:podval:/mnt/data/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-sh-file-name-handler(file-attributes #("/scp:podval:/mnt/data/home/sds/.newsrc" 1 4 (tramp-default t)))
  apply(tramp-sh-file-name-handler file-attributes #("/scp:podval:/mnt/data/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-file-name-handler(file-attributes #("/scp:podval:/mnt/data/home/sds/.newsrc" 1 4 (tramp-default t)))
  file-attributes(#("/scp:podval:/mnt/data/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-sh-handle-file-local-copy(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  apply(tramp-sh-handle-file-local-copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-sh-file-name-handler(file-local-copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  apply(tramp-sh-file-name-handler file-local-copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-file-name-handler(file-local-copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  file-local-copy(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-handle-insert-file-contents(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil)
  apply(tramp-handle-insert-file-contents (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil))
  tramp-sh-file-name-handler(insert-file-contents #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil)
  apply(tramp-sh-file-name-handler insert-file-contents (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil))
  tramp-file-name-handler(insert-file-contents #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil)
  insert-file-contents(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil)
  insert-file-contents-literally(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-do-copy-or-rename-file-via-buffer(copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t)
  tramp-do-copy-or-rename-file(copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil)
  tramp-sh-handle-copy-file(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil)
  apply(tramp-sh-handle-copy-file (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil))
  tramp-sh-file-name-handler(copy-file #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil)
  apply(tramp-sh-file-name-handler copy-file (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil))
  tramp-file-name-handler(copy-file #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil)
  copy-file("/podval:~/.newsrc" "~/.newsrc" t t)
  sds-mirror("/podval:~/.newsrc" "~/.newsrc")
  sds-pull-gnus-startup()
  run-hooks(gnus-before-startup-hook)
  apply(run-hooks gnus-before-startup-hook)
  gnus-run-hooks(gnus-before-startup-hook)
  gnus-1(nil nil nil)
  gnus(nil)
  funcall-interactively(gnus nil)
  call-interactively(gnus record nil)
  command-execute(gnus record)
  execute-extended-command(nil "gnus" "gnus")
  funcall-interactively(execute-extended-command nil "gnus" "gnus")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
17:18:02.605281 tramp-barf-unless-okay (1) # File error: ‘tramp_perl_file_attributes /mnt/data/home/sds/.newsrc integer’ returns with error
17:18:02.605364 tramp-get-connection-property (7) # process-name nil
17:18:02.605440 tramp-get-connection-property (7) # remote-encoding undef
17:18:02.605509 tramp-get-connection-property (7) # process-name nil
17:18:02.605587 tramp-find-inline-encoding (5) # Checking local encoding function ‘base64-encode-region’
17:18:02.605647 tramp-find-inline-encoding (5) # Checking local decoding function ‘base64-decode-region’
17:18:02.605706 tramp-find-inline-encoding (5) # Checking remote encoding command ‘base64’ for sanity
17:18:02.605783 tramp-get-connection-property (7) # process-name nil
17:18:02.605854 tramp-get-connection-property (7) # process-name nil
17:18:02.605918 tramp-get-connection-property (7) # process-buffer nil
17:18:02.605993 tramp-get-connection-property (7) # last-cmd-time (22460 48522 585813 0)
17:18:02.606074 tramp-get-connection-property (7) # process-name nil
17:18:02.606147 tramp-get-connection-property (7) # remote-echo nil
17:18:02.606214 tramp-send-command (6) # ( base64 </dev/null 2>/dev/null; echo tramp_exit_status $? )
17:18:02.606278 tramp-get-connection-property (7) # process-name nil
17:18:02.606351 tramp-get-connection-property (7) # chunksize 0
17:18:02.606420 tramp-set-connection-property (7) # last-cmd-time (22460 48522 606398 0)
17:18:02.606505 tramp-send-string (10) # ( base64 </dev/null 2>/dev/null; echo tramp_exit_status $? )
17:18:02.606571 tramp-get-connection-property (7) # process-buffer nil
17:18:02.606679 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.606759 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.606838 tramp-get-connection-property (7) # gateway nil
17:18:02.625136 tramp-accept-process-output (10) # *tramp/scp podval* run *tramp/scp podval*
tramp_exit_status 0
///f5d1a93737065072f3fb8a21f0ff2ac0#$
17:18:02.625355 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.625480 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.625619 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///f5d1a93737065072f3fb8a21f0ff2ac0#$
17:18:02.625803 tramp-get-connection-property (7) # process-buffer nil
17:18:02.625935 tramp-find-inline-encoding (5) # Checking remote decoding command ‘base64 -d -i’ for sanity
17:18:02.626089 tramp-get-connection-property (7) # process-name nil
17:18:02.626170 tramp-get-connection-property (7) # process-name nil
17:18:02.626241 tramp-get-connection-property (7) # process-buffer nil
17:18:02.626317 tramp-get-connection-property (7) # last-cmd-time (22460 48522 606398 0)
17:18:02.626409 tramp-get-connection-property (7) # process-name nil
17:18:02.626488 tramp-get-connection-property (7) # remote-echo nil
17:18:02.626554 tramp-send-command (6) # ( echo xyzzy | base64 | base64 -d -i 2>/dev/null; echo tramp_exit_status $? )
17:18:02.626621 tramp-get-connection-property (7) # process-name nil
17:18:02.626694 tramp-get-connection-property (7) # chunksize 0
17:18:02.626766 tramp-set-connection-property (7) # last-cmd-time (22460 48522 626744 0)
17:18:02.626847 tramp-send-string (10) # ( echo xyzzy | base64 | base64 -d -i 2>/dev/null; echo tramp_exit_status $? )
17:18:02.626916 tramp-get-connection-property (7) # process-buffer nil
17:18:02.627026 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.627107 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.627184 tramp-get-connection-property (7) # gateway nil
17:18:02.646349 tramp-accept-process-output (10) # *tramp/scp podval* run *tramp/scp podval*
xyzzy
tramp_exit_status 0
///f5d1a93737065072f3fb8a21f0ff2ac0#$
17:18:02.646465 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.646550 tramp-get-connection-property (7) # check-remote-echo nil
17:18:02.646631 tramp-wait-for-regexp (6) # 
xyzzy
tramp_exit_status 0
///f5d1a93737065072f3fb8a21f0ff2ac0#$
17:18:02.646749 tramp-get-connection-property (7) # process-buffer nil
17:18:02.646841 tramp-find-inline-encoding (5) # Using local encoding ‘base64-encode-region’
17:18:02.646915 tramp-set-connection-property (7) # local-encoding base64-encode-region
17:18:02.646978 tramp-find-inline-encoding (5) # Using local decoding ‘base64-decode-region’
17:18:02.647048 tramp-set-connection-property (7) # local-decoding base64-decode-region
17:18:02.647118 tramp-find-inline-encoding (5) # Using remote encoding ‘base64’
17:18:02.647189 tramp-set-connection-property (7) # remote-encoding base64
17:18:02.647257 tramp-find-inline-encoding (5) # Using remote decoding ‘base64 -d -i’
17:18:02.647328 tramp-set-connection-property (7) # remote-decoding base64 -d -i
17:18:02.647396 tramp-get-connection-property (7) # process-name nil
17:18:02.647466 tramp-get-connection-property (7) # remote-encoding base64
17:18:02.647529 tramp-get-connection-property (7) # process-name nil
17:18:02.647598 tramp-set-connection-property (7) # remote-encoding base64
17:18:02.647685 tramp-get-connection-property (7) # process-name nil
17:18:02.647756 tramp-get-connection-property (7) # local-decoding base64-decode-region
17:18:02.649393 tramp-get-connection-property (7) # copy-program undef
17:18:02.649969 tramp-sh-handle-file-local-copy (10) # 
  backtrace()
  tramp-sh-handle-file-local-copy(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  apply(tramp-sh-handle-file-local-copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-sh-file-name-handler(file-local-copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  apply(tramp-sh-file-name-handler file-local-copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-file-name-handler(file-local-copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  file-local-copy(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-handle-insert-file-contents(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil)
  apply(tramp-handle-insert-file-contents (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil))
  tramp-sh-file-name-handler(insert-file-contents #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil)
  apply(tramp-sh-file-name-handler insert-file-contents (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil))
  tramp-file-name-handler(insert-file-contents #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil)
  insert-file-contents(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) nil nil nil nil)
  insert-file-contents-literally(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)))
  tramp-do-copy-or-rename-file-via-buffer(copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t)
  tramp-do-copy-or-rename-file(copy #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil)
  tramp-sh-handle-copy-file(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil)
  apply(tramp-sh-handle-copy-file (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil))
  tramp-sh-file-name-handler(copy-file #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil)
  apply(tramp-sh-file-name-handler copy-file (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil))
  tramp-file-name-handler(copy-file #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc" t t nil nil)
  copy-file("/podval:~/.newsrc" "~/.newsrc" t t)
  sds-mirror("/podval:~/.newsrc" "~/.newsrc")
  sds-pull-gnus-startup()
  run-hooks(gnus-before-startup-hook)
  apply(run-hooks gnus-before-startup-hook)
  gnus-run-hooks(gnus-before-startup-hook)
  gnus-1(nil nil nil)
  gnus(nil)
  funcall-interactively(gnus nil)
  call-interactively(gnus record nil)
  command-execute(gnus record)
  execute-extended-command(nil "gnus" "gnus")
  funcall-interactively(execute-extended-command nil "gnus" "gnus")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
17:18:02.650116 tramp-sh-handle-file-local-copy (1) # File error: Wrong method specification for ‘scp’
xyzzy
17:18:02.650859 tramp-handle-insert-file-contents (3) # Inserting ‘/scp:podval:/home/sds/.newsrc’...failed
17:18:02.651429 tramp-do-copy-or-rename-file (0) # Copying /scp:podval:/home/sds/.newsrc to /Users/sds/.newsrc...failed
--8<---------------cut here---------------end--------------->8---

thanks!

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1404
http://www.childpsy.net/ http://islamexposedonline.com http://dhimmi.org
http://honestreporting.com http://think-israel.org http://www.dhimmitude.org
You can have it good, soon or cheap.  Pick two...




This bug report was last modified 8 years and 172 days ago.

Previous Next


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