Subject: bug#22478: 25.1.50; tramp error: Wrong method specification for ‘scp’

From: Sam Steingold <[email-masked]>
Date: Thu, 25 Aug 2016 10:03:27 -0400

> * Michael Albinus <[email-masked]> [2016-08-25 11:09:54 +0200]:
>
> Sam Steingold <[email-masked]> writes:
>
> As workaround, you might deactivate it for that machine. Like this:
>
> (add-to-list 'tramp-connection-properties '("podval" "perl" nil))

Now I get

--8<---------------cut here---------------start------------->8---
09:50:21.251021 tramp-get-connection-property (7) # check-remote-echo nil
09:50:21.251093 tramp-wait-for-regexp (6) # 
503
tramp_exit_status 0
///f5d1a93737065072f3fb8a21f0ff2ac0#$
09:50:21.251204 tramp-get-connection-property (7) # process-buffer nil
09:50:21.251292 tramp-get-connection-property (7) # process-buffer nil
09:50:21.251376 tramp-set-connection-property (7) # gid-integer 503
09:50:21.251452 tramp-get-connection-property (7) # process-name nil
09:50:21.251523 tramp-get-connection-property (7) # device undef
09:50:21.251589 tramp-get-connection-property (7) # process-name nil
09:50:21.251662 tramp-set-connection-property (7) # device (-1 . 1)
09:50:21.251771 tramp-set-file-property (8) # /home/sds/.newsrc file-attributes-integer (nil 1 503 503 (0 0) (0 0) (0 0) 7139 -rw------- nil (622 . 4) (-1 . 1))
09:50:21.252271 tramp-sh-handle-file-newer-than-file-p (10) # 
  backtrace()
  tramp-sh-handle-file-newer-than-file-p(#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc")
  apply(tramp-sh-handle-file-newer-than-file-p (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc"))
  tramp-sh-file-name-handler(file-newer-than-file-p #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc")
  apply(tramp-sh-file-name-handler file-newer-than-file-p (#("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc"))
  tramp-file-name-handler(file-newer-than-file-p #("/scp:podval:/home/sds/.newsrc" 1 4 (tramp-default t)) "/Users/sds/.newsrc")
  file-newer-than-file-p("/podval:~/.newsrc" "~/.newsrc")
  sds-mirror("~/.newsrc" "/podval:~/.newsrc")
  sds-push-gnus-startup()
  run-hooks(gnus-after-exiting-gnus-hook)
  apply(run-hooks gnus-after-exiting-gnus-hook)
  gnus-run-hooks(gnus-after-exiting-gnus-hook)
  gnus-group-exit()
  funcall-interactively(gnus-group-exit)
  call-interactively(gnus-group-exit nil nil)
  command-execute(gnus-group-exit)
09:50:21.252386 tramp-sh-handle-file-newer-than-file-p (1) # File error: Files /scp:podval:/home/sds/.newsrc and /Users/sds/.newsrc must have same method, user, host
503
--8<---------------cut here---------------end--------------->8---

thanks!

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1404
http://www.childpsy.net/ http://truepeace.org http://dhimmi.org
http://honestreporting.com http://www.dhimmitude.org http://ffii.org
War has never solved anything - except for ending Slavery, Nazism,
Communism.