From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: (wrong-type-argument arrayp nil) in IDNA code
Date: Wed, 07 May 2003 16:22:01 +0200 [thread overview]
Message-ID: <iluaddy6dme.fsf@latte.josefsson.org> (raw)
In-Reply-To: <k8zznlyhp41.fsf@slsf86.stgl.sel.alcatel.de> (Colin Marquardt's message of "Wed, 07 May 2003 15:18:22 +0200")
Colin Marquardt <c.marquardt@alcatel.de> writes:
> Hi,
>
> I got the gnus-CURRENT-20030506 CVS snapshot (after running Oort
> 0.12 succesfully) and now encounter a problem when wanting to send
> mail. Here is the backtrace:
>
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
> substring(nil -1)
> (string= (substring string (1- ...)) "\n")
> (if (string= (substring string ...) "\n") (substring string 0 (1- ...)) string)
> (if (null proc) (error "Cannot start idn application") (idna-to-ascii-response-clear) (process-send-string proc (concat str "\n")) (setq string (idna-to-ascii-response)) (if (string= ... "\n") (substring string 0 ...) string))
> (let ((proc ...) string) (if (null proc) (error "Cannot start idn application") (idna-to-ascii-response-clear) (process-send-string proc ...) (setq string ...) (if ... ... string)))
> idna-to-ascii("alcatel.de")
Try this patch:
--- idna.el.~1.3.~ Wed Feb 26 19:26:31 2003
+++ idna.el Wed May 7 16:19:55 2003
@@ -152,7 +152,7 @@
(idna-to-ascii-response-clear)
(process-send-string proc (concat str "\n"))
(setq string (idna-to-ascii-response))
- (if (string= (substring string (1- (length string))) "\n")
+ (if (and string (string= (substring string (1- (length string))) "\n"))
(substring string 0 (1- (length string)))
string))))
@@ -166,7 +166,7 @@
(idna-to-unicode-response-clear)
(process-send-string proc (concat str "\n"))
(setq string (idna-to-unicode-response))
- (if (string= (substring string (1- (length string))) "\n")
+ (if (and string (string= (substring string (1- (length string))) "\n"))
(substring string 0 (1- (length string)))
string))))
> I don't have any of the IDN support installed.
>
> gnus-use-idna's value is t
I think you have idna.el installed, at least, since gnus-use-idna is
nil if you don't.
> I guess I can easily customize these variables to be nil, but things
> should work out of the box. This is on a Solaris 5.8 machine in case
> it matters. I don't think I have anything suspicious in my setup, but
> I'm wondering why other people don't have this problem apparently?
They probably don't have idna.el installed, or have both idna.el and
the idn command line utility installed,
next prev parent reply other threads:[~2003-05-07 14:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-07 13:18 Colin Marquardt
2003-05-07 14:22 ` Simon Josefsson [this message]
2003-05-07 14:54 ` Colin Marquardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=iluaddy6dme.fsf@latte.josefsson.org \
--to=jas@extundo.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).