bug#1852: marked as done (mutt-1.5.6i: Can't view images with MIME-encoded filename)
Your message dated Tue, 13 Apr 2004 23:15:15 +0200
with message-id <20040413211515.GA15212@xxxxxxxxxxxxx>
and subject line bug#1852: mutt-1.5.6i: Can't view images with MIME-encoded
filename
has caused the attached bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Herr der Kaefer
(administrator, GUUG bugs database)
--------------------------------------
Received: (at submit) by bugs.guug.de; 13 Apr 2004 13:47:50 +0000
>From vincent@xxxxxxxxxx Tue Apr 13 15:47:48 2004
Received: from jlefevre.net1.nerim.net ([80.65.226.245] helo=ay.vinc17.org)
by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
id 1BDOGR-0001hO-00
for <submit@xxxxxxxxxxxx>; Tue, 13 Apr 2004 15:47:47 +0200
Received: from lefevre by ay.vinc17.org with local (Exim 4.30)
id 1BDOIn-0001f3-Hp; Tue, 13 Apr 2004 15:50:13 +0200
From: vincent@xxxxxxxxxx
Subject: mutt-1.5.6i: Can't view images with MIME-encoded filename
To: submit@xxxxxxxxxxxx
Message-Id: <E1BDOIn-0001f3-Hp@xxxxxxxxxxxxx>
Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
Date: Tue, 13 Apr 2004 15:50:13 +0200
X-Spam-Status: No, hits=-102.9 required=4.0
tests=AWL,BAYES_10,NO_REAL_NAME,UPPERCASE_25_50,USER_IN_WHITELIST
version=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
Package: mutt
Version: 1.5.5.1-200401
Severity: normal
-- Please type your report below this line
I received a message with JPEG attachments like:
--0__=CEBBE4F5DFC6A5ED8f9e8a93df938690918cCEBBE4F5DFC6A5ED
Content-type: image/jpeg;
name="=?iso-8859-1?Q?128-2801=5FIMG.JPG?="
Content-Disposition: attachment;
filename="=?iso-8859-1?Q?128-2801=5FIMG.JPG?="
Content-Transfer-Encoding: base64
[base64 encoded file]
When I try to view the image, nothing happens.
-- Build environment information
(Note: This is the build environment installed on the system
muttbug is run on. Information may or may not match the environment
used to build mutt.)
- gcc version information
gcc
Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.3.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib
--enable-objc-gc --disable-multilib powerpc-linux
Thread model: posix
gcc version 3.3.3 (Debian 20040401)
- CFLAGS
-Wall -pedantic -g -O2
-- Mutt Version Information
Mutt 1.5.6i (2004-02-01)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 2.4.18-newpmac (ppc) [using ncurses 5.4] [using libidn 0.1.14
(compiled with 0.1.14)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL -USE_SETGID -USE_DOTLOCK -DL_STANDALONE
+USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP -USE_GSS +USE_SSL -USE_SASL -USE_SASL2
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME
+BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +HAVE_GETADDRINFO
ISPELL="/usr/local/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/home/lefevre/Mail"
PKGDATADIR="/home/lefevre/share/mutt"
SYSCONFDIR="/home/lefevre/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.
patch-1.3.24.ats.parent_match.1
patch-1.5.1.vl.savehist.1
---------------------------------------
Received: (at 1852-done) by bugs.guug.de; 13 Apr 2004 21:12:53 +0000
>From vincent@xxxxxxxxxx Tue Apr 13 23:12:50 2004
Received: from jlefevre.net1.nerim.net ([80.65.226.245] helo=ay.vinc17.org)
by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
id 1BDVD8-00040M-00
for <1852-done@xxxxxxxxxxxx>; Tue, 13 Apr 2004 23:12:50 +0200
Received: from lefevre by ay.vinc17.org with local (Exim 4.30)
id 1BDVFT-00044b-Fg; Tue, 13 Apr 2004 23:15:15 +0200
Date: Tue, 13 Apr 2004 23:15:15 +0200
From: Vincent Lefevre <vincent@xxxxxxxxxx>
To: Christoph Berg <cb@xxxxxxxxxxxxxxxx>, 1852-done@xxxxxxxxxxxx
Subject: Re: bug#1852: mutt-1.5.6i: Can't view images with MIME-encoded filename
Message-ID: <20040413211515.GA15212@xxxxxxxxxxxxx>
References: <E1BDOIn-0001f3-Hp@xxxxxxxxxxxxx> <20040413202004.GB23590@xxxxxxxx>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20040413202004.GB23590@xxxxxxxx>
X-Mailer-Info: http://www.vinc17.org/mutt/
User-Agent: Mutt/1.5.6i
Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
X-Spam-Status: No, hits=-104.8 required=4.0
tests=AWL,BAYES_20,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,
USER_IN_WHITELIST
autolearn=ham version=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
On 2004-04-13 22:20:04 +0200, Christoph Berg wrote:
> Do you have a .mailcap entry for that filetype? For example:
>
> image/*; xv '%s'; test=test -n "$DISPLAY"
Yes:
image/*; gimv %s
Ditto without that and using the one in /etc/mailcap:
image/jpeg; gimv '%s'; test=test -n "$DISPLAY"
Looking at this more closely, I can see that an error message
is displayed by gimv, but it immediately disappears (so that
it was difficult to see):
** (gimv:15192): WARNING **: No image file is specified!!
Hmmm... I've changed the .mailcap entry to
image/*; echo %s && sleep 60
Then I get the filename: /var/tmp/__iso-8859-1_Q_128-2801_5FIMG.JPG__
The file exists and is a JPEG file (according to the "file" command)
as expected, but gimv refuses to open it! In fact, one needs the -e
option to ignore the extension so that gimv can open the file (silly
default...). So, I'm closing the bug.
Regards,
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA