-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during evil-unimpaired loading (can't find f package) #6523
Comments
Please follow the bug report template -- you have NO reproduction steps so nobody even know how you got this. I am not having this issue. System Info 💻
(bibtex rebox nginx twitter graphviz ivy helm asciidoc elfeed speed-reading swift plantuml
(auto-completion :variables auto-completion-return-key-behavior 'complete auto-completion-tab-key-behavior 'cycle auto-completion-complete-with-key-sequence nil auto-completion-enable-help-tooltip t auto-completion-enable-sort-by-usage t auto-completion-show-snippets-in-popup t auto-completion-private-snippets-directory "~/.spacemacs.d/snippets")
better-defaults emacs-lisp
(git :variables git-magit-status-fullscreen t)
github gnus version-control markdown syntax-checking
(latex :variables latex-enable-auto-fill t)
(colors :variables colors-colorize-identifiers 'all colors-enable-nyan-cat-progress-bar t)
docker ansible puppet evil-commentary
(evil-snipe :variables evil-snipe-enable-alternate-f-and-t-behaviors t)
fasd finance floobits xkcd autohotkey csv
(c-c++ :variables c-c++-enable-clang-support t)
(clojure :variables clojure-enable-fancify-symbols t)
extra-langs go
(haskell :variables haskell-enable-ghci-ng-support t haskell-enable-shm-support t haskell-enable-hindent-style "andrew-gibiansky")
html java
(javascript :variables javascript-disable-tern-port-files t)
(python :variables python-enable-yapf-format-on-save t python-test-runner
'(nose pytest))
racket
(ruby :variables ruby-version-manager `rvm)
ruby-on-rails
(rust :variables rust-enable-rustfmt-on-save t)
scala shell-scripts restclient themes-megapack tmux vim-empty-lines spotify pandoc vagrant
(ibuffer :variables ibuffer-group-buffers-by 'projects)
semantic deft
(shell :variables shell-default-shell 'ansi-term shell-default-position 'bottom shell-default-height 30 shell-default-term-shell "/bin/zsh")
erc chrome d emoji gtags prodigy evernote
(org :variables org-enable-github-support t org-enable-reveal-js-support t)
search-engine evil-little-word yaml sql nim ipython-notebook lua scheme purescript sml common-lisp ranger wakatime dash spell-checking jabber cscope vinegar rcirc games react geolocation idris
(elm :variables elm-reactor-port "3000" elm-reactor-address "0.0.0.0")
elixir
(typography :variables typography-enable-typographic-editing nil)
evil-cleverparens pdf-tools imenu-list slack) |
@robbyoconnor That's because it even breaks the reporting mechanism. The issue is just "have we installed (rev. 9499e24) |
I don't have this problem. What emacs version? you didn't give us ANY information |
it is not installed -- I'm not having an issue -- you gave NO reproduction steps whatsoever. How would one go about getting this error to happen? |
It's not really much to reproduce, but hey DescriptionCommit c98f862 assumes we installed Note that I have to revert c98f862 (in my system, it's 2a04d47) to be able to use the reporting mechanism. Reproduction guide 🪲
Observed behaviour: 👀 💔 Expected behaviour: ❤️ 😄 System Info 💻
(ivy
(auto-completion :variables auto-completion-enable-sort-by-usage t)
emacs-lisp
(git :variables git-magit-status-fullscreen t)
(markdown :variables markdown-live-preview-engine 'vmd)
org
(shell :variables shell-default-height 30 shell-default-position 'bottom)
spell-checking
(syntax-checking :variables syntax-checking-enable-tooltips nil)
(version-control :variables version-control-diff-tool 'diff-hl)
osx colors idris
(haskell :variables haskell-completion-backend 'intero haskell-enable-hindent-style "johan-tibell")
(latex :variables latex-build-command "LatexMk")
(evil-snipe :variables evil-snipe-enable-alternate-f-and-t-behaviors t)
ocaml lua sml yaml
(c-c++ :variables c-c++-enable-clang-support t)
proof-general) Backtrace 🐾
|
I am receiving a similar error to bixuanzju with the following message in the warning buffer after start-up:
After start-up, helm does not work for me and the spacemacs initial loading screen does not properly load. The offending commit for me is c98f862 as well. I suspect the cause for this issue is similar to the issues discussed here where requiring the f package is causing issues on start-up: #2046 |
I did cc @syl20bnr |
I'm just curious why it's not causing an issue for me... that's all... |
@bixuanzju Thank you for reporting this issue! To be honest, I didn't try to reproduce it. But I think it might be the problem due to the fact that So... Could you please check if adding package requires section after version section fixes your issue, like in following snippet?
P. S. I might be wrong, so just shooting in the air :-P Update I can reproduce it. And proposed solution doesn't work. |
I wonder why it doesn't respect the list of required packages. In case you need a quick workaround, redefine
It's dirty, but at least works :/ |
The proposed dirty workaround starts emacs for me, albeit in a strange way where |
@d12frosted regarding this suggestion:
This is the right way to go, the I think the proper way to fix the bug is for Spacemacs to recognize local package dependencies from the |
Yeah, looks like it. And it would be nice to make it respect list of required packages by local package. BTW, I thought that Quelpa properly installs local packages. For example in it's documentation there is mention about Do I understand it right that Spacemacs just modifies |
That's correct. Quelpa builds ELPA packages locally and then installs them to
Yes, according to the source of |
My mistake I thought the PR only moved evil-unimpaired to a local package as is. Let's remove the dependency on |
On the topic of Elpa headers, they are not respected for local packages which are just added to the |
@syl20bnr what do you think about installing local packages for real? It would mitigate such problems and will be consistent with overall behaviour of packages. |
It would also improve startup time |
Hi all, I am the author of the offending commit. Sorry for braking things, the issue somehow doesnt affect me. Probably I use some package from MELPA that installed FYI requiring 👍 for adding support for |
@bmag suggested adding evil-unimpared to excluded packages list as a temporary workaround - it worked for me |
Same as @agzam , but only with the exact package name : evil-unimpaired :) |
I run into the same problem, when I switched to the I tried to add the lines @d12frosted suggested to my |
@cies the best solution at the moment is to add |
@cies yeah, my solution is not ideal and not for @bixuanzju sorry, I've updated it without your approval, but this is critical matter. And once again, thanks for report! |
Is there any ETA on releasing an at least temporary fix? So that new users of the develop branch don't get the impression it's broken all the time :) |
A better workaround is to add "f" package to dotspacemacs-additional-packages in your spacemacs.d/init.el file.
|
It seems my workaround isn't better. It works the moment Spacemacs needs to download 'f' package, but it doesn't work after subsequent restarts. Deleting 'f' package directory from elpa/ directory forces it to download once again and it works for that one run. |
That's strange that adding f to additional package works only for the first run... Really strange :-( |
yeah, strange. But the behaviour is consistent (maybe that's a separate issue that just manifested itself in that particular way?). It works only when downloading, and on subsequent runs I get the same can't load 'f' error message. |
And properly setup dependencies. Fixes syl20bnr#6523 Suppresses syl20bnr#6559
And properly setup dependencies. Fixes syl20bnr#6523 Suppresses syl20bnr#6559
And properly setup dependencies. Fixes syl20bnr#6523 Suppresses syl20bnr#6559
And properly setup dependencies. Fixes syl20bnr#6523 Suppresses syl20bnr#6559
Hi everyone, This issue is fixed in develop branch, so go ahead and update. Sorry it took so long 😸 💃 |
I'm closing since this issue isn't on master in the first place. |
@TheBB oh, right. Good catch. |
@d12frosted Every time I press |
@bixuanzju thanks for letting me know. I never used this button before. But I can confirm - |
@d12frosted then how do you update packages? |
@bixuanzju well, now that I tried that P. S. that problem with update still happens. Unfortunately no ETA. |
@bixuanzju I've opened new issue #6610 to track that problem. Thanks for reporting it! |
Yes, this problem appears again in version 26.3 |
Workaround for this problem
Add
evil-unimpaired
to list of excluded packages in your.spacemacs
.Description
Commit c98f862 assumes we installed
f
, but in my case, I didn't.Note that I have to revert c98f862 (in my system, it's 2a04d47) to be able to use the reporting mechanism.
Reproduction guide 🪲
Observed behaviour: 👀 💔
(file-error "Cannot open load file" "No such file or directory" "f")
Expected behaviour: ❤️ 😄
No such error
System Info 💻
Backtrace 🐾
The text was updated successfully, but these errors were encountered: