s-kostyaev / ellama

Ellama is a tool for interacting with large language models from Emacs.
GNU General Public License v3.0
378 stars 27 forks source link

Elpaca install fails #11

Closed ddoherty03 closed 8 months ago

ddoherty03 commented 8 months ago

When I try to install ellama with elpaca, I get a fail with ""Unable to determine recipe URL". Is this particular to elpaca?

s-kostyaev commented 8 months ago

I think, you should somehow update melpa repository for elpaca. I don't know how to do it, because I have never used it. Otherwise you can open issue in elpaca repository.

s-kostyaev commented 8 months ago

Probably related https://github.com/progfolio/elpaca/issues/195

progfolio commented 8 months ago

@s-kostyaev:

Probably related https://github.com/progfolio/elpaca/issues/195

Unrelated. Your first guess:

you should somehow update melpa repository for elpaca

Is most likely the reason.

@ddoherty03:

"Unable to determine recipe URL"

This error message is shown when there is no matching recipe to inherit from and the user hasn't provided enough info to determine the package's URL. Which is consistent with it not being on disk on your system's version of the MELPA menu.

I'm unable to reproduce with the following test case. You can try running it on your system as well. The short answer is you probably need to M-x elpaca-update-menus to update your copy of the MELPA menu.

Test Case [How to run this test?](https://github.com/progfolio/elpaca/wiki/Troubleshooting#the-elpaca-test-macro) ```emacs-lisp (elpaca-test :early-init (setq elpaca-menu-functions '(elpaca-menu-melpa elpaca-menu-gnu-devel-elpa)) :init (elpaca ellama) (elpaca-wait) (elpaca-test-log "ellama")) ```
Host Env
elpacae60ab3c HEAD -> master, origin/master, origin/HEAD
isntaller0.6
emacsGNU 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
gitgit version 2.42.0
Output ```emacs-lisp INFO Scraping files for loaddefs... INFO Scraping files for loaddefs...done GEN ../elpaca-autoloads.el Cloning into '/tmp/elpaca.zMtPCY/elpaca/repos/elpaca'... Your branch is up to date with 'origin/master'. Checking /tmp/elpaca.zMtPCY/elpaca/repos/elpaca... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca-info.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca-log.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca-manager.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca-menu-elpa.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca-menu-melpa.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca-menu-org.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca-process.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca-test.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca-ui.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/elpaca.el... Checking /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/doc... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/doc/early-init.el... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/doc/init.el... Checking /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/extensions... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/extensions/elpaca-use-package.el... Checking /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/images... Checking /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/test... Compiling /tmp/elpaca.zMtPCY/elpaca/repos/elpaca/test/elpaca-test.el... Done (Total of 11 files compiled, 3 skipped in 4 directories) Downloading MELPA recipes... Downloading MELPA recipes...100% Downloading GNU-devel ELPA... elpaca-log: "ellama" " ellama cloning Cloning 03.109179 ellama cloning Receiving objects: 100% (16/16), 8.47 MiB | 20.27 MiB/s, done. 03.843089 ellama blocked Blocked by: (spinner llm) 04.208657 ellama blocked Blocked by: (spinner llm) 04.356282 ellama blocked Blocked by: (spinner) 04.538962 ellama unblocked Unblocked by: spinner 04.582247 ellama linking Linking build files 04.582755 ellama linking Build files linked 04.583473 ellama autoloads Generating autoloads: /tmp/elpaca.zMtPCY/elpaca/builds/ellama 04.584147 ellama autoloads INFO Scraping files for loaddefs... 04.689557 ellama autoloads INFO Scraping files for loaddefs...done 04.691711 ellama autoloads GEN ellama-autoloads.el 04.692124 ellama autoloads Autoloads Generated 04.695048 ellama byte-compilation Byte compiling 04.695476 ellama byte-compilation Checking /tmp/elpaca.zMtPCY/elpaca/builds/ellama... 04.752873 ellama byte-compilation Compiling /tmp/elpaca.zMtPCY/elpaca/builds/ellama/ellama-autoloads.el... 04.763511 ellama byte-compilation Compiling /tmp/elpaca.zMtPCY/elpaca/builds/ellama/ellama.el... 04.764070 ellama byte-compilation Done (Total of 1 file compiled, 1 skipped) 04.797950 ellama byte-compilation Byte compilation complete 04.800629 ellama info Compiling Info files 04.801064 ellama info Info source files not found 04.801436 ellama activation Activating package 04.801793 ellama activation Package build dir added to load-path 04.802147 ellama activation Caching autoloads 04.802511 ellama activation Autoloads cached 04.803075 ellama finished ✓ 1.726 secs 04.803461 " Test Env Elpaca e60ab3c HEAD -> master, origin/master, origin/HEAD installer: 0.6 emacs-version: 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 --version: git version 2.42.0 ```

I've also added a section to the Elpaca Wiki to help explain this error in the future. Does that help?

s-kostyaev commented 8 months ago

@progfolio thank you. @ddoherty03 does this fix your problem?

s-kostyaev commented 8 months ago

Closing this due to inactivity. @ddoherty03 feel free to reopen it if issue isn't fixed.