Andrew Nesbit <andrew(a)siru.org> writes:
On 20 Mar 2005, at 17:38, Adrian Aichner wrote:
> Andrew Nesbit <andrew(a)siru.org> writes:
>
>> TRAMP (package version 1.22 from sumo) is unable to find files. I get
>> lots of messages like this:
>>
>> itimer "with-timeout<5>" signaled: (void-function
>> with-timeout-handler)
>>
>> and then:
>>
>> Invalid state: Bogus value for `default-process-coding-system', nil
>
> Sounds remotely familiar.
>
> What are the tramp methods you're using?
The default one, ssh.
Hi!
Another hint:
Get rid of any tramp buffers staying around from previous sessions,
while debugging.
Use
(setq tramp-debug-buffer t)
and see if that reveals any problems in buffers named
*debug tramp/sshx ...
*tramp/sshx ...
or similar.
For the ssh methods I had to specify two -t switches to avoid a
pseudo-terminal not allocated warning.
> Are you using the XEmacs tramp syntax vs. the Emacs tramp syntax?
XEmacs syntax, i.e.:
C-x C-f /[machine.name]:~/ TAB TAB
You're not using that : in the line above, right?
That would not be proper syntax.
etc. Using the Emacs syntax makes efs kick in instead of tramp.
> If you do get a lisp errors, then a lisp backtrace would be helpful:
[snip]
> Provoke the error again.
XEmacs does not hang. Here are the contents of the *Backtrace* buffer:
Debugger entered--Lisp error: (invalid-state "Bogus value for
`default-process-coding-system'" nil)
signal(invalid-state ("Bogus value for
`default-process-coding-system'" nil))
byte-code("..." [buf data kill-buffer signal] 3)
Ah, you should load the .el file instead of the .elc file for a better
*Backtrace*.
Don't know which file it would be in this case, but you could load all
tramp*.el files for debugging.
Good Luck,
Adrian
find-file-noselect("/[ssh/dspmac2.elec.qmul.ac.uk]/Users/andrew/foo")
mapcar(find-file-noselect
("/[ssh/dspmac2.elec.qmul.ac.uk]/Users/andrew/foo"))
find-file-noselect("/[dspmac2.elec.qmul.ac.uk]~/foo" nil nil t)
#<compiled-function (filename &optional codesys wildcards)
"...(53)" [coding-system-for-read wildcards filename codesys value
get-coding-system find-file-noselect nil mapcar switch-to-buffer] 6
1033199 (list (read-file-name "Find file: ") (and current-prefix-arg
...) t)>("/[dspmac2.elec.qmul.ac.uk]~/foo" nil t)
call-interactively(find-file)
HTH,
Andrew
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/