Thanks very much for your help Michael. On Thu, 2007-10-25 at 16:08 +0200, Michael Albinus wrote: > Martin Flack <[EMAIL PROTECTED]> writes: > > > This part still works - I am prompted for a password, it logs in, and > > I get a dired. When I try to open a directory, it works, but when I > > try to open a file, it either appears empty or I get this error: > > Wrong type argument: stringp, nil > > Could you, please, (setq debug-on-error t) before starting Tramp? When > the error occurs, I'ld like to see the resulting backtrace.
I'm attaching a backtrace. Let me know if that's all you need. > However, there is also something strange in the traces you've sent: > > > 00:22:38 tramp-send-command (6) # test -d /home/martin/tmp/ 2>/dev/null; > > echo tramp_exit_status $? > > 00:22:38 tramp-wait-for-regexp (6) # > > tramp_exit_status 1 > > Tramp believes that /home/martin/tmp/ is your temp directory on the > remote host. Tramp checks for this directory and finds out that it > doesn't exists. But then ... > > > 00:22:38 tramp-send-command (6) # cp -f /home/mflack/vc/work/stable2repo > > /home/martin/tmp/tramp.7153K4U > > 00:22:38 tramp-wait-for-regexp (6) # > > cp: cannot create regular file `/home/martin/tmp/tramp.7153K4U': No such > > file or directory > > ... Tramp seems to ignore this knowledge. Locally, my temporary folder is /home/martin/tmp. On the server I'm having problems with, it's /tmp (or more likely not set). I unset $TMP, $TEMP, and $TMPDIR locally and tried again - this time it seems to do the copy ok, but stops on chown. The problem is that 1000 is my UID locally, but it's 503 remotely, so 1000 fails as one would expect. 00:49:13 tramp-send-command (6) # chown 1000:1000 /tmp/tramp.11158IHX.pm 00:49:13 tramp-get-connection-property (7) # process-name nil 00:49:13 tramp-get-connection-property (7) # chunksize 0 00:49:13 tramp-set-connection-property (7) # last-cmd-time (18209 29129 128154) 00:49:13 tramp-get-connection-property (7) # process-buffer nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-get-connection-property (7) # check-remote-echo nil 00:49:13 tramp-wait-for-regexp (6) # chown: changing ownership of `/tmp/tramp.11158IHX.pm': Operation not permitted Cheers, Martin
backtrace
Description: Binary data
_______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
