Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings after package updates #8800

Closed
topecongiro opened this issue Apr 26, 2017 · 2 comments
Closed

Warnings after package updates #8800

topecongiro opened this issue Apr 26, 2017 · 2 comments

Comments

@topecongiro
Copy link

topecongiro commented Apr 26, 2017

Description :octocat:

spacemacs emits warnings after updating packages.

Reproduction guide 馃

  • Start Emacs
  • Update Packages

Observed behaviour: 馃憖 馃挃
spacemacs emits the following warnings:

Error (use-package): pdf-tools :config: No executable `epdfinfo' found
Error (use-package): slime :config: Cannot open load file: No such file or directory, slime-company

Expected behaviour: 鉂わ笍 馃槃
spacemacs should complete pacakges update without emitting error.

System Info 馃捇

  • OS: gnu/linux
  • Emacs: 25.2.1
  • Spacemacs: 0.200.9
  • Spacemacs branch: master (rev. 8e1af14)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: ivy
  • Layers:
(ruby c-c   common-lisp go html latex python rust shell themes-megapack yaml ivy auto-completion emacs-lisp git gtags markdown org pdf-tools
      (shell :variables shell-default-height 30 shell-default-position 'bottom shell-default-shell 'eshell)
      syntax-checking version-control)
  • System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES
@LdBeth
Copy link
Contributor

LdBeth commented May 1, 2017

Sometimes use-packages throws errors because some require dependencies are not installed before the congratulations are called. As specific to your problem, slime-company wasn't installed before the configuration of silme, which calls a function defined in slime-company. Who's fault? Well, some layers do not optimize the order of loading packages and some error messages will be thrown only when the packages are updated. However, when the layers do such a optimize to have a "smooth" update, Spacemacs may get slowed down.

Thou I know it's annoying, it is not a big deal as long as those errors are not reproduced after restart Emacs. And this problem might not be addressed in short run.

I wish this explains to you about why that thing happened.

Consider to add an "as expected" label to this issue.

@topecongiro
Copy link
Author

@LdBeth Thank you for your explanation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants