Closed dmvianna closed 5 months ago
Please run the following test and share the output here:
(elpaca-test
:early-init (setq elpaca-menu-functions '(elpaca-menu-gnu-elpa))
:init (elpaca (parinfer-rust-mode :repo "justinbarclay/parinfer-rust-mode" :host github :wait t))
(princ (elpaca-info 'parinfer-rust-mode)))
elpaca | bc685f5 grafted, HEAD -> master, origin/master, origin/HEAD |
installer | 0.7 |
emacs | GNU Emacs 29.3 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-04-26 |
git | git version 2.45.1 |
Thank you. The package builds cleanly in the test environment.
What's happened is parinfer-rust-mode added a new dependency since your last update. Elpaca currently doesn't re-queue a package's dependencies when rebuilding after an update. I'll look into extending it so it can detect such changes.
Have you restarted Emacs since updating the packages?
track-changes should be installed on demand in that case.
Please share the output of M-x elpaca-log
and M-x elpaca-info
parinfer-rust-mode
after restarting Emacs.
As a side note: I recommend running elpaca-fetch-all
rather than elpaca-update-all
.
It allows you to review package changes prior to merging them into your configuration.
Package Status Info Time ▼
elpaca finished ✓ 0.038 secs 00.040911
elpaca-use-package finished ✓ 0.038 secs 00.041176
use-package-ensure-system-package finished ✓ 0.001 secs 00.053034
system-packages finished ✓ 0.000 secs 00.053035
with-editor finished ✓ 0.000 secs 00.055646
compat finished ✓ 0.001 secs 00.055649
magit-section finished ✓ 0.002 secs 00.057691
dash finished ✓ 0.003 secs 00.057694
magit finished ✓ 0.008 secs 00.060849
git-commit finished ✓ 0.004 secs 00.060851
gcmh finished ✓ 1.347 secs 01.410659
auto-compile finished ✓ 1.315 secs 01.413234
winum finished ✓ 0.784 secs 01.415687
posframe finished ✓ 0.001 secs 01.440151
cfrs finished ✓ 0.003 secs 01.441459
s finished ✓ 0.004 secs 01.441485
ht finished ✓ 0.004 secs 01.442128
hydra finished ✓ 0.006 secs 01.444147
lv finished ✓ 0.000 secs 01.444153
pfuture finished ✓ 0.007 secs 01.444865
treemacs finished ✓ 0.774 secs 01.447858
ace-window finished ✓ 0.009 secs 01.447865
avy finished ✓ 0.567 secs 01.447870
solarized-theme finished ✓ 0.760 secs 01.448627
all-the-icons finished ✓ 0.761 secs 01.449560
all-the-icons-dired finished ✓ 0.761 secs 01.450148
immortal-scratch finished ✓ 0.761 secs 01.450744
info-colors finished ✓ 0.761 secs 01.451248
which-key finished ✓ 0.762 secs 01.452193
delight finished ✓ 0.763 secs 01.452776
string-inflection finished ✓ 0.763 secs 01.453383
visual-regexp finished ✓ 0.763 secs 01.453942
visual-regexp-steroids finished ✓ 0.764 secs 01.454478
multiple-cursors finished ✓ 0.764 secs 01.455309
ibuffer-vc finished ✓ 0.759 secs 01.455809
drag-stuff finished ✓ 0.760 secs 01.456356
smart-mode-line finished ✓ 0.761 secs 01.457754
rich-minority finished ✓ 0.000 secs 01.457760
dirvish finished ✓ 0.763 secs 01.459802
transient finished ✓ 0.758 secs 01.459808
eldoc-box finished ✓ 0.763 secs 01.460356
rainbow-delimiters finished ✓ 0.763 secs 01.460854
highlight-indent-guides finished ✓ 0.763 secs 01.461370
flycheck finished ✓ 0.765 secs 01.463118
aggressive-indent finished ✓ 0.765 secs 01.463669
language-id finished ✓ 0.000 secs 01.464461
format-all finished ✓ 0.766 secs 01.465120
inheritenv finished ✓ 0.068 secs 01.465153
yasnippet finished ✓ 0.767 secs 01.466046
origami finished ✓ 0.767 secs 01.466547
puni finished ✓ 0.768 secs 01.467221
combobulate finished ✓ 0.768 secs 01.467777
undo-hl finished ✓ 0.768 secs 01.468148
vundo finished ✓ 0.769 secs 01.468701
rg finished ✓ 0.770 secs 01.470034
wgrep finished ✓ 0.000 secs 01.470039
dumb-jump finished ✓ 0.771 secs 01.471271
popup finished ✓ 0.000 secs 01.471277
exec-path-from-shell finished ✓ 0.771 secs 01.471736
multi-term finished ✓ 0.771 secs 01.472270
aweshell finished ✓ 0.772 secs 01.472884
abridge-diff finished ✓ 0.769 secs 01.473381
consult-gh finished ✓ 0.770 secs 01.475149
consult finished ✓ 0.593 secs 01.475154
extmap finished ✓ 0.000 secs 01.476550
logview finished ✓ 0.753 secs 01.477330
datetime finished ✓ 0.001 secs 01.477336
google-this finished ✓ 0.752 secs 01.477778
sudo-edit finished ✓ 0.752 secs 01.478215
markdown-mode finished ✓ 0.609 secs 01.480396
spinner finished ✓ 0.001 secs 01.480888
lsp-mode finished ✓ 0.756 secs 01.482095
f finished ✓ 0.002 secs 01.482101
lsp-ui finished ✓ 0.756 secs 01.482540
lsp-treemacs finished ✓ 0.756 secs 01.483119
polymode finished ✓ 0.000 secs 01.486409
deferred finished ✓ 0.001 secs 01.486964
request finished ✓ 0.002 secs 01.487510
anaphora finished ✓ 0.002 secs 01.488065
ein finished ✓ 0.629 secs 01.488991
websocket finished ✓ 0.003 secs 01.488997
csv-mode finished ✓ 0.624 secs 01.489624
dhall-mode finished ✓ 0.625 secs 01.490607
reformatter finished ✓ 0.000 secs 01.490612
dockerfile-mode finished ✓ 0.625 secs 01.491024
elm-mode finished ✓ 0.625 secs 01.491532
go-mode finished ✓ 0.626 secs 01.492088
go-flymake finished ✓ 0.626 secs 01.492425
graphviz-dot-mode finished ✓ 0.626 secs 01.492956
handlebars-mode finished ✓ 0.626 secs 01.493348
lsp-haskell finished ✓ 0.628 secs 01.495013
haskell-mode finished ✓ 0.001 secs 01.495019
json-mode finished ✓ 0.628 secs 01.496055
json-snatcher finished ✓ 0.000 secs 01.496062
lsp-docker finished ✓ 0.001 secs 01.498466
yaml finished ✓ 0.000 secs 01.498470
lsp-java finished ✓ 0.631 secs 01.499664
dap-mode finished ✓ 0.002 secs 01.499670
bui finished ✓ 0.001 secs 01.499674
web-mode finished ✓ 0.632 secs 01.501222
prettier-js finished ✓ 0.632 secs 01.501612
typescript-mode finished ✓ 0.633 secs 01.502149
tree-sitter finished ✓ 0.638 secs 01.507660
tsc finished ✓ 0.002 secs 01.507667
tree-sitter-langs finished ✓ 0.638 secs 01.508348
tide finished ✓ 0.639 secs 01.509027
pickle finished ✓ 0.639 secs 01.509413
slime finished ✓ 0.640 secs 01.511321
macrostep finished ✓ 0.000 secs 01.511327
parinfer-rust-mode finished ✓ 0.654 secs 01.525299
track-changes finished ✓ 0.001 secs 01.525306
py-isort finished ✓ 0.654 secs 01.525782
python-black finished ✓ 0.654 secs 01.526248
lsp-jedi finished ✓ 0.654 secs 01.526623
nix-mode finished ✓ 0.654 secs 01.527346
racket-mode finished ✓ 0.655 secs 01.528092
scala-mode finished ✓ 0.654 secs 01.528582
sbt-mode finished ✓ 0.654 secs 01.529215
lsp-metals finished ✓ 0.655 secs 01.529745
theta-mode finished ✓ 0.661 secs 01.536552
yaml-mode finished ✓ 0.661 secs 01.536980
terraform-mode finished ✓ 0.662 secs 01.538339
hcl-mode finished ✓ 0.000 secs 01.538345
udev-mode finished ✓ 0.662 secs 01.538706
hoon-mode finished ✓ 0.662 secs 01.539141
hoon-ts-mode finished ✓ 0.662 secs 01.539508
sql-indent finished ✓ 0.663 secs 01.540162
bigquery-mode finished ✓ 0.663 secs 01.540549
pdf-tools finished ✓ 0.666 secs 01.544225
tablist finished ✓ 0.000 secs 01.544232
nov finished ✓ 0.667 secs 01.545832
esxml finished ✓ 0.000 secs 01.545837
kv finished ✓ 0.000 secs 01.545840
vertico finished ✓ 0.667 secs 01.546565
marginalia finished ✓ 0.667 secs 01.547070
corfu finished ✓ 0.667 secs 01.547712
cape finished ✓ 0.668 secs 01.548336
corfu-popupinfo finished ✓ 0.668 secs 01.549015
corfu-history finished ✓ 0.669 secs 01.549674
corfu-terminal finished ✓ 0.670 secs 01.550923
popon finished ✓ 0.000 secs 01.550929
kind-icon finished ✓ 0.670 secs 01.552011
svg-lib finished ✓ 0.000 secs 01.552020
embark finished ✓ 0.670 secs 01.552862
embark-consult finished ✓ 0.671 secs 01.553251
consult-eglot finished ✓ 0.671 secs 01.553649
orderless finished ✓ 0.671 secs 01.554139
emms finished ✓ 0.671 secs 01.555025
emojify finished ✓ 0.000 secs 01.556376
log4e finished ✓ 0.000 secs 01.557448
alert finished ✓ 0.439 secs 01.558156
gntp finished ✓ 0.001 secs 01.558161
circe finished ✓ 0.003 secs 01.558795
slack finished ✓ 0.441 secs 01.559904
oauth2 finished ✓ 0.003 secs 01.559911
mastodon finished ✓ 0.443 secs 01.562079
persist finished ✓ 0.000 secs 01.562086
org finished ✓ 0.456 secs 01.575766
org-pandoc-import finished ✓ 0.456 secs 01.576371
org-roam finished ✓ 0.458 secs 01.578334
emacsql finished ✓ 0.000 secs 01.578343
org-journal finished ✓ 0.458 secs 01.578948
org-download finished ✓ 0.460 secs 01.580627
async finished ✓ 0.000 secs 01.580634
verb finished ✓ 0.460 secs 01.581195
simple-httpd finished ✓ 0.000 secs 01.582521
jupyter finished ✓ 0.462 secs 01.583714
zmq finished ✓ 0.001 secs 01.583720
envrc finished ✓ 0.186 secs 01.584229
parinfer-rust-mode
An interface for the parinfer-rust library
source: MELPA
url: https://github.com/justinbarclay/parinfer-rust-mode
menu item recipe:
( :package "parinfer-rust-mode"
:repo "justinbarclay/parinfer-rust-mode"
:fetcher github
:files ("*.el" "*.el.in" "dir" "*.info"
"*.texi" "*.texinfo" "doc/dir"
"doc/*.info" "doc/*.texi"
"doc/*.texinfo" "lisp/*.el" (:exclude
".dir-locals.el" "test.el" "tests.el"
"*-test.el" "*-tests.el" "LICENSE"
"README*" "*-pkg.el"))
:source "MELPA")
full recipe:
( :package "parinfer-rust-mode"
;; Inherited from elpaca-order-functions.
:depth 1
:inherit t
:protocol https
;; Inherited from elpaca-menu-item.
:source "MELPA"
:files (:defaults)
:fetcher github
:repo "justinbarclay/parinfer-rust-mode")
dependencies:
emacs >= 26.1
track-changes >= 1.1
dependents: nil
installed version: 0.9.0 e9a23e1
statuses:
(finished activation info unblocked blocked queued)
files:
$REPOS/parinfer-rust-mode/parinfer-rust-changes.el → $BUILDS/parinfer-rust-mode/parinfer-rust-changes.el
$REPOS/parinfer-rust-mode/parinfer-rust-helper.el → $BUILDS/parinfer-rust-mode/parinfer-rust-helper.el
$REPOS/parinfer-rust-mode/parinfer-rust-mode.el → $BUILDS/parinfer-rust-mode/parinfer-rust-mode.el
log:
[2024-06-04 12:30:06] Package queued
[2024-06-04 12:30:07] Continued by: elpaca--process
[2024-06-04 12:30:07] Queueing Dependencies
[2024-06-04 12:30:07] Continued by: elpaca--check-status
[2024-06-04 12:30:07] Unblocked by: track-changes
[2024-06-04 12:30:07] No Info dir file found
[2024-06-04 12:30:07] Continued by: elpaca--add-info-path
[2024-06-04 12:30:07] Activating package
[2024-06-04 12:30:07] Package build dir added to load-path
[2024-06-04 12:30:07] Caching autoloads
[2024-06-04 12:30:07] Autoloads cached
[2024-06-04 12:30:07] Continued by: elpaca--activate-package
[2024-06-04 12:30:07] ✓ 0.654 secs
I had commended out parinfer-rust-mode
from my config, so I had to delete my initial comments and replace them with the results of adding parinfer-rust-mode
to the config again.
So elpaca does not complain, but I do get this in my *Messages*
buffer when starting:
custom-initialize-reset: Cannot open load file: No such file or directory, track-changes
Sorry. Somehow edited your last comment instead of posting my own...
Sounds like maybe a a form saved by Emacs customization system is responsible. If you have a custom.el file, I'd check it to see if there's anything related to track-changes in there.
I do have custom.el
, but a search on it doesn't give me any track-changes
results. The closest thing is tramp...
.
I do have
custom.el
, but a search on it doesn't give me anytrack-changes
results. The closest thing istramp...
.
Try moving the loading of that file to elpaca-after-init-hook
.
I deleted the custom.el
and removed it from my config. emacs --debug-init
still complains of the missing track-changes
.
Interesting. I renamed the elpaca
directory, and emacs --debug-init
fails on something related to its cache.
*messages*
Loading /usr/share/emacs/site-lisp/site-start.d/autoconf-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/mercurial-site-start.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el (source)...done
Elpaca menu item cache discarded due to version change.
INFO Scraping files for loaddefs...done
GEN ../elpaca-autoloads.el
Cloning into '/home/dmvianna/.config/emacs/elpaca/repos/elpaca'...
Your branch is up to date with 'origin/master'.
Checking /home/dmvianna/.config/emacs/elpaca/repos/elpaca...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca-info.el...
Elpaca menu item cache discarded due to version change.
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca-log.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca-manager.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca-menu-elpa.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca-menu-melpa.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca-menu-org.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca-process.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca-test.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca-ui.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/elpaca.el...
Checking /home/dmvianna/.config/emacs/elpaca/repos/elpaca/doc...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/doc/early-init.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/doc/init.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/doc/installer.el...
Checking /home/dmvianna/.config/emacs/elpaca/repos/elpaca/extensions...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/extensions/elpaca-use-package.el...
Checking /home/dmvianna/.config/emacs/elpaca/repos/elpaca/images...
Checking /home/dmvianna/.config/emacs/elpaca/repos/elpaca/test...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/test/elpaca-test.el...
Compiling /home/dmvianna/.config/emacs/elpaca/repos/elpaca/test/elpaca-tests.el...
Done (Total of 12 files compiled, 4 skipped in 4 directories)
Downloading MELPA recipes...
Added to /home/dmvianna/.config/emacs/elpaca/cache/melpa/.git/info/sparse-checkout
Downloading MELPA recipes...100%
Downloading NonGNU-devel ELPA...
Downloading GNU-devel ELPA...
Entering debugger...
Beginning of buffer [2 times]
*backtrace*
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
elpaca-menu-elpa--metadata(((cache) (name . "NonGNU ELPA") (cache-path . "/home/dmvianna/.config/emacs/elpaca/cache/non-gnu-...") (packages-url . "https://git.savannah.gnu.org/cgit/emacs/nongnu.git...") (metadata-url . "https://elpa.nongnu.org/nongnu/") (remote . "git://git.sv.gnu.org/emacs/nongnu") (branch-prefix . "elpa")))
elpaca-menu-elpa--index(((cache) (name . "NonGNU ELPA") (cache-path . "/home/dmvianna/.config/emacs/elpaca/cache/non-gnu-...") (packages-url . "https://git.savannah.gnu.org/cgit/emacs/nongnu.git...") (metadata-url . "https://elpa.nongnu.org/nongnu/") (remote . "git://git.sv.gnu.org/emacs/nongnu") (branch-prefix . "elpa")))
elpaca-menu--elpa(((cache) (name . "NonGNU ELPA") (cache-path . "/home/dmvianna/.config/emacs/elpaca/cache/non-gnu-...") (packages-url . "https://git.savannah.gnu.org/cgit/emacs/nongnu.git...") (metadata-url . "https://elpa.nongnu.org/nongnu/") (remote . "git://git.sv.gnu.org/emacs/nongnu") (branch-prefix . "elpa")) index)
elpaca-menu-non-gnu-elpa(index)
elpaca--menu-items(t)
elpaca-menu-item(elpaca nil)
elpaca-recipe((elpaca :repo "https://github.com/progfolio/elpaca.git" :ref nil :depth 1 :files (:defaults "elpaca-test.el" (:exclude "extensions")) :build (:not elpaca--activate-package)))
elpaca<-create((elpaca :repo "https://github.com/progfolio/elpaca.git" :ref nil :depth 1 :files (:defaults "elpaca-test.el" (:exclude "extensions")) :build (:not elpaca--activate-package)))
elpaca--queue((elpaca :repo "https://github.com/progfolio/elpaca.git" :ref nil :depth 1 :files (:defaults "elpaca-test.el" (:exclude "extensions")) :build (:not elpaca--activate-package)) (elpaca-q init 0 0 incomplete (26207 41475 261424 871000) nil nil nil))
elpaca--expand-declaration(`(,@elpaca-order) nil)
load-with-code-conversion("/home/dmvianna/.config/emacs/init.el" "/home/dmvianna/.config/emacs/init.el" t t)
load("/home/dmvianna/.config/emacs/init" noerror nomessage)
#<subr startup--load-user-init-file>(#f(compiled-function () #<bytecode 0x1a680cb7f77a502a>) #f(compiled-function () #<bytecode 0x4d131ce0e73c34b>) t)
apply(#<subr startup--load-user-init-file> (#f(compiled-function () #<bytecode 0x1a680cb7f77a502a>) #f(compiled-function () #<bytecode 0x4d131ce0e73c34b>) t))
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x1a680cb7f77a502a>) #f(compiled-function () #<bytecode 0x4d131ce0e73c34b>) t)
command-line()
normal-top-level()
Do you have your configuration uploaded somewhere? I can take a look and see if I can reproduce the issue on my end.
Interesting. I renamed the elpaca directory, and emacs --debug-init fails on something related to its cache.
What specifically did you do?
OK, I fixed the problem. Once I deleted ~/.config/emacs/.cache
and ~/.config/emacs/.eln-cache
parinfer-rust-mode
installed just fine.
You could not reproduce my issue exactly because your test environment is clean. Your test environment does not emulate upgrades. There's state being kept in the caches that it does not emulate successfully.
What specifically did you do? I renamed
~/.config/emacs/elpaca
to~/.config/emacs/elpaca-off
, to test the hypothesis that the problem came from that directory's state. It didn't fix it, but it helped (maybe fortuitously) to point in the right direction.
Happy to close the issue. Thanks for your time and interest!
OK, I fixed the problem. Once I deleted
~/.config/emacs/.cache
and~/.config/emacs/.eln-cache
parinfer-rust-mode
installed just fine.You could not reproduce my issue exactly because your test environment is clean. Your test environment does not emulate upgrades. There's state being kept in the caches that it does not emulate successfully.
What specifically did you do? I renamed
~/.config/emacs/elpaca
to~/.config/emacs/elpaca-off
, to test the hypothesis that the problem came from that directory's state. It didn't fix it, but it helped (maybe fortuitously) to point in the right direction.Happy to close the issue. Thanks for your time and interest!
Thanks for the details. Good to know in case anyone else runs into something similar. Glad you got things working again.
Confirmation
Elpaca Version
Elpaca bc685f5 grafted, HEAD -> master, origin/master, origin/HEAD installer: 0.7 emacs-version: GNU Emacs 29.3 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-04-26 git --version: git version 2.45.1
Operating System
Fedora 40
Description
I've been using this configuration for
parinfer-rust-mode
for about a year, but recently I ranelpaca-update-all
and now I keep getting this errorI have checked the
parinfer-rust-mode
's source code and it does havetrack-changes
listed as a dependency.So for the moment I'm assuming elpaca is not resolving the dependency as it should.