Closed ddoherty03 closed 1 year ago
Thanks for taking the time to fill out a support ticket.
When I go to elpaca-log, the failed install doesn't show up.
The version of Elpaca you're on (86d995a) introduced a bug in the logging. The next commit, e60ab3c fixed it. I would first try updating Elpaca to see if that fixes the logging issue. If not, you'll want to make sure the search query is not excluding the log information you're looking for. See the manual section on searching for the basics of how the search facility works. You should be able to see all of the information about the chatgtp package by using the query "chatgpt|", which will match the name of the package in the first column of the table.
Here's what I get in a test environment:
Package | Status | Info | Time |
---|---|---|---|
openai | failed | Unable to determine repo dir: (error "Cannot determine URL from recipe: (:protocol https :inherit t :depth 1 :package \"openai\")") | 531.140635 |
chatgpt | failed | Failed dependencies: (openai) | 531.466335 |
The problem is that chatgtp declares a dependency on the "openai" package. That package is not published in any ELPA which Elpaca currently supports. I've opened a ticket upstream to mention this to the maintainer of the "chatgpt" package.
You'll have to install it with a custom recipe as well. See the following test case:
elpaca | 039ae35 HEAD -> master, origin/master, origin/HEAD |
isntaller | 0.6 |
emacs | GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-11-02 |
git | git version 2.42.0 |
Does that help?
@progfolio, yes that helps a lot. Is there a way to upgrade elpaca itself?
@progfolio, yes that helps a lot. Is there a way to upgrade elpaca itself?
Glad to hear it helps. To update the version of Elpaca you're on:
M-x elpaca-update
elpaca
M-x restart-emacs
Note that after updating, there has been a slight API change: https://github.com/progfolio/elpaca/commit/039ae35a573af904e425b95e1cf0401e3f43537b
The new command after the update is:
C-u M-x elpaca-merge
elpaca
M-x restart-emacs
I'll consider this closed for now. Feel free to comment if the original issue persists or open a new ticket if you run into any other issues. Thanks.
Confirmation
Elpaca Version
Elpaca 86d995a HEAD -> master, origin/master, origin/HEAD installer: 0.6 emacs-version: GNU Emacs 29.1.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2023-08-08 git --version: git version 2.34.1
Operating System
Linux saturn 6.2.0-36-generic #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 22.04
Description
I am trying to figure out why one of my installs failed. When I go to elpaca-log, the failed install doesn't show up. For what it's worth, I am trying to install "chatgpt" with this, but I want to know how I go about diagnosing a failed install with elpaca.