Gnus development mailing list
 help / color / mirror / Atom feed
* Searching for program: no such file or directory, w3m
@ 2008-05-12 15:22 Óscar Fuentes
  2008-05-12 19:29 ` Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: Óscar Fuentes @ 2008-05-12 15:22 UTC (permalink / raw)
  To: ding


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.

-- 
Oscar




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Searching for program: no such file or directory, w3m
  2008-05-12 15:22 Searching for program: no such file or directory, w3m Óscar Fuentes
@ 2008-05-12 19:29 ` Reiner Steib
  2008-05-12 20:15   ` Óscar Fuentes
  0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2008-05-12 19:29 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: ding

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.

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.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Searching for program: no such file or directory, w3m
  2008-05-12 19:29 ` Reiner Steib
@ 2008-05-12 20:15   ` Óscar Fuentes
  0 siblings, 0 replies; 3+ messages in thread
From: Óscar Fuentes @ 2008-05-12 20:15 UTC (permalink / raw)
  To: Reiner Steib; +Cc: ding

[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-12 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-12 15:22 Searching for program: no such file or directory, w3m Óscar Fuentes
2008-05-12 19:29 ` Reiner Steib
2008-05-12 20:15   ` Óscar Fuentes

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).