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

Emacs 25 - Package Errors Prelude #947

Closed
MortalCatalyst opened this issue Dec 1, 2015 · 7 comments
Closed

Emacs 25 - Package Errors Prelude #947

MortalCatalyst opened this issue Dec 1, 2015 · 7 comments

Comments

@MortalCatalyst
Copy link

There is an error on ubuntu using snapshot emacs insalling prelude.

Warning (initialization): An error occurred while loading ‘/home/sayth/.emacs.d/init.el’:

error: Error retrieving: https://melpa.org/packages/logito-20120225.1255.el "incomprehensible buffer"

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace

i have found a similar issue on spacemacs syl20bnr/spacemacs#3854

The solution on that issue is to add this to the top of the init.el file

(load-library "url-handlers")

I tried this as a solution for prelude, it however doesn't work for prelude, any ideas?

@ethanluoyc
Copy link

I experienced the same issue with Homebrew version of the emacs

@syohex
Copy link
Contributor

syohex commented Dec 4, 2015

I suppose this issue was already fixed. Please upgrade to latest version.

@linnik
Copy link

linnik commented Dec 7, 2015

Can confirm that latest prelude works with emacs 25:

➜  ~  brew install emacs --devel --with-cocoa
....
==> Summary
🍺  /usr/local/Cellar/emacs/25.0-dev: 4026 files, 117M, built in 9.8 minutes
➜  ~  emacs --daemon
Prelude is powering up... Be patient, Master slava!
...
Prelude is ready to do thy bidding, Master slava!
Starting Emacs daemon.
➜  ~  emacs --version
GNU Emacs 25.0.50.1

@BrunoBonacci
Copy link

Got the same error with GNU Emacs 25.1.50.2 on Ubuntu and a clean prelude on a fresh installation.
It seems that if the logito has been already compiled, prelude starts correctly even with Emacs25.
It fails only when it tries to download and compile it.

@MortalCatalyst
Copy link
Author

Yes same as @BrunoBonacci Fresh install of emacs and prelude on ubuntu and logito error still exists.

@petro-rudenko
Copy link

Same for me. Even removing logito dependencies have the same error for another package:

Debugger entered--Lisp error: (error "Error retrieving: https://melpa.org/packages/gitignore-mode-20150330.1048.el \"incomprehensible buffer\"")
  signal(error ("Error retrieving: https://melpa.org/packages/gitignore-mode-20150330.1048.el \"incomprehensible buffer\""))
  #[257 "p\306\216\3071\210�\310�\311\"\211\203��\312\313\303�#\210\210\314\315\316\317#\204$�\312\313\303\320#\210\321\322!r\211q\210\323\324\325\326\327�!\330\"\331$\216\332�\303\"\210\333�!\210eb\210\f\203_�\300\324H
