* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
@ 2014-02-25 8:36 Xue Fuqiao
2014-02-25 17:22 ` Glenn Morris
` (2 more replies)
0 siblings, 3 replies; 19+ messages in thread
From: Xue Fuqiao @ 2014-02-25 8:36 UTC (permalink / raw)
To: 16873
[-- Attachment #1: Type: text/plain, Size: 718 bytes --]
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@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
[-- Attachment #2: Backtrace --]
[-- Type: text/plain, Size: 970 bytes --]
Debugger entered--Lisp error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
insert-text-button(("comm" "hypermedia") face (:box (:line-width 2 :color "dark grey") :background "light grey" :foreground "black") follow-link t package-keyword ("comm" "hypermedia") action package-keyword-button-action)
apply(insert-text-button ("comm" "hypermedia") face (:box (:line-width 2 :color "dark grey") :background "light grey" :foreground "black") follow-link t (package-keyword ("comm" "hypermedia") action package-keyword-button-action))
package-make-button(("comm" "hypermedia") package-keyword ("comm" "hypermedia") action package-keyword-button-action)
describe-package-1(debbugs)
describe-package(debbugs)
call-interactively(describe-package record nil)
command-execute(describe-package record)
execute-extended-command(nil "describe-package")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-25 8:36 bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia")) Xue Fuqiao
@ 2014-02-25 17:22 ` Glenn Morris
2014-02-25 20:54 ` Michael Albinus
2014-02-27 22:31 ` Xue Fuqiao
2014-02-28 10:58 ` Nicolas Richard
2 siblings, 1 reply; 19+ messages in thread
From: Glenn Morris @ 2014-02-25 17:22 UTC (permalink / raw)
To: Xue Fuqiao; +Cc: 16873
Can't reproduce this with current trunk and elpa descriptions.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-25 17:22 ` Glenn Morris
@ 2014-02-25 20:54 ` Michael Albinus
2014-02-25 22:28 ` Xue Fuqiao
0 siblings, 1 reply; 19+ messages in thread
From: Michael Albinus @ 2014-02-25 20:54 UTC (permalink / raw)
To: Xue Fuqiao; +Cc: 16873
Glenn Morris <rgm@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.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-25 20:54 ` Michael Albinus
@ 2014-02-25 22:28 ` Xue Fuqiao
2014-02-25 22:33 ` Glenn Morris
0 siblings, 1 reply; 19+ messages in thread
From: Xue Fuqiao @ 2014-02-25 22:28 UTC (permalink / raw)
To: Michael Albinus; +Cc: 16873
Michael Albinus <michael.albinus@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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-25 22:28 ` Xue Fuqiao
@ 2014-02-25 22:33 ` Glenn Morris
2014-02-26 8:05 ` Xue Fuqiao
0 siblings, 1 reply; 19+ messages in thread
From: Glenn Morris @ 2014-02-25 22:33 UTC (permalink / raw)
To: Xue Fuqiao; +Cc: 16873, Michael Albinus
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
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-25 22:33 ` Glenn Morris
@ 2014-02-26 8:05 ` Xue Fuqiao
2014-02-26 16:52 ` Glenn Morris
0 siblings, 1 reply; 19+ messages in thread
From: Xue Fuqiao @ 2014-02-26 8:05 UTC (permalink / raw)
To: Glenn Morris; +Cc: Xue Fuqiao, 16873, Michael Albinus
Glenn Morris <rgm@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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-26 8:05 ` Xue Fuqiao
@ 2014-02-26 16:52 ` Glenn Morris
2014-02-26 22:33 ` Xue Fuqiao
0 siblings, 1 reply; 19+ messages in thread
From: Glenn Morris @ 2014-02-26 16:52 UTC (permalink / raw)
To: Xue Fuqiao; +Cc: 16873, Michael Albinus
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.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-26 16:52 ` Glenn Morris
@ 2014-02-26 22:33 ` Xue Fuqiao
2014-02-27 16:57 ` Glenn Morris
0 siblings, 1 reply; 19+ messages in thread
From: Xue Fuqiao @ 2014-02-26 22:33 UTC (permalink / raw)
To: Glenn Morris; +Cc: Xue Fuqiao, 16873, Michael Albinus
Glenn Morris <rgm@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/
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-26 22:33 ` Xue Fuqiao
@ 2014-02-27 16:57 ` Glenn Morris
0 siblings, 0 replies; 19+ messages in thread
From: Glenn Morris @ 2014-02-27 16:57 UTC (permalink / raw)
To: Xue Fuqiao; +Cc: 16873, Michael Albinus
Xue Fuqiao wrote:
> Glenn Morris <rgm@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.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-25 8:36 bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia")) Xue Fuqiao
2014-02-25 17:22 ` Glenn Morris
@ 2014-02-27 22:31 ` Xue Fuqiao
2014-02-28 10:58 ` Nicolas Richard
2 siblings, 0 replies; 19+ messages in thread
From: Xue Fuqiao @ 2014-02-27 22:31 UTC (permalink / raw)
To: 16873-done
Thanks anyway. Closing.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-25 8:36 bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia")) Xue Fuqiao
2014-02-25 17:22 ` Glenn Morris
2014-02-27 22:31 ` Xue Fuqiao
@ 2014-02-28 10:58 ` Nicolas Richard
2014-03-21 17:09 ` Juanma Barranquero
2 siblings, 1 reply; 19+ messages in thread
From: Nicolas Richard @ 2014-02-28 10:58 UTC (permalink / raw)
To: Xue Fuqiao; +Cc: 16873
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.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-02-28 10:58 ` Nicolas Richard
@ 2014-03-21 17:09 ` Juanma Barranquero
2014-03-21 19:47 ` Stefan Monnier
0 siblings, 1 reply; 19+ messages in thread
From: Juanma Barranquero @ 2014-03-21 17:09 UTC (permalink / raw)
To: Nicolas Richard; +Cc: Xue Fuqiao, 16873
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.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-03-21 17:09 ` Juanma Barranquero
@ 2014-03-21 19:47 ` Stefan Monnier
2014-03-21 20:01 ` Juanma Barranquero
0 siblings, 1 reply; 19+ messages in thread
From: Stefan Monnier @ 2014-03-21 19:47 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Xue Fuqiao, Nicolas Richard, 16873
> ((:keywords quote ("comm" "hypermedia"))
This one looks incorrect.
Stefan
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-03-21 19:47 ` Stefan Monnier
@ 2014-03-21 20:01 ` Juanma Barranquero
2014-03-21 20:04 ` Juanma Barranquero
2014-03-22 8:45 ` Dmitry Gutov
0 siblings, 2 replies; 19+ messages in thread
From: Juanma Barranquero @ 2014-03-21 20:01 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Xue Fuqiao, Nicolas Richard, 16873
On Fri, Mar 21, 2014 at 8:47 PM, Stefan Monnier
<monnier@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)))
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-03-21 20:01 ` Juanma Barranquero
@ 2014-03-21 20:04 ` Juanma Barranquero
2014-03-21 22:03 ` Stefan
2014-03-22 8:45 ` Dmitry Gutov
1 sibling, 1 reply; 19+ messages in thread
From: Juanma Barranquero @ 2014-03-21 20:04 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Xue Fuqiao, Nicolas Richard, 16873
On Fri, Mar 21, 2014 at 9:01 PM, Juanma Barranquero <lekktu@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"))])
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-03-21 20:04 ` Juanma Barranquero
@ 2014-03-21 22:03 ` Stefan
0 siblings, 0 replies; 19+ messages in thread
From: Stefan @ 2014-03-21 22:03 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Xue Fuqiao, Nicolas Richard, 16873
> 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
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-03-21 20:01 ` Juanma Barranquero
2014-03-21 20:04 ` Juanma Barranquero
@ 2014-03-22 8:45 ` Dmitry Gutov
2014-03-22 12:18 ` Juanma Barranquero
1 sibling, 1 reply; 19+ messages in thread
From: Dmitry Gutov @ 2014-03-22 8:45 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Xue Fuqiao, Nicolas Richard, 16873-done
Juanma Barranquero <lekktu@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.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-03-22 8:45 ` Dmitry Gutov
@ 2014-03-22 12:18 ` Juanma Barranquero
2014-03-23 3:53 ` Dmitry Gutov
0 siblings, 1 reply; 19+ messages in thread
From: Juanma Barranquero @ 2014-03-22 12:18 UTC (permalink / raw)
To: Dmitry Gutov; +Cc: Xue Fuqiao, Nicolas Richard, 16873-done
On Sat, Mar 22, 2014 at 9:45 AM, Dmitry Gutov <dgutov@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.
^ permalink raw reply [flat|nested] 19+ messages in thread
* bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia"))
2014-03-22 12:18 ` Juanma Barranquero
@ 2014-03-23 3:53 ` Dmitry Gutov
0 siblings, 0 replies; 19+ messages in thread
From: Dmitry Gutov @ 2014-03-23 3:53 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: 16873-done
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).
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2014-03-23 3:53 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 8:36 bug#16873: 24.3.50; `describe-package' error: (wrong-type-argument char-or-string-p ("comm" "hypermedia")) Xue Fuqiao
2014-02-25 17:22 ` Glenn Morris
2014-02-25 20:54 ` Michael Albinus
2014-02-25 22:28 ` Xue Fuqiao
2014-02-25 22:33 ` Glenn Morris
2014-02-26 8:05 ` Xue Fuqiao
2014-02-26 16:52 ` Glenn Morris
2014-02-26 22:33 ` Xue Fuqiao
2014-02-27 16:57 ` Glenn Morris
2014-02-27 22:31 ` Xue Fuqiao
2014-02-28 10:58 ` Nicolas Richard
2014-03-21 17:09 ` Juanma Barranquero
2014-03-21 19:47 ` Stefan Monnier
2014-03-21 20:01 ` Juanma Barranquero
2014-03-21 20:04 ` Juanma Barranquero
2014-03-21 22:03 ` Stefan
2014-03-22 8:45 ` Dmitry Gutov
2014-03-22 12:18 ` Juanma Barranquero
2014-03-23 3:53 ` Dmitry Gutov
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.