Gnus development mailing list
 help / color / mirror / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: Reiner Steib <Reiner.Steib@gmx.de>
Cc: ding@gnus.org
Subject: Re: Searching for program: no such file or directory, w3m
Date: Mon, 12 May 2008 22:15:14 +0200	[thread overview]
Message-ID: <k5hz2sa5.fsf@telefonica.net> (raw)
In-Reply-To: <v9mymvwcbt.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Mon, 12 May 2008 21:29:26 +0200")

[-- Attachment #1: Type: text/plain, Size: 1747 bytes --]

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Mon, May 12 2008, Óscar Fuentes wrote:
>
>> While displaying some e-mail messages, gnus shows
>>
>> Searching for program: no such file or directory, w3m
>>
>> and this on the *Messages* buffer:
>>
>> mm-inline-text-html-render-with-w3m-standalone: Searching for program:
>> no such file or directory, w3m
>>
>> I'm using Gnus 5.13 on Emacs GNU Emacs 23.0.60.1 (i386-mingw-nt5.0.2195)
>> of 2008-03-21
>>
>> I have no references to w3m on .emacs or .gnus.el.
>>
>> This only happens after some time of using Emacs. If I start a new Emacs
>> session, Gnus shows the message correctly.
>
> I don't have an idea why it happens only sometimes, unless your Emacs
> can find the w3m binary when loading mm-decode, but not later when
> displaying the article.

There is no w3m on my system (I played with it long time ago, but
removed it). However, Emacs insists on creating an empty .w3m directory
on my $HOME.

> On 2008-03-02, I've changed `mm-text-html-renderer' to prefer w3m if
> available:
>
> 	* mm-decode.el (mm-text-html-renderer): Prefer w3m over w3.  Fall back
> 	to nil, instead of html2text.
>
> This was synced to Emacs on 2008-03-10, so your Emacs also contains
> it:
>
> (defcustom mm-text-html-renderer
>   (cond ((executable-find "w3m")
> 	 (if (locate-library "w3m")
> 	     'w3m
> 	   'w3m-standalone))
> 	((executable-find "links") 'links)
> 	((executable-find "lynx") 'lynx)
> 	((locate-library "w3") 'w3)
> 	((locate-library "html2text") 'html2text)
> 	(t nil))
> [...]
>
> Maybe showing us the backtrace might help.  Set `debug-on-error' to t
> (M-x toggle-debug-on-error RET), repeat the error and post the
> backtrace.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/plain, Size: 3491 bytes --]


Debugger entered--Lisp error: (file-error "Searching for program" "no such file or directory" "w3m")
  call-process-region(1 1990 "w3m" "c:/Temp/ema02604" t nil "-dump" "-T" "text/html" "-I" "iso-8859-1" "-O" "iso-8859-1")
  mm-inline-text-html-render-with-w3m-standalone((#<buffer  *mm*<4>> ("text/html" (charset . "iso-8859-1")) quoted-printable nil nil nil nil nil))
  mm-inline-text-html((#<buffer  *mm*<4>> ("text/html" (charset . "iso-8859-1")) quoted-printable nil nil nil nil nil))
  mm-display-inline((#<buffer  *mm*<4>> ("text/html" (charset . "iso-8859-1")) quoted-printable nil nil nil nil nil))
  mm-display-part((#<buffer  *mm*<4>> ("text/html" (charset . "iso-8859-1")) quoted-printable nil nil nil nil nil))
  byte-code("Œ\bƒ.\0\b@\bA†.\0\b@bˆÆyˆ`}ˆed|ˆÇ	!ˆÈ C.\v\f‰.A@)‰.,„4.\f@.,\b„B.\vƒB.ÉÊ!„.\x01Ë`‰.-ÌÍ..\"cˆ`ÎÏÐÑ\b?ÒÓÔ.\x13DEEÕÔ\fDÔ.,DÔ\nD..¯.FÖ./.0.1×.2Ø..ÙBBBBBBBBBB#ˆÚÛ.-`ÜÝÞ.3&\aˆ	‰A.@‰.4ƒ.\x01Ë`‰.-Ìß.4\všƒ±.à‚².á.4‰.4@;ƒÂ.\x0e4@‚Ç.\x0e4A@@)#cˆ`ÎÏâÑ\b?ÒÓÔ.\x13DEEÕÔ\fDÔ.4DÔ\nD..¯.FÖ./.0.1×.2Ø..ã.4¯\f#ˆÚÛ.-`ÜÝÞ.3&\aˆäcˆ‚”.åcˆ\vƒt.\v@;ƒ%.æ\v!ˆ‚l.\x0e5r.6qˆ.7).8.9ç\v!ˆŠŒ\n@d}ˆèé.\x13Gê.:@!ƒO.ë‚S.\x0e:GS.4‰.4@;ƒc.\x0e4@‚h.\x0e4A@@)$ˆ,dbˆ\nÈ ¡ˆ)é‡" [ibegend handles begend preferred ihandles x 2 mm-remove-parts point-marker gnus-unbuttonized-mime-type-p "multipart/alternative" gnus-add-text-properties format "%d.  " gnus-callback lambda (handles) unless setq gnus-article-mime-handle-alist quote gnus-mime-display-alternative keymap face gnus-part (article-type multipart) widget-convert-button link :action gnus-widget-press-button :button-keymap "(%c) %-18s" 42 32 (handles) gnus-data "  " "\n\n" gnus-display-mime mm-display-part gnus-treat-article nil bufferp 1 not-pref from id gnus-mime-button-map gnus-mouse-face-prop gnus-article-mouse-face ...] 16)
  gnus-mime-display-alternative(((#<buffer  *mm*<3>> ("text/plain" ...) 8bit nil nil nil nil nil) (#<buffer  *mm*<4>> ("text/html" ...) quoted-printable nil nil nil nil nil)) nil nil 1)
  gnus-mime-display-part((#("multipart/alternative" 0 21 (boundary "----=_NextPart_001_0001_01C89430.EEC2E430" buffer #<buffer  *mm*<2>> from "info@salgadofrutas.com" start nil)) (#<buffer  *mm*<3>> ("text/plain" ...) 8bit nil nil nil nil nil) (#<buffer  *mm*<4>> ("text/html" ...) quoted-printable nil nil nil nil nil)))
  mapcar(gnus-mime-display-part ((#("multipart/alternative" 0 21 ...) (#<buffer  *mm*<3>> ... 8bit nil nil nil nil nil) (#<buffer  *mm*<4>> ... quoted-printable nil nil nil nil nil)) (#<buffer  *mm*<5>> ("text/plain" ...) quoted-printable nil ("attachment" ...) nil nil nil)))
  gnus-mime-display-mixed(((#("multipart/alternative" 0 21 ...) (#<buffer  *mm*<3>> ... 8bit nil nil nil nil nil) (#<buffer  *mm*<4>> ... quoted-printable nil nil nil nil nil)) (#<buffer  *mm*<5>> ("text/plain" ...) quoted-printable nil ("attachment" ...) nil nil nil)))
  gnus-mime-display-part((#("multipart/mixed" 0 15 (boundary "----=_NextPart_000_0000_01C89430.EEC2E430" buffer #<buffer  *mm*> from "info@salgadofrutas.com" start nil)) (#("multipart/alternative" 0 21 ...) (#<buffer  *mm*<3>> ... 8bit nil nil nil nil nil) (#<buffer  *mm*<4>> ... quoted-printable nil nil nil nil nil)) (#<buffer  *mm*<5>> ("text/plain" ...) quoted-printable nil ("attachment" ...) nil nil nil)))
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(1 nil)
  gnus-summary-display-article(1 nil)
  gnus-summary-select-article(nil nil pseudo)
  gnus-summary-scroll-up(1)
  call-interactively(gnus-summary-scroll-up nil nil)

-- 
Oscar

      reply	other threads:[~2008-05-12 20:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-12 15:22 Óscar Fuentes
2008-05-12 19:29 ` Reiner Steib
2008-05-12 20:15   ` Óscar Fuentes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=k5hz2sa5.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).