* 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@.,\bB.\vB.ÉÊ!.\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\vt.\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