* Gnus and Tramp
@ 2006-10-19 21:38 Oliver Heins
2006-10-20 2:15 ` Katsumi Yamaoka
0 siblings, 1 reply; 3+ messages in thread
From: Oliver Heins @ 2006-10-19 21:38 UTC (permalink / raw)
I realized that tramp and Gnus don't work really well together. I often
run in problems when using both at the same time. Mostly, I can't
connect to the remote file anymore if I'm running Gnus and cease to work
on the file for some time.
Conversely, if I'm visiting a tramp buffer and then try to start Gnus, it
won't start but hang with an error. I then get this error message:
,----
| Loading gnus-start...
| tramp-handle-executable-find: Wrong type argument: arrayp, tramp-default-remote-path
`----
Here's the backtrace:
,----
| Debugger entered--Lisp error: (wrong-type-argument arrayp tramp-default-remote-path)
| tramp-find-executable([cl-struct-tramp-file-name "scp" nil "cryptix.de" nil] "w3m" (tramp-default-remote-path "/usr/sbin" "/usr/local/bin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin") t)
| tramp-handle-executable-find("w3m")
| apply(tramp-handle-executable-find "w3m")
| (setq ad-return-value (apply (quote tramp-handle-executable-find) (list command)))
| (if (eq (tramp-find-foreign-file-name-handler default-directory) (quote tramp-sh-file-name-handler)) (setq ad-return-value (apply ... ...)) (setq ad-return-value (ad-Orig-executable-find command)))
| (let (ad-return-value) (if (eq ... ...) (setq ad-return-value ...) (setq ad-return-value ...)) ad-return-value)
| executable-find("w3m")
| (cond ((locate-library "w3") (quote w3)) ((executable-find "w3m") (if ... ... ...)) ((executable-find "links") (quote links)) ((executable-find "lynx") (quote lynx)) (t (quote html2text)))
| eval((cond ((locate-library "w3") (quote w3)) ((executable-find "w3m") (if ... ... ...)) ((executable-find "links") (quote links)) ((executable-find "lynx") (quote lynx)) (t (quote html2text))))
| custom-initialize-reset(mm-text-html-renderer (cond ((locate-library "w3") (quote w3)) ((executable-find "w3m") (if ... ... ...)) ((executable-find "links") (quote links)) ((executable-find "lynx") (quote lynx)) (t (quote html2text))))
| custom-declare-variable(mm-text-html-renderer (cond ((locate-library "w3") (quote w3)) ((executable-find "w3m") (if ... ... ...)) ((executable-find "links") (quote links)) ((executable-find "lynx") (quote lynx)) (t (quote html2text))) ("/usr/share/emacs/22.0.50/lisp/gnus/mm-decode.elc" . 3631) :version "22.1" :type (choice (const w3) (const w3m) (const w3m-standalone) (const links) (const lynx) (const html2text) (const nil) (function)) :group mime-display)
| require(mm-decode)
| byte-code("ÀÁ!ÀÂ!ÀÃ!ÀÄ!ÀÅ!ÆÇÈ\"ÆÉÊ\"ÆËÌ\"ÆÍÎ\"ÆÏÐ\"ÆÑÒ\"ÆÓÔ\"ÆÕÖ\"Æ×Ø\"" [require mm-util mm-bodies mm-encode mm-decode mml-sec autoload message-make-message-id "message" gnus-setup-posting-charset "gnus-msg" gnus-add-minor-mode "gnus-ems" gnus-make-local-hook "gnus-util" message-fetch-field "message" message-info "message" fill-flowed-encode "flow-fill" message-posting-charset "message" dnd-get-local-file-name "dnd"] 3)
| require(mml)
| byte-code("ÀÁ!ÀÂ!ÀÃ!ÀÄ!ÀÅ!ÀÆ!ÀÇ!ÀÈ!ÉÊË\"ÉÌÍ\"ÉÎÏ\"ÐÑÒÓÔÕÖ×ÖØ& ÙÚÛÜ#ÙÝÛÜ#ÐÞßàÔáÖÑ&\aÐâßãÔäÖÑ&\aÐåßæÔçÖÑ&\aÐèßéÔêÖÑ&\aÐëßìÔíÖè&\aÐîßïÔðÖÑ&\aÐñßòÔóÖÑ&\aÐôßõÖÑ%Ðöß÷ÖÑ%ÐøßùÖÑÖú&\a" [require canlock mailheader gmm-utils nnheader mailabbrev mail-parse mml rfc822 autoload gnus-find-method-for-group "gnus" nnvirtual-find-group-art "nnvirtual" gnus-group-decoded-name "gnus-group" custom-declare-group message ((user-mail-address custom-variable) (user-full-name custom-variable)) "Mail and news message composing." :link (custom-manual "(message)Top") :group mail news put user-mail-address custom-type string user-full-name message-various nil "Various Message Variables." (custom-manual "(message)Various Message Variables") message-buffers "Message Buffers." (custom-manual "(message)Message Buffers") message-sending "Message Sending." (custom-manual "(message)Sending Variables") message-interface "Message Interface." (custom-manual "(message)Interface") message-forwarding "Message Forwarding." (custom-manual "(message)Forwarding") message-insertion "Message Insertion." (custom-manual "(message)Insertion") message-headers ...] 10)
| require(message)
| byte-code("ÀÁ!ÀÂ!ÀÃ!ÄÅÆ\"ÄÇÈ\"ÄÉÊ\"" [require gnus message gnus-range autoload gnus-agent-expire "gnus-agent" gnus-agent-regenerate-group "gnus-agent" gnus-agent-read-servers-validate-native "gnus-agent"] 3)
| require(gnus-int)
| byte-code("ÀÁ!ÀÂ!ÀÃ!ÀÄ!ÀÅ!ÀÆ!ÇÈÉ\"ÇÊË\"ÇÌÍ\"ÇÎÏ\"" [require gnus gnus-win gnus-int gnus-spec gnus-range gnus-util autoload message-make-date "message" gnus-agent-read-servers-validate "gnus-agent" gnus-agent-save-local "gnus-agent" gnus-agent-possibly-alter-active "gnus-agent"] 3)
| gnus-1(nil nil nil)
| gnus(nil)
| call-interactively(gnus)
| execute-extended-command(nil)
| call-interactively(execute-extended-command)
`----
olli
--
GnuPG-Key: http://www.sopos.org/pgp/olli.asc
GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8 2544 0F07 B675 9A00 D827
NP: Nothing
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Gnus and Tramp
2006-10-19 21:38 Gnus and Tramp Oliver Heins
@ 2006-10-20 2:15 ` Katsumi Yamaoka
2006-10-20 8:30 ` Oliver Heins
0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2006-10-20 2:15 UTC (permalink / raw)
>>>>> In <87wt6wdlzu.fsf@sopos.org> Oliver Heins wrote:
> I realized that tramp and Gnus don't work really well together. I often
> run in problems when using both at the same time. Mostly, I can't
> connect to the remote file anymore if I'm running Gnus and cease to work
> on the file for some time.
> Conversely, if I'm visiting a tramp buffer and then try to start Gnus, it
> won't start but hang with an error. I then get this error message:
> ,----
>| Loading gnus-start...
>| tramp-handle-executable-find: Wrong type argument: arrayp, tramp-default-remote-path
> `----
> Here's the backtrace:
[...]
>| tramp-handle-executable-find("w3m")
I don't know where `tramp-handle-executable-find' comes from.
[...]
>| (if (eq (tramp-find-foreign-file-name-handler default-directory) (quote tramp-sh-file-name-handler)) (setq ad-return-value (apply ... ...)) (setq ad-return-value (ad-Orig-executable-find command)))
The function `executable-find' is advised in some way, however I
couldn't find out what does it in Emacs 22 and emacs-w3m. It
might be in your ~/.emacs file or in the other version of Tramp
which is not that of Emacs 22. What do you get with the command
`C-h f executable-find RET'?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Gnus and Tramp
2006-10-20 2:15 ` Katsumi Yamaoka
@ 2006-10-20 8:30 ` Oliver Heins
0 siblings, 0 replies; 3+ messages in thread
From: Oliver Heins @ 2006-10-20 8:30 UTC (permalink / raw)
Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>>> In <87wt6wdlzu.fsf@sopos.org> Oliver Heins wrote:
>
>> Here's the backtrace:
>
> [...]
>>| tramp-handle-executable-find("w3m")
>
> I don't know where `tramp-handle-executable-find' comes from.
>
> [...]
>>| (if (eq (tramp-find-foreign-file-name-handler default-directory) (quote tramp-sh-file-name-handler)) (setq ad-return-value (apply ... ...)) (setq ad-return-value (ad-Orig-executable-find command)))
>
> The function `executable-find' is advised in some way, however I
> couldn't find out what does it in Emacs 22 and emacs-w3m. It
> might be in your ~/.emacs file or in the other version of Tramp
> which is not that of Emacs 22. What do you get with the command
> `C-h f executable-find RET'?
,----[ C-h f executable-find RET ]
| executable-find is a compiled Lisp function in `files.el'.
| (executable-find COMMAND)
|
| Search for COMMAND in `exec-path' and return the absolute file name.
| Return nil if COMMAND is not found anywhere in `exec-path'.
|
| [back]
`----
olli@athene:~$ locate files.el
/usr/share/emacs/22.0.50/lisp/files.elc
/usr/share/emacs/22.0.50/lisp/files.el.gz
/var/lib/auctex/emacscvs/verbatimfiles.elc
So it obviously comes with Emacs 22. However:
,----[ C-h v tramp-version RET ]
| tramp-version is a variable defined in `trampver.el'.
| Its value is "2.1.6"
|
| Documentation:
| This version of Tramp.
|
| [back]
`----
olli@athene:~$ apt-cache policy tramp
tramp:
Installiert:1:2.1.6-1
Mögliche Pakete:1:2.1.6-1
Versions-Tabelle:
1:2.1.7-1 0
1 ftp://ftp.de.debian.org experimental/main Packages
*** 1:2.1.6-1 0
100 /var/lib/dpkg/status
1:2.0.54-2 0
500 ftp://ftp.de.debian.org unstable/main Packages
The version coming with Emacs 22 seems to be 2.0.54, which is the same
version as in Debian unstable. I can't remember installing an
experimental version of tramp, so this looks a little bit weird to me.
I'd better go and remove that version and stick with that coming with
emacs.
However, perhaps the tramp developers are interested in a backtrace. I
will upgrade to 2.1.7 and try again, and eventually write a bug report.
Thanks,
olli
--
GnuPG-Key: http://www.sopos.org/pgp/olli.asc
GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8 2544 0F07 B675 9A00 D827
NP: Nothing
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-20 8:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-19 21:38 Gnus and Tramp Oliver Heins
2006-10-20 2:15 ` Katsumi Yamaoka
2006-10-20 8:30 ` Oliver Heins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).