Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mutt says "mailcap entry for type image/jpeg not found"

153 views
Skip to first unread message

Kingsley G. Morse Jr.

unread,
Mar 9, 1997, 3:00:00 AM3/9/97
to

Does anyone know how to fix a

mailcap entry for type image/jpeg not found

after you press the <enter> key to select a mail item in Mutt's index screen?
My mailcap file definitely has an image/jpeg entry, and I've tried dozens
of mailcap_paths, file permissions, owners and mailcap contents....
I'm using Mutt 0.61 on Debian Linux 2.0.27.

Thanks!
--
If email to me bounces, make sure you removed NOSPAM from my address.

Sven Guckes

unread,
Mar 10, 1997, 3:00:00 AM3/10/97
to

change...@nas.com (Kingsley G. Morse Jr.):
> Does anyone know how to fix [the error]

> "mailcap entry for type image/jpeg not found"

Well, let Mutt know which program you prefer to apply to JPEGs.
Enter type and program info to the mailcap, ie $HOME/.mailcap :

image/gif; xv %s &
image/jpeg; xv %s &

> I'm using Mutt 0.61 on Debian Linux 2.0.27.

Mutt-0.65 is out! See the ChangeLogs on my Mutt page:

http://www.math.fu-berlin.de/~guckes/mutt/#history

Yes, I know I should upgrade, too. ;-)

Sven

--
Sven Guckes guc...@math.fu-berlin.de using MUTT 0.64 [970228]| MUTT - a cool
MUTT WOOF! ,, http://www.math.fu-berlin.de/~guckes/mutt/ |mailer for UNIX
MUTT (__/'. http://www.math.fu-berlin.de/~guckes/mutt/vs.elm.html
MUTT /| |\ http://www.math.fu-berlin.de/~guckes/mutt/pictures.html

Ollivier Robert

unread,
Mar 10, 1997, 3:00:00 AM3/10/97
to

In article <slrn5i7r45...@banach.math.fu-berlin.de>,

Sven Guckes <guc...@math.fu-berlin.de> wrote:
> Mutt-0.65 is out! See the ChangeLogs on my Mutt page:
>
> http://www.math.fu-berlin.de/~guckes/mutt/#history
>
> Yes, I know I should upgrade, too. ;-)

Don't forget to take the important patches for 0.65 at

<URL:http://mutt.frmug.org/>
--
Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivie...@eurocontrol.fr
Mutt: faster, smaller & better than Elm. <URL:http://www.cs.hmc.edu/~me/mutt/>

Kingsley G. Morse Jr.

unread,
Mar 10, 1997, 3:00:00 AM3/10/97
to

change...@nas.com (Kingsley G. Morse Jr.) writes:

>Does anyone know how to fix a

> mailcap entry for type image/jpeg not found

>after you press the <enter> key to select a mail item in Mutt's index screen?


>My mailcap file definitely has an image/jpeg entry, and I've tried dozens
>of mailcap_paths, file permissions, owners and mailcap contents....

>I'm using Mutt 0.61 on Debian Linux 2.0.27.

I found a bug or two in Mutt's processing of its ~/.muttrc file. (Mutt version
0.61 on Debian Linux 2.0.27)

When I used the configuration lines

set mailcap_path="/etc/mailcap"

and

set editor="vim"

among others in my ~/.muttrc file and press the <enter> key to look at a
jpeg mime email message in Mutt's index screen, I get the error message

mailcap entry for type image/jpeg not found

even though there's definitely an image/jpeg entry in my mailcap file. When
I commented out the mailcap_path variable and tried again, I got

No mailcap path specified

until I commented out the editor variable, at which point pressing <enter>
worked and the mime message was displayed.

I suspect a bug or two in the ~/.muttrc processing where the stack is
corrupted, possibly during the processing of the editor and mailcap_path
variables.

PS: I already had the environment variable $EDITOR defined as vim, and when
I ran Mutt under strace I found that without the mailcap_path configuration
variable set, it was looking in /etc/mailcap and ~/.mailcap for configuration
info by default.

0 new messages