>\204V�\334\335\336\300D\"\210\300\337H�)\235\203i�\340�*\341\300!)\202\201�\342 \343\301\302�\316\323\344\345\326\327\300��\"\346\"\347\350%%\262�*\262�0\202\220�\334�@�A\"\262�)\207" [[cl-struct-package-desc gitignore-mode (20150330 1048) "Major mode for editing .gitignore files" nil single "melpa" nil ((:url . "https://github.com/magit/git-modes") (:keywords "convenience" "vc" "git")) nil] "https://melpa.org/packages/" "gitignore-mode-20150330.1048.el" "https://melpa.org/packages/gitignore-mode-20150330.1048.el" package-check-signature cl-struct-package-desc-tags #[0 "\300\207" [nil] 1] (error) plist-get :error error "Error retrieving: %s %S" search-forward-regexp "^
?\n
?" nil noerror "incomprehensible buffer" generate-new-buffer " *temp*" make-byte-code 0 "\301\300!\205  �\302\300!\207" vconcat vector [buffer-name kill-buffer] 2 url-insert-buffer-contents kill-buffer signal wrong-type-argument package-desc 6 t package-unpack buffer-string package--check-signature 256 "\211\204 �\n\306=\204 �\307\310\300\311H�>\204��\312\313\314\300D\"\210\300\315H\"\210\316\317!r\211q\210\320\311\321\322\323�!\324\"\325$\216\301c\210\326�\327\300!\210+\210\211\205\240�\330\331\332�\333#\334\335\336\300!\337P
\"\334\340%\210\300\311H�>\204d�\312\313\314\300D\"\210\300\211\341\326I\266�\300\311H�>\204z�\312\313\314\300D\"\210\300\315H�\"\236A\211\205\236�\211@\311H�>\204\226�\312\313\314�@D\"\210\211@\211\341\326I\262�\262�\207" [package-check-signature cl-struct-package-desc-tags save-silently package-user-dir allow-unsigned error "Unsigned package: `%s'" 0 signal wrong-type-argument package-desc 1 generate-new-buffer " *temp*" make-byte-code "\301\300!\205    �\302\300!\207" vconcat vector [buffer-name kill-buffer] 2 t package-unpack write-region mapconcat epg-signature-to-string "\n" nil expand-file-name package-desc-full-name ".signed" silent 9 package-alist] 8 "\n\n(fn &optional GOOD-SIGS)" package-unsigned-archives save-silently] 16 "\n\n(fn STATUS)"](nil)
  package-install-from-archive([cl-struct-package-desc gitignore-mode (20150330 1048) "Major mode for editing .gitignore files" nil single "melpa" nil ((:url . "https://github.com/magit/git-modes") (:keywords "convenience" "vc" "git")) nil])
  mapc(package-install-from-archive ([cl-struct-package-desc gitignore-mode (20150330 1048) "Major mode for editing .gitignore files" nil single "melpa" nil ((:url . "https://github.com/magit/git-modes") (:keywords "convenience" "vc" "git")) nil]))
  package-download-transaction(([cl-struct-package-desc gitignore-mode (20150330 1048) "Major mode for editing .gitignore files" nil single "melpa" nil ((:url . "https://github.com/magit/git-modes") (:keywords "convenience" "vc" "git")) nil]))
  package-install(gitignore-mode)
  (if (package-installed-p package) nil (package-install package))
  prelude-require-package(gitignore-mode)
  mapc(prelude-require-package (ace-window avy anzu beacon browse-kill-ring dash discover-my-major diff-hl diminish easy-kill epl expand-region flycheck git-timemachine gitconfig-mode gitignore-mode god-mode grizzl guru-mode ov projectile magit move-text operate-on-number smart-mode-line smartparens smartrep undo-tree volatile-highlights zenburn-theme zop-to-char))
  prelude-require-packages((ace-window avy anzu beacon browse-kill-ring dash discover-my-major diff-hl diminish easy-kill epl expand-region flycheck git-timemachine gitconfig-mode gitignore-mode god-mode grizzl guru-mode ov projectile magit move-text operate-on-number smart-mode-line smartparens smartrep undo-tree volatile-highlights zenburn-theme zop-to-char))
  (if (prelude-packages-installed-p) nil (message "%s" "Emacs Prelude is now refreshing its package database...") (package-refresh-contents) (message "%s" " done.") (prelude-require-packages prelude-packages))
  prelude-install-packages()
  eval-buffer(#<buffer  *load*-558885> nil "/home/peter/.emacs.d/core/prelude-packages.el" nil t)  ; Reading at buffer position 3102
  load-with-code-conversion("/home/peter/.emacs.d/core/prelude-packages.el" "/home/peter/.emacs.d/core/prelude-packages.el" nil t)
  require(prelude-packages)
  eval-buffer(#<buffer  *load*> nil "/home/peter/.emacs.d/init.el" nil t)  ; Reading at buffer position 4462
  load-with-code-conversion("/home/peter/.emacs.d/init.el" "/home/peter/.emacs.d/init.el" t t)
  load("/home/peter/.emacs.d/init" t t)
  #[0 "�\205\266�   \306=\203��\307�\310Q\202?� \311=\204��\307�\312Q\202?�\313\307\314\315#\203*�\316\202?�\313\307\314\317#\203>�\320\321\322!D\nB�\323\202?�\316\324�\325�\324\211#\210�\324=\203e�\326\327\330\307�\331Q!\"\325�\324\211#\210�\324=\203d���\210�\203\247�\332�!\333\232\203\247�\334�!\211\335P\336�!\203\201�\211\202\214�\336�!\203\213��\202\214�\314\262��\203\245�\337��\"\203\243�\340\341��#\210\342\343!\210��\266�\f?\205\264�\314�\325\344\324\211#)\262�\207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" initialization format-message "`_emacs' init file is deprecated, please use `.emacs'" "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7]()
  command-line()
  normal-top-level()

Adding (load-library "url-handlers") didn't help as well. Emacs version GNU Emacs 25.1.50.2

@BrunoBonacci
Copy link

After an update of the upstream Emacs version this appear to be fixed. If nobody else is experiencing this issue I suggest to close the ticket.

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

6 participants