[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp hangs
From: |
Mark Geary |
Subject: |
Re: tramp hangs |
Date: |
Tue, 24 Sep 2019 11:43:52 -0400 (EDT) |
User-agent: |
Alpine 2.21.99999 (BSF 352 2019-06-22) |
On Tue, 24 Sep 2019, Michael Albinus wrote:
Mark Geary <address@hidden> writes:
I also realized that I needed to delete ~/emacs.d/tramp.
(Which, I suppose, is why Tramp had been using /usr/ccs/bin/bash.)
Maybe this led to problems. I see now the errors
--8<---------------cut here---------------start------------->8---
16:57:08.574453 tramp-file-name-handler (1) # Symbol’s value as variable is void: "Symbol's
value as variable is void", "(tramp-inline-compress-start-size)"
16:57:08.574572 tramp-file-name-handler (1) # Symbol’s value as variable is void: "Symbol's
value as variable is void", "(tramp-copy-size-limit)"
16:57:08.574640 tramp-file-name-handler (1) # Symbol’s value as variable is void: "Symbol's
value as variable is void", "(tramp-histfile-override)"
16:57:08.574875 tramp-file-name-handler (1) # Symbol’s value as variable is void: "Symbol's
value as variable is void", "(tramp-use-ssh-controlmaster-options)"
--8<---------------cut here---------------end--------------->8---
Instead of removing ~/emacs.d/tramp, you might call "M-x
tramp-cleanup-all-connections".
This is safer.
Thanks. I see now the error
--8<---------------cut here---------------start------------->8---
16:57:15.722371 tramp-barf-unless-okay (1) # File error: ‘( (test -e /home/mag43/.profile || test -h
/home/mag43/.profile) && (env QUOTING_STYLE=locale /usr/bin/stat -c '((/////%N/////) %h %u %g
%X %Y %Z %s /////%A///// t %i -1)' /home/mag43/.profile | sed -e 's/"/\\"/g' -e
's/\/\/\/\/\//"/g') || echo nil)’ returns with error
bash: null: command not found
--8<---------------cut here---------------end--------------->8---
The command is shorter than 250 chars, so it must be something
different. "stat" is still involved, I start to believe we shall simply
ban stat for remote Solaris.
The line you quote appears to be Emacs talking about a previous command it
issued to the shell. I think that previous command has
" 2>/dev/null; echo tramp_exit_status $?"
appended to the end of the text you quote. The offending text ("null")
starts with the 258th character. That doesn't show us clearly where the
problem is, but I don't think it lets us rule out line length as a factor.
I`ve prepared another patch, which does it. Pls remove the first patch,
and install this instead. And run "M-x tramp-cleanup-all-connections"
before testing.
Thanks, the new patch works, however
+ ;; stat on Solaris is buggy. We've got reports for "SunOS 5.10"
+ ;; and "SunOS 5.11" so far.
I think the actual problem is more subtle than that, but I don't have a
better solution at this time.
Mark
txtSYfU3j8rcN.txt
Description: Text document
- Re: tramp hangs, (continued)
- Re: tramp hangs, Michael Albinus, 2019/09/18
- Re: tramp hangs, Mark Geary, 2019/09/18
- Re: tramp hangs, Michael Albinus, 2019/09/19
- Re: tramp hangs, Mark Geary, 2019/09/19
- Re: tramp hangs, Michael Albinus, 2019/09/19
- Re: tramp hangs, Mark Geary, 2019/09/20
- Re: tramp hangs, Michael Albinus, 2019/09/20
- Re: tramp hangs, Michael Albinus, 2019/09/21
- Re: tramp hangs, Mark Geary, 2019/09/23
- Re: tramp hangs, Michael Albinus, 2019/09/24
- Re: tramp hangs,
Mark Geary <=
- Re: tramp hangs, Michael Albinus, 2019/09/24