GNU bug report logs - #16873
24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))

Previous Next

Package: emacs;

Reported by: Xue Fuqiao <xfq <at> gnu.org>

Date: Tue, 25 Feb 2014 08:38:02 UTC

Severity: important

Found in version 24.3.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16873 in the body.
You can then email your comments to 16873 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Tue, 25 Feb 2014 08:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xue Fuqiao <xfq <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 25 Feb 2014 08:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xue Fuqiao <xfq <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Tue, 25 Feb 2014 16:36:54 +0800
[Message part 1 (text/plain, inline)]
To reproduce:

  emacs -Q
  M-x describe-package RET debbugs RET

Then Emacs signals an error, the backtrace is attached.



In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6)
 of 2014-02-22 on xfq-ThinkPad-X1-Carbon
Repository revision: 116520 rgm <at> gnu.org-20140221202402-urj7ytxmtclsvg5u
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description:	Ubuntu 13.10

Configured using:
 `configure --enable-checking --disable-silent-rules
 --enable-gtk-deprecation-warnings'

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

[backtrace.txt (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Tue, 25 Feb 2014 17:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Xue Fuqiao <xfq <at> gnu.org>
Cc: 16873 <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Tue, 25 Feb 2014 12:22:14 -0500
Can't reproduce this with current trunk and elpa descriptions.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Tue, 25 Feb 2014 20:55:02 GMT) Full text and rfc822 format available.

Message #11 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Xue Fuqiao <xfq <at> gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 16873 <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Tue, 25 Feb 2014 21:54:02 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> Can't reproduce this with current trunk and elpa descriptions.

Same here. However, I have debbugs installed from elp - maybe this makes
a difference. Do you have it installed?

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Tue, 25 Feb 2014 22:29:02 GMT) Full text and rfc822 format available.

Message #14 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Xue Fuqiao <xfq <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Glenn Morris <rgm <at> gnu.org>, 16873 <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Wed, 26 Feb 2014 06:28:00 +0800
Michael Albinus <michael.albinus <at> gmx.de> writes:
>> Can't reproduce this with current trunk and elpa descriptions.
>
> Same here. However, I have debbugs installed from elp - maybe this makes
> a difference. Do you have it installed?

Yes.  I'll try the current trunk later.

-- 
http://www.gnu.org/software/emacs/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Tue, 25 Feb 2014 22:34:01 GMT) Full text and rfc822 format available.

Message #17 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Xue Fuqiao <xfq <at> gnu.org>
Cc: 16873 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Tue, 25 Feb 2014 17:33:10 -0500
Xue Fuqiao wrote:

> Yes.  I'll try the current trunk later.

I imagine the issue is with your (stale?) local copy of

   .emacs.d/elpa/archives/gnu/archive-contents

rather than with your version of emacs.

Sounds like

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16222




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Wed, 26 Feb 2014 08:06:02 GMT) Full text and rfc822 format available.

Message #20 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Xue Fuqiao <xfq <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Xue Fuqiao <xfq <at> gnu.org>, 16873 <at> debbugs.gnu.org,
 Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Wed, 26 Feb 2014 16:05:35 +0800
Glenn Morris <rgm <at> gnu.org> writes:
>> Yes.  I'll try the current trunk later.

I see the same problem with the current trunk.

> I imagine the issue is with your (stale?) local copy of
>
>    .emacs.d/elpa/archives/gnu/archive-contents
>
> rather than with your version of emacs.
>
> Sounds like
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16222

Perhaps.  What should I do?  Delete that file?  Or is there a cleaner way?

-- 
http://www.gnu.org/software/emacs/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Wed, 26 Feb 2014 16:53:01 GMT) Full text and rfc822 format available.

Message #23 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Xue Fuqiao <xfq <at> gnu.org>
Cc: 16873 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Wed, 26 Feb 2014 11:52:01 -0500
Xue Fuqiao wrote:

> Perhaps.  What should I do?  Delete that file?  Or is there a cleaner way?

I suggest you start by deleting it, yes.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Wed, 26 Feb 2014 22:34:02 GMT) Full text and rfc822 format available.

Message #26 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Xue Fuqiao <xfq <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Xue Fuqiao <xfq <at> gnu.org>, 16873 <at> debbugs.gnu.org,
 Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Thu, 27 Feb 2014 06:33:28 +0800
Glenn Morris <rgm <at> gnu.org> writes:
>> What should I do?  Delete that file?  Or is there a cleaner way?
>
> I suggest you start by deleting it, yes.

Deleting and regenerating it didn't work.

-- 
http://www.gnu.org/software/emacs/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Thu, 27 Feb 2014 16:58:02 GMT) Full text and rfc822 format available.

Message #29 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Xue Fuqiao <xfq <at> gnu.org>
Cc: 16873 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Thu, 27 Feb 2014 11:57:51 -0500
Xue Fuqiao wrote:

> Glenn Morris <rgm <at> gnu.org> writes:
>>> What should I do?  Delete that file?  Or is there a cleaner way?
>>
>> I suggest you start by deleting it, yes.
>
> Deleting and regenerating it didn't work.

OK, I'm out of ideas. You'll have to debug why this happens for you.




Reply sent to Xue Fuqiao <xfq <at> gnu.org>:
You have taken responsibility. (Thu, 27 Feb 2014 22:32:02 GMT) Full text and rfc822 format available.

Notification sent to Xue Fuqiao <xfq <at> gnu.org>:
bug acknowledged by developer. (Thu, 27 Feb 2014 22:32:02 GMT) Full text and rfc822 format available.

Message #34 received at 16873-done <at> debbugs.gnu.org (full text, mbox):

From: Xue Fuqiao <xfq <at> gnu.org>
To: 16873-done <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Fri, 28 Feb 2014 06:31:10 +0800
Thanks anyway.  Closing.




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Feb 2014 10:54:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Fri, 28 Feb 2014 10:59:01 GMT) Full text and rfc822 format available.

Message #39 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Xue Fuqiao <xfq <at> gnu.org>
Cc: 16873 <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Fri, 28 Feb 2014 11:58:45 +0100
Hi,

I re-opened the bug because I had it too, and was now able to reproduce
it. The problems lies in
~/.emacs.d/elpa/debbugs-0.6/debbugs-pkg.el

Here's how to reproduce:

NEWHOME=/tmp/a-new-home/
mkdir $NEWHOME
HOME=$NEWHOME emacs -Q --eval '(progn (setq debug-on-error t) 
(package-initialize) (package-refresh-contents) (package-install (quote 
debbugs)) (describe-package (quote debbugs)))'

I hope this helps other to reproduce.

-- 
Nico.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Fri, 21 Mar 2014 17:11:02 GMT) Full text and rfc822 format available.

Message #42 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: Xue Fuqiao <xfq <at> gnu.org>, 16873 <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument
 char-or-string-p ("comm" "hypermedia"))
Date: Fri, 21 Mar 2014 18:09:38 +0100
I see this bug.

The problem is that the package description before installing a
package has a quoted list, and after installing it, isn't quoted:

;;; Before installing debbugs

[cl-struct-package-desc
 debbugs
 (0 6)
 "SOAP library to access debbugs servers"
 nil
 tar
 "gnu"
 nil
 ((:keywords quote ("comm" "hypermedia"))
  (:url . "http://elpa.gnu.org/packages/debbugs.html"))
 nil]

;;; After installing debbugs

[cl-struct-package-desc
 debbugs
 (0 6)
 "SOAP library to access debbugs servers"
 nil
 nil
 nil
 "c:/devel/emacs/site-lisp/elpa/debbugs-0.6"
 ((:url . "http://elpa.gnu.org/packages/debbugs.html")
  (:keywords ("comm" "hypermedia")))
 nil]

so package-desc--keywords gets confused.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Fri, 21 Mar 2014 19:49:01 GMT) Full text and rfc822 format available.

Message #45 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: Xue Fuqiao <xfq <at> gnu.org>, Nicolas Richard <theonewiththeevillook <at> yahoo.fr>,
 16873 <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Fri, 21 Mar 2014 15:47:56 -0400
>  ((:keywords quote ("comm" "hypermedia"))

This one looks incorrect.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Fri, 21 Mar 2014 20:03:02 GMT) Full text and rfc822 format available.

Message #48 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Xue Fuqiao <xfq <at> gnu.org>, Nicolas Richard <theonewiththeevillook <at> yahoo.fr>,
 16873 <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument
 char-or-string-p ("comm" "hypermedia"))
Date: Fri, 21 Mar 2014 21:01:58 +0100
On Fri, Mar 21, 2014 at 8:47 PM, Stefan Monnier
<monnier <at> iro.umontreal.ca> wrote:

>>  ((:keywords quote ("comm" "hypermedia"))
>
> This one looks incorrect.

OK, but then, why does package-desc--keywords explicitly check for it?
Perhaps hysterical raisins?

(defun package-desc--keywords (pkg-desc)
  (let ((keywords (cdr (assoc :keywords (package-desc-extras pkg-desc)))))
    (if (eq (car-safe keywords) 'quote)
        (nth 1 keywords)
      keywords)))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Fri, 21 Mar 2014 20:06:01 GMT) Full text and rfc822 format available.

Message #51 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Xue Fuqiao <xfq <at> gnu.org>, Nicolas Richard <theonewiththeevillook <at> yahoo.fr>,
 16873 <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument
 char-or-string-p ("comm" "hypermedia"))
Date: Fri, 21 Mar 2014 21:04:30 +0100
On Fri, Mar 21, 2014 at 9:01 PM, Juanma Barranquero <lekktu <at> gmail.com> wrote:

>> This one looks incorrect.

Also, that's how it is stored in elpa/archives/gnu/archive-contents:

(debbugs .
          [(0 6)
           nil "SOAP library to access debbugs servers" tar
           ((:keywords quote
                       ("comm" "hypermedia"))
            (:url . "http://elpa.gnu.org/packages/debbugs.html"))])




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Fri, 21 Mar 2014 22:04:01 GMT) Full text and rfc822 format available.

Message #54 received at 16873 <at> debbugs.gnu.org (full text, mbox):

From: Stefan <monnier <at> iro.umontreal.ca>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: Xue Fuqiao <xfq <at> gnu.org>, Nicolas Richard <theonewiththeevillook <at> yahoo.fr>,
 16873 <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Fri, 21 Mar 2014 18:03:53 -0400
> Also, that's how it is stored in elpa/archives/gnu/archive-contents:

> (debbugs .
>           [(0 6)
>            nil "SOAP library to access debbugs servers" tar
>            ((:keywords quote
>                        ("comm" "hypermedia"))
>             (:url . "http://elpa.gnu.org/packages/debbugs.html"))])

Hmm... that's also an error.
The quote is only needed&useful on the (define-package ... :keywords
'("comm" "hypermedia") ...) form.


        Stefan




Reply sent to Dmitry Gutov <dgutov <at> yandex.ru>:
You have taken responsibility. (Sat, 22 Mar 2014 08:47:02 GMT) Full text and rfc822 format available.

Notification sent to Xue Fuqiao <xfq <at> gnu.org>:
bug acknowledged by developer. (Sat, 22 Mar 2014 08:47:02 GMT) Full text and rfc822 format available.

Message #59 received at 16873-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: Xue Fuqiao <xfq <at> gnu.org>, Nicolas Richard <theonewiththeevillook <at> yahoo.fr>,
 16873-done <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#16873: 24.3.50;
 `describe-package' error: (wrong-type-argument char-or-string-p
 ("comm" "hypermedia"))
