[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.1.11-pre); upgrade to gutsy and cannot open files on one se

From: Michael Albinus
Subject: Re: tramp (2.1.11-pre); upgrade to gutsy and cannot open files on one server
Date: Thu, 25 Oct 2007 16:08:03 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux)

Martin Flack <address@hidden> 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.

According to the Tramp Changelog, there was a fix on October 3rd which
*might* be related to your problem. But it's not for sure. (Your Emacs
build is dated October 1st).

> I can use tramp to get into other servers ok, but they are all Ubuntu
> servers and don't need port forwarding, so it's not a good test. It
> does prove that the tramp setup on my local machine works under the
> right circumstances.

Hmm. Ports shall be relevant during connection setup only. When you
open a file, they are not involved anymore I believe.

> Everything worked fine in the past, using Alexandre's Feisty package,
> which I believe is the same emacs version but tramp 2.0.56.

You are using Tramp 2.1 now. The codebase is seriously different.

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.

Could you, please, check what's up with /home/martin/tmp/? And I will
check how Tramp handles the temporary directory issue.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]