* bug#60479: =package-vc-selected-packages=
@ 2023-01-01 15:46 Colin McLear
2023-02-13 20:01 ` Philip Kaludercic
0 siblings, 1 reply; 7+ messages in thread
From: Colin McLear @ 2023-01-01 15:46 UTC (permalink / raw)
To: 60479
[-- Attachment #1: Type: text/plain, Size: 836 bytes --]
Hi – I’m not sure if this is a bug or user ineptitude, but when trying to use the package-vc functionality like so:
(setq package-vc-selected-packages
'((capf-bibtex
:url "https://github.com/mclear-tools/capf-bibtex.git"
:branch "main")))
(package-vc-install-selected-packages)
I get the error package-vc--unpack: Wrong type argument: package-desc, nil. I’ve tried this with various other packages from github as well and get the same error. The above seems to be just like the example described in the info manual so I’m unsure what I could be doing wrong. I should also say that the package installs just fine using package-vc-install.
thanks,
Colin
–
Colin McLear
Associate Professor
Department of Philosophy
University of Nebraska–Lincoln
https://www.colinmclear.net
[-- Attachment #2: Type: text/html, Size: 3003 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#60479: =package-vc-selected-packages=
2023-01-01 15:46 bug#60479: =package-vc-selected-packages= Colin McLear
@ 2023-02-13 20:01 ` Philip Kaludercic
2023-02-14 14:45 ` Colin McLear
0 siblings, 1 reply; 7+ messages in thread
From: Philip Kaludercic @ 2023-02-13 20:01 UTC (permalink / raw)
To: Colin McLear; +Cc: 60479
Colin McLear <mclear@unl.edu> writes:
> Hi – I’m not sure if this is a bug or user ineptitude, but when trying
> to use the package-vc functionality like so:
>
> (setq package-vc-selected-packages
> '((capf-bibtex
> :url "https://github.com/mclear-tools/capf-bibtex.git"
> :branch "main")))
>
> (package-vc-install-selected-packages)
>
>
> I get the error package-vc--unpack: Wrong type argument: package-desc,
> nil. I’ve tried this with various other packages from github as well
> and get the same error. The above seems to be just like the example
> described in the info manual so I’m unsure what I could be doing
> wrong. I should also say that the package installs just fine using
> package-vc-install.
I have recently fixed a few bugs and this appears to work on my machine.
Can you check as well?
> thanks,
>
> Colin
>
> –
> Colin McLear
> Associate Professor
> Department of Philosophy
> University of Nebraska–Lincoln
> https://www.colinmclear.net
--
Philip Kaludercic
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#60479: =package-vc-selected-packages=
2023-02-13 20:01 ` Philip Kaludercic
@ 2023-02-14 14:45 ` Colin McLear
2023-02-14 15:19 ` Colin McLear
2023-02-15 13:39 ` Philip Kaludercic
0 siblings, 2 replies; 7+ messages in thread
From: Colin McLear @ 2023-02-14 14:45 UTC (permalink / raw)
To: Philip Kaludercic; +Cc: 60479@debbugs.gnu.org
I pulled from emacs master today and now I can get the original code working. /But/, I tried with a different package, like so:
,----
(setq package-vc-selected-packages
'((zotxt
:url "<https://github.com/egh/zotxt-emacs.git>"
:branch "master")))
(package-vc-install-selected-packages)
`----
and I get the following stacktrace:
,----
Debugger entered--Lisp error: (cl-assertion-failed ((package-vc-p pkg) nil))
cl--assertion-failed((package-vc-p pkg))
package-vc--version(#s(package-desc :name zotxt :version (20210908 402) :summary "Tools to integrate emacs with Zotero via the zotxt..." :reqs ((request (0 3 2)) (deferred (0 5 1))) :kind tar :archive "melpa" :dir "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..." :extras ((:commit . "d344e7ac281a083f4e39e95b5664633a015e2b3b") (:authors ("Erik Hetzner" . "egh@e6h.org")) (:maintainer "Erik Hetzner" . "egh@e6h.org") (:keywords "bib")) :signed nil))
package-vc--generate-description-file(#s(package-desc :name zotxt :version (20210908 402) :summary "Tools to integrate emacs with Zotero via the zotxt..." :reqs ((request (0 3 2)) (deferred (0 5 1))) :kind tar :archive "melpa" :dir "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..." :extras ((:commit . "d344e7ac281a083f4e39e95b5664633a015e2b3b") (:authors ("Erik Hetzner" . "egh@e6h.org")) (:maintainer "Erik Hetzner" . "egh@e6h.org") (:keywords "bib")) :signed nil) "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40...")
package-vc--unpack-1(#s(package-desc :name zotxt :version (20210908 402) :summary "Tools to integrate emacs with Zotero via the zotxt..." :reqs ((request (0 3 2)) (deferred (0 5 1))) :kind tar :archive "melpa" :dir "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..." :extras ((:commit . "d344e7ac281a083f4e39e95b5664633a015e2b3b") (:authors ("Erik Hetzner" . "egh@e6h.org")) (:maintainer "Erik Hetzner" . "egh@e6h.org") (:keywords "bib")) :signed nil) "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40...")
package-vc--unpack(#s(package-desc :name zotxt :version (20210908 402) :summary "Tools to integrate emacs with Zotero via the zotxt..." :reqs ((request (0 3 2)) (deferred (0 5 1))) :kind tar :archive "melpa" :dir "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..." :extras ((:commit . "d344e7ac281a083f4e39e95b5664633a015e2b3b") (:authors ("Erik Hetzner" . "egh@e6h.org")) (:maintainer "Erik Hetzner" . "egh@e6h.org") (:keywords "bib")) :signed nil) (:url "<https://github.com/egh/zotxt-emacs.git>" :branch "master"))
package-vc-install-selected-packages()
(progn (package-vc-install-selected-packages))
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
command-execute(eval-last-sexp)
`----
This package /does/ install normally if I just do:
,----
(unless (package-installed-p 'zotxt-emacs)
(package-vc-install "<https://github.com/egh/zotxt-emacs.git>"))
`----
Please let me know if there is other information I can provide.
regards,
Colin
On 2023-02-13 at 20:01 UTC, Philip Kaludercic <philipk@posteo.net> wrote...
> Non-NU Email
>
> Colin McLear <mclear@unl.edu> writes:
>
>> Hi – I’m not sure if this is a bug or user ineptitude, but when trying
>> to use the package-vc functionality like so:
>>
>> (setq package-vc-selected-packages
>> '((capf-bibtex
>> :url "<https://urldefense.com/v3/__https://github.com/mclear-tools/capf-bibtex.git__;!!PvXuogZ4sRB2p-tU!DmhU_CroTe5ssC5YQFGK32EQz4JmYhCM-MrZmdoQD1oJxWwAiZ1DUmmalUE6KN4ZTHmQAuUZgUVd8g>$ "
>> :branch "main")))
>>
>> (package-vc-install-selected-packages)
>>
>>
>> I get the error package-vc--unpack: Wrong type argument: package-desc,
>> nil. I’ve tried this with various other packages from github as well
>> and get the same error. The above seems to be just like the example
>> described in the info manual so I’m unsure what I could be doing
>> wrong. I should also say that the package installs just fine using
>> package-vc-install.
>
> I have recently fixed a few bugs and this appears to work on my machine.
> Can you check as well?
>
>> thanks,
>>
>> Colin
>>
>> –
>> Colin McLear
>> Associate Professor
>> Department of Philosophy
>> University of Nebraska–Lincoln
>> <https://urldefense.com/v3/__https://www.colinmclear.net__;!!PvXuogZ4sRB2p-tU!DmhU_CroTe5ssC5YQFGK32EQz4JmYhCM-MrZmdoQD1oJxWwAiZ1DUmmalUE6KN4ZTHmQAuXfGhHsow>$
--
Colin McLear
Associate Professor
Department of Philosophy
University of Nebraska–Lincoln
<https://www.colinmclear.net>
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#60479: =package-vc-selected-packages=
2023-02-14 14:45 ` Colin McLear
@ 2023-02-14 15:19 ` Colin McLear
2023-02-15 13:39 ` Philip Kaludercic
1 sibling, 0 replies; 7+ messages in thread
From: Colin McLear @ 2023-02-14 15:19 UTC (permalink / raw)
To: Philip Kaludercic; +Cc: 60479@debbugs.gnu.org
Please disregard the last email. There was an error in my code. Looks like the new changes work fine. Thank you!
regards,
Colin
On 2023-02-14 at 09:44 -05, Colin McLear <mclear@unl.edu> wrote...
> I pulled from emacs master today and now I can get the original code working. /But/, I tried with a different package, like so:
>
>
> ,----
> (setq package-vc-selected-packages
> '((zotxt
> :url "<https://github.com/egh/zotxt-emacs.git>"
> :branch "master")))
>
> (package-vc-install-selected-packages)
> `----
>
> and I get the following stacktrace:
>
> ,----
> Debugger entered--Lisp error: (cl-assertion-failed ((package-vc-p pkg) nil))
> cl--assertion-failed((package-vc-p pkg))
> package-vc--version(#s(package-desc :name zotxt :version (20210908 402)
> :summary "Tools to integrate emacs with Zotero via the zotxt..." :reqs ((request
> (0 3 2)) (deferred (0 5 1))) :kind tar :archive "melpa" :dir
> "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..." :extras ((:commit .
> "d344e7ac281a083f4e39e95b5664633a015e2b3b") (:authors ("Erik Hetzner" .
> "egh@e6h.org")) (:maintainer "Erik Hetzner" . "egh@e6h.org") (:keywords "bib"))
> :signed nil))
> package-vc--generate-description-file(#s(package-desc :name zotxt :version
> (20210908 402) :summary "Tools to integrate emacs with Zotero via the zotxt..."
> :reqs ((request (0 3 2)) (deferred (0 5 1))) :kind tar :archive "melpa" :dir
> "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..." :extras ((:commit .
> "d344e7ac281a083f4e39e95b5664633a015e2b3b") (:authors ("Erik Hetzner" .
> "egh@e6h.org")) (:maintainer "Erik Hetzner" . "egh@e6h.org") (:keywords "bib"))
> :signed nil) "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40...")
> package-vc--unpack-1(#s(package-desc :name zotxt :version (20210908 402)
> :summary "Tools to integrate emacs with Zotero via the zotxt..." :reqs ((request
> (0 3 2)) (deferred (0 5 1))) :kind tar :archive "melpa" :dir
> "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..." :extras ((:commit .
> "d344e7ac281a083f4e39e95b5664633a015e2b3b") (:authors ("Erik Hetzner" .
> "egh@e6h.org")) (:maintainer "Erik Hetzner" . "egh@e6h.org") (:keywords "bib"))
> :signed nil) "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40...")
> package-vc--unpack(#s(package-desc :name zotxt :version (20210908 402) :summary
> "Tools to integrate emacs with Zotero via the zotxt..." :reqs ((request (0 3 2))
> (deferred (0 5 1))) :kind tar :archive "melpa" :dir
> "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..." :extras ((:commit .
> "d344e7ac281a083f4e39e95b5664633a015e2b3b") (:authors ("Erik Hetzner" .
> "egh@e6h.org")) (:maintainer "Erik Hetzner" . "egh@e6h.org") (:keywords "bib"))
> :signed nil) (:url "<https://github.com/egh/zotxt-emacs.git>" :branch "master"))
> package-vc-install-selected-packages()
> (progn (package-vc-install-selected-packages))
> elisp--eval-last-sexp(nil)
> eval-last-sexp(nil)
> funcall-interactively(eval-last-sexp nil)
> command-execute(eval-last-sexp)
> `----
>
> This package /does/ install normally if I just do:
>
> ,----
> (unless (package-installed-p 'zotxt-emacs)
> (package-vc-install "<https://github.com/egh/zotxt-emacs.git>"))
> `----
>
> Please let me know if there is other information I can provide.
>
> regards,
>
> Colin
>
> On 2023-02-13 at 20:01 UTC, Philip Kaludercic <philipk@posteo.net> wrote...
>> Non-NU Email
>>
>> Colin McLear <mclear@unl.edu> writes:
>>
>>> Hi – I’m not sure if this is a bug or user ineptitude, but when trying
>>> to use the package-vc functionality like so:
>>>
>>> (setq package-vc-selected-packages
>>> '((capf-bibtex
>>> :url "<https://urldefense.com/v3/__https://github.com/mclear-tools/capf-bibtex.git__;!!PvXuogZ4sRB2p-tU!DmhU_CroTe5ssC5YQFGK32EQz4JmYhCM-MrZmdoQD1oJxWwAiZ1DUmmalUE6KN4ZTHmQAuUZgUVd8g>$ "
>>> :branch "main")))
>>>
>>> (package-vc-install-selected-packages)
>>>
>>>
>>> I get the error package-vc--unpack: Wrong type argument: package-desc,
>>> nil. I’ve tried this with various other packages from github as well
>>> and get the same error. The above seems to be just like the example
>>> described in the info manual so I’m unsure what I could be doing
>>> wrong. I should also say that the package installs just fine using
>>> package-vc-install.
>>
>> I have recently fixed a few bugs and this appears to work on my machine.
>> Can you check as well?
>>
>>> thanks,
>>>
>>> Colin
>>>
>>> –
>>> Colin McLear
>>> Associate Professor
>>> Department of Philosophy
>>> University of Nebraska–Lincoln
>>> <https://urldefense.com/v3/__https://www.colinmclear.net__;!!PvXuogZ4sRB2p-tU!DmhU_CroTe5ssC5YQFGK32EQz4JmYhCM-MrZmdoQD1oJxWwAiZ1DUmmalUE6KN4ZTHmQAuXfGhHsow>$
--
Colin McLear
Associate Professor
Department of Philosophy
University of Nebraska–Lincoln
<https://www.colinmclear.net>
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#60479: =package-vc-selected-packages=
2023-02-14 14:45 ` Colin McLear
2023-02-14 15:19 ` Colin McLear
@ 2023-02-15 13:39 ` Philip Kaludercic
[not found] ` <75AB9DE3-8BE0-4566-A26D-121B3705DF81@unl.edu>
1 sibling, 1 reply; 7+ messages in thread
From: Philip Kaludercic @ 2023-02-15 13:39 UTC (permalink / raw)
To: Colin McLear; +Cc: 60479@debbugs.gnu.org
Colin McLear <mclear@unl.edu> writes:
> I pulled from emacs master today and now I can get the original code
> working. /But/, I tried with a different package, like so:
>
>
> ,----
> (setq package-vc-selected-packages
> '((zotxt
> :url "<https://github.com/egh/zotxt-emacs.git>"
> :branch "master")))
Are you actually executing this code with the string
"<https://github.com/egh/zotxt-emacs.git>"
(i.e. including the less-than and greater-than signs)?
> (package-vc-install-selected-packages)
(Btw, `package-vc-selected-packages' is a user option so you can trigger
the same effect by using `setopt' instead of `setq'.)
> `----
>
> and I get the following stacktrace:
>
> ,----
> Debugger entered--Lisp error: (cl-assertion-failed ((package-vc-p
> pkg) nil))
> cl--assertion-failed((package-vc-p pkg))
> package-vc--version(#s(package-desc :name zotxt :version (20210908
> 402) :summary "Tools to integrate emacs with Zotero via the zotxt..."
> :reqs ((request (0 3 2)) (deferred (0 5 1))) :kind tar :archive
> "melpa" :dir "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..."
> :extras ((:commit . "d344e7ac281a083f4e39e95b5664633a015e2b3b")
> (:authors ("Erik Hetzner" . "egh@e6h.org")) (:maintainer "Erik
> Hetzner" . "egh@e6h.org") (:keywords "bib")) :signed nil))
> package-vc--generate-description-file(#s(package-desc :name zotxt
> :version (20210908 402) :summary "Tools to integrate emacs with Zotero
> via the zotxt..." :reqs ((request (0 3 2)) (deferred (0 5 1))) :kind
> tar :archive "melpa" :dir
> "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..." :extras
> ((:commit . "d344e7ac281a083f4e39e95b5664633a015e2b3b") (:authors
> ("Erik Hetzner" . "egh@e6h.org")) (:maintainer "Erik Hetzner"
> . "egh@e6h.org") (:keywords "bib")) :signed nil)
> "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40...")
> package-vc--unpack-1(#s(package-desc :name zotxt :version (20210908
> 402) :summary "Tools to integrate emacs with Zotero via the zotxt..."
> :reqs ((request (0 3 2)) (deferred (0 5 1))) :kind tar :archive
> "melpa" :dir "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..."
> :extras ((:commit . "d344e7ac281a083f4e39e95b5664633a015e2b3b")
> (:authors ("Erik Hetzner" . "egh@e6h.org")) (:maintainer "Erik
> Hetzner" . "egh@e6h.org") (:keywords "bib")) :signed nil)
> "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40...")
> package-vc--unpack(#s(package-desc :name zotxt :version (20210908
> 402) :summary "Tools to integrate emacs with Zotero via the zotxt..."
> :reqs ((request (0 3 2)) (deferred (0 5 1))) :kind tar :archive
> "melpa" :dir "/Users/roambot/.emacs.d/var/elpa/zotxt-20210908.40..."
> :extras ((:commit . "d344e7ac281a083f4e39e95b5664633a015e2b3b")
> (:authors ("Erik Hetzner" . "egh@e6h.org")) (:maintainer "Erik
> Hetzner" . "egh@e6h.org") (:keywords "bib")) :signed nil) (:url
> "<https://github.com/egh/zotxt-emacs.git>" :branch "master"))
> package-vc-install-selected-packages()
> (progn (package-vc-install-selected-packages))
> elisp--eval-last-sexp(nil)
> eval-last-sexp(nil)
> funcall-interactively(eval-last-sexp nil)
> command-execute(eval-last-sexp)
> `----
Interestingly, I don't get the stack track but a different one. This
might be because I have pushed a few changes since you tries this out.
> This package /does/ install normally if I just do:
>
> ,----
> (unless (package-installed-p 'zotxt-emacs)
> (package-vc-install "<https://github.com/egh/zotxt-emacs.git>"))
> `----
Again, with or without the <...>s?
> Please let me know if there is other information I can provide.
>
> regards,
>
> Colin
>
> On 2023-02-13 at 20:01 UTC, Philip Kaludercic <philipk@posteo.net> wrote...
>> Non-NU Email
>>
>> Colin McLear <mclear@unl.edu> writes:
>>
>>> Hi – I’m not sure if this is a bug or user ineptitude, but when trying
>>> to use the package-vc functionality like so:
>>>
>>> (setq package-vc-selected-packages
>>> '((capf-bibtex
>>> :url "<https://urldefense.com/v3/__https://github.com/mclear-tools/capf-bibtex.git__;!!PvXuogZ4sRB2p-tU!DmhU_CroTe5ssC5YQFGK32EQz4JmYhCM-MrZmdoQD1oJxWwAiZ1DUmmalUE6KN4ZTHmQAuUZgUVd8g>$ "
>>> :branch "main")))
>>>
>>> (package-vc-install-selected-packages)
>>>
>>>
>>> I get the error package-vc--unpack: Wrong type argument: package-desc,
>>> nil. I’ve tried this with various other packages from github as well
>>> and get the same error. The above seems to be just like the example
>>> described in the info manual so I’m unsure what I could be doing
>>> wrong. I should also say that the package installs just fine using
>>> package-vc-install.
>>
>> I have recently fixed a few bugs and this appears to work on my machine.
>> Can you check as well?
>>
>>> thanks,
>>>
>>> Colin
>>>
>>> –
>>> Colin McLear
>>> Associate Professor
>>> Department of Philosophy
>>> University of Nebraska–Lincoln
>>> <https://urldefense.com/v3/__https://www.colinmclear.net__;!!PvXuogZ4sRB2p-tU!DmhU_CroTe5ssC5YQFGK32EQz4JmYhCM-MrZmdoQD1oJxWwAiZ1DUmmalUE6KN4ZTHmQAuXfGhHsow>$
--
Philip Kaludercic
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#60479: =package-vc-selected-packages=
[not found] ` <75AB9DE3-8BE0-4566-A26D-121B3705DF81@unl.edu>
@ 2023-02-15 15:11 ` Philip Kaludercic
[not found] ` <D3422E10-727B-4FC7-8AD0-E1CA1F511B90@unl.edu>
0 siblings, 1 reply; 7+ messages in thread
From: Philip Kaludercic @ 2023-02-15 15:11 UTC (permalink / raw)
To: Colin McLear; +Cc: 60479
Colin McLear <mclear@unl.edu> writes:
> Sorry those were all artifacts from sending with mu4e for some
> reason. Thanks for your help!
So should we close the issue?
--
Philip Kaludercic
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#60479: =package-vc-selected-packages=
[not found] ` <D3422E10-727B-4FC7-8AD0-E1CA1F511B90@unl.edu>
@ 2023-02-15 17:02 ` Philip Kaludercic
0 siblings, 0 replies; 7+ messages in thread
From: Philip Kaludercic @ 2023-02-15 17:02 UTC (permalink / raw)
To: Colin McLear; +Cc: 60479-done
Colin McLear <mclear@unl.edu> writes:
> Yes I think so thanks.
OK, in that case I'll close this report.
--
Philip Kaludercic
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-02-15 17:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-01 15:46 bug#60479: =package-vc-selected-packages= Colin McLear
2023-02-13 20:01 ` Philip Kaludercic
2023-02-14 14:45 ` Colin McLear
2023-02-14 15:19 ` Colin McLear
2023-02-15 13:39 ` Philip Kaludercic
[not found] ` <75AB9DE3-8BE0-4566-A26D-121B3705DF81@unl.edu>
2023-02-15 15:11 ` Philip Kaludercic
[not found] ` <D3422E10-727B-4FC7-8AD0-E1CA1F511B90@unl.edu>
2023-02-15 17:02 ` Philip Kaludercic
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.