<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #1668: Very irritating error ("bad IDN") when an unknown



#1668: Very irritating error ("bad IDN") when an unknown charset (eg. typo:
"ise-8859-1") is specified

Changes (by brendan):

  * component:  mutt => charset
  * milestone:  => 1.6

Old description:

> {{{
> Package: mutt
> Version: 1.5.4+20030913
> Severity: normal
>

> -- Please type your report below this line
>
> Hi,
>
> I had a typo in the charset ("ise-8859-1" instead of "iso-8859-1") and
> was
> very confused about the error message "bad IDN" when trying to send a new
> message.
>
> There should be a more self-explaining error-message and the fallback to
> ascii doesn't seem to work.
>
> - Alexander
>

> -- System Information
> System Version: Linux necromancer 2.4.22-ben2 #2 Wed Sep 24 17:59:07 CEST
> 2003 ppc GNU/Linux
>
> -- 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
> cc
> Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.3.2/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.2 20030908 (Debian prerelease)
>
> - CFLAGS
> -Wall -pedantic -g -O2
>
> -- Mutt Version Information
>
> Mutt 1.5.4i (2003-03-19)
> 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.22-ben2 (ppc) [using ncurses 5.3] [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  +IMAP_EDIT_THREADS  -USE_GSS  -USE_SSL  +USE_GNUTLS
> +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  +COMPRESSED  +HAVE_WC_FUNCS
> +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID
> +HAVE_GETADDRINFO
> ISPELL="/usr/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/share/mutt"
> SYSCONFDIR="/etc"
> EXECSHELL="/bin/sh"
> MIXMASTER="mixmaster"
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the flea(1) utility.
>
> patch-1.5.4.vk.pgp_verbose_mime
> patch-1.5.3.rr.compressed.1
> patch-1.3.23.1.ametzler.pgp_good_sign
> patch-1.5.1.cd.edit_threads.9.2
> patch-1.5.3.Md.gpg_status_fd
> patch-1.4.Md.gpg-agent
> patch-1.5.3.Md.etc_mailname_gethostbyname
> patch-1.3.27.bse.xtitles.1
> Md.use_debian_editor
> Md.muttbug
> patch-1.4.admcd.gnutlsdlopen.53d
> patch-1.4.admcd.gnutlsbuild.53d
> patch-1.4.admcd.gnutls.56d
>

> >How-To-Repeat:
> >Fix:
> }}}

New description:

 {{{
 Package: mutt
 Version: 1.5.4+20030913
 Severity: normal


 -- Please type your report below this line

 Hi,

 I had a typo in the charset ("ise-8859-1" instead of "iso-8859-1") and was
 very confused about the error message "bad IDN" when trying to send a new
 message.

 There should be a more self-explaining error-message and the fallback to
 ascii doesn't seem to work.

 - Alexander


 -- System Information
 System Version: Linux necromancer 2.4.22-ben2 #2 Wed Sep 24 17:59:07 CEST
 2003 ppc GNU/Linux

 -- 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
 cc
 Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.3.2/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.2 20030908 (Debian prerelease)

 - CFLAGS
 -Wall -pedantic -g -O2

 -- Mutt Version Information

 Mutt 1.5.4i (2003-03-19)
 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.22-ben2 (ppc) [using ncurses 5.3] [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  +IMAP_EDIT_THREADS  -USE_GSS  -USE_SSL  +USE_GNUTLS
 +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  +COMPRESSED  +HAVE_WC_FUNCS
 +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
 +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID
 +HAVE_GETADDRINFO
 ISPELL="/usr/bin/ispell"
 SENDMAIL="/usr/sbin/sendmail"
 MAILPATH="/var/mail"
 PKGDATADIR="/usr/share/mutt"
 SYSCONFDIR="/etc"
 EXECSHELL="/bin/sh"
 MIXMASTER="mixmaster"
 To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
 To report a bug, please use the flea(1) utility.

 patch-1.5.4.vk.pgp_verbose_mime
 patch-1.5.3.rr.compressed.1
 patch-1.3.23.1.ametzler.pgp_good_sign
 patch-1.5.1.cd.edit_threads.9.2
 patch-1.5.3.Md.gpg_status_fd
 patch-1.4.Md.gpg-agent
 patch-1.5.3.Md.etc_mailname_gethostbyname
 patch-1.3.27.bse.xtitles.1
 Md.use_debian_editor
 Md.muttbug
 patch-1.4.admcd.gnutlsdlopen.53d
 patch-1.4.admcd.gnutlsbuild.53d
 patch-1.4.admcd.gnutls.56d


 >How-To-Repeat:
 >Fix:
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/1668#comment:2>