Date: Sat, 22 Mar 2014 10:45:47 +0200
Juanma Barranquero <lekktu <at> gmail.com> writes:

> OK, but then, why does package-desc--keywords explicitly check for it?
> Perhaps hysterical raisins?

It's a hack, kinda. You're welcome to implement it better.

The bug in question, though, should be fixed with revision 116830.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Sat, 22 Mar 2014 12:20:02 GMT) Full text and rfc822 format available.

Message #62 received at 16873-done <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: Xue Fuqiao <xfq <at> gnu.org>, Nicolas Richard <theonewiththeevillook <at> yahoo.fr>,
 16873-done <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument
 char-or-string-p ("comm" "hypermedia"))
Date: Sat, 22 Mar 2014 13:18:22 +0100
On Sat, Mar 22, 2014 at 9:45 AM, Dmitry Gutov <dgutov <at> yandex.ru> wrote:

> It's a hack, kinda. You're welcome to implement it better.

Wasn't complaining about it.

> The bug in question, though, should be fixed with revision 116830.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16873; Package emacs. (Sun, 23 Mar 2014 03:54:03 GMT) Full text and rfc822 format available.

Message #65 received at 16873-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 16873-done <at> debbugs.gnu.org
Subject: Re: bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument
 char-or-string-p ("comm" "hypermedia"))
Date: Sun, 23 Mar 2014 05:53:38 +0200
On 22.03.2014 14:18, Juanma Barranquero wrote:

> Wasn't complaining about it.

I wasn't complaining about your questions either. You're really welcome 
to rewrite it. :)

While this printed representation isn't something I planned on, the 
structure works as intended, and it should be possible to "unquote" in a 
later Emacs version (http://debbugs.gnu.org/16222#56).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 20 Apr 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.