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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing package #6572

Closed
buggymcbugfix opened this issue Jul 13, 2016 · 6 comments
Closed

Error when installing package #6572

buggymcbugfix opened this issue Jul 13, 2016 · 6 comments

Comments

@buggymcbugfix
Copy link

Description

An error occurred while installing emoji-cheat-sheet-plus (error: (cl-assertion-failed (or (= (buffer-size tar-data-buffer) (buffer-size)) (eq tar-data-swapped (> (buffer-size tar-data-buffer) (buffer-size))))))

Reproduction guide

  • add emoji to layers
  • Start Emacs

I get this same error with other packages as well. What am I doing wrong?

System Info

  • OS: darwin
  • Emacs: 25.1.50.1
  • Spacemacs: 0.105.21
  • Spacemacs branch: master (rev. 0283f64)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(auto-completion emacs-lisp emoji git haskell markdown org pandoc
                 (spell-checking :variables spell-checking-enable-by-default nil)
                 syntax-checking version-control)

Messages

(Spacemacs) --> refreshing package archive: melpa... [1/3]
Contacting host: melpa.org:443
Failed to download ‘melpa’ archive.
(Spacemacs) --> refreshing package archive: org... [2/3]
Contacting host: orgmode.org:80 2 times --> refreshing package archive: gnu... [3/3]
Contacting host: elpa.gnu.org:443
Failed to download ‘gnu’ archive.
(Spacemacs) --> installing package: emoji-cheat-sheet-plus@emoji... [1/1]
Contacting host: melpa.org:443
Parsing tar file...done
smooth-scrolling enabled.
Spacemacs is ready.

@TheBB
Copy link
Contributor

TheBB commented Jul 13, 2016

You probably just got a corrupted download. Clear packages, try again, possibly disable HTTPS, the usual.

@buggymcbugfix
Copy link
Author

buggymcbugfix commented Jul 13, 2016

@TheBB How do I clear packages?

Edit: After browsing around in my .emacs.d I found and deleted anything to do with emoji, which is what I presume you mean when saying “clear packages”?

Have tried emacs --insecure, which doesn't make a difference.

An excerpt from my log:

(Spacemacs) --> refreshing package archive: melpa... [1/3]
Contacting host: melpa.org:443 [2 times]
Failed to download ‘melpa’ archive.
(Spacemacs) --> refreshing package archive: org... [2/3]
Contacting host: orgmode.org:80
(Spacemacs) --> refreshing package archive: gnu... [3/3]
Failed to download ‘gnu’ archive.
(Spacemacs) --> installing package: emoji-cheat-sheet-plus@emoji... [1/1]
Contacting host: melpa.org:443
Parsing tar file...done

@buggymcbugfix
Copy link
Author

I just noticed that company-emoji.el and .elc are both empty.

@TheBB
Copy link
Contributor

TheBB commented Jul 14, 2016

You delete the folder(s) from .emacs.d/elpa

@buggymcbugfix
Copy link
Author

Yes, I worked that out, but I still get the same error when trying to reinstall. Same when I use emacs --insecure.

@buggymcbugfix
Copy link
Author

OK, so this seems to be an issue with emacs 25. Have reinstalled with latest stable and issue is gone.

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

No branches or pull requests

2 participants