Closed haxney closed 10 years ago
I removed the use of req-package
from my init and things seem to be a bit better, but I am still unable to install org-plus-contrib
. I get the following error:
Debugger entered--Lisp error: (wrong-type-argument processp nil)
set-process-buffer(nil #<buffer *url-http-temp*>)
open-network-stream("orgmode.org" #<buffer *url-http-temp*> "orgmode.org" 80 :type plain :nowait t)
byte-code("..." [coding-system-for-write coding-system-for-read gw-method name buffer host binary (tls ssl native) native plain open-network-stream :type :nowait featurep make-network-process (:nowait t) socks socks-open-network-stream telnet url-open-telnet rlogin url-open-rlogin error "Bad setting of url-gateway-method: %s" service url-gateway-method conn] 11)
url-open-stream("orgmode.org" #<buffer *url-http-temp*> "orgmode.org" 80)
url-http-find-free-connection("orgmode.org" 80)
url-http([cl-struct-url "http" nil nil "orgmode.org" nil "/elpa/org-plus-contrib-20140224.tar" nil nil t nil t] #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] (nil))
url-retrieve-internal("http://orgmode.org/elpa/org-plus-contrib-20140224.tar" #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] (nil) nil nil)
url-retrieve("http://orgmode.org/elpa/org-plus-contrib-20140224.tar" #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"])
url-retrieve-synchronously("http://orgmode.org/elpa/org-plus-contrib-20140224.tar")
package-download-tar(org-plus-contrib "20140224")
package-download-transaction((org-plus-contrib))
package-install(org-plus-contrib)
call-interactively(package-install record nil)
command-execute(package-install record)
execute-extended-command(nil "package-install")
smex-read-and-run(("toggle-debug-on-error" "toggle-debug-on-quit" "package-install" "sml/setup" "rgrep" "find-library" "customize-group" "describe-package" "load-library" "package-list-packages" "lisp-interaction-mode" "R" "S" "S+" "cd" "5x5" "S+3" "S+6" "SAS" "arp" "dbx" "dig" "erc" "ert" "ftp" "gdb" "irc" "jdb" "man" "mpc" "pdb" "pwd" "rsh" "sdb" "vlf" "xdb" "yow" "calc" "diff" "dirs" "ffap" "ffip" "gnus" "grep" "help" "ielm" "info" "life" "mail" "mpuz" ...))
smex()
call-interactively(smex nil nil)
Again, when I am not using Cask and use-package
, things work fine.
See my updated repo for the change.
Why is your init file trying to download org-mode? I can't see how that has anything to do with use-package
.
It is using :ensure
to force installation for missing packages.
It could be Cask that is causing problems. I'll investigate a bit.
Ah, I figured out what I needed to do for org-plus-contrib
: set :defer t
, since there isn't any file actually named org-plus-contrib.el
to require. Also, getting rid of Cask seems to have fixed things.
I'll mark this as closed, since it looks like a problem with Cask.
you can use it like this:
(use-package org
:ensure org-plus-contrib
...
I am trying to port my init over from a hand-rolled thing to
use-package
, but it is failing to some packages. There were some which installed without any problem, but it is currently stuck trying to installkeyfreq
. I get the following backtrace on init:See my init settings here. I am using Cask and following the pattern used in this init file.
To reproduce, start Emacs with
-Q
and calleval-buffer
ininit.el
. If I startemacs -Q
and runpackage-install
manually, it installs without a problem. Any ideas?