Issue on start-up after manual install

55 views
Skip to first unread message

Phil

unread,
Apr 24, 2017, 1:27:34 PM4/24/17
to Emacs Prelude
Hi,

I've tried installing by cloning git and also by taking the tar.gz from here:
http://batsov.com/prelude/

In both cases I see the same error message (see below).

I soft link the root of the decompressed tar.gz or git clone to ~/.emacs.d

I'm running Ubuntu 16.04
GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)

I then load up emacs and get the issue below.

If I remove ace-window from the prelude-packages.el in core, then I get an indentical error message with the next package in the list.

I am running this behind a strict firewall (MELPA etc are blocked), but figured that if I manually installed, I should have a set of packages that should work without WWW access?


Any ideas?


Thanks,

Phil.


Warning (initialization): An error occurred while loading `/home/phil123/.emacs.d/init.el':

error: Package `ace-window-' is unavailable

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.


_____


Debug output - it suggests that the issue may be to do with melpa being blocked, can I disable this refresh?


Debugger entered--Lisp error: (file-error "make client process failed" "connection refused" :name "melpa.org" :buffer #<buffer  *url-http-temp*> :$
  make-network-process(:name "melpa.org" :buffer #<buffer  *url-http-temp*> :host "melpa.org" :service 443 :nowait nil)
  open-network-stream("melpa.org" #<buffer  *url-http-temp*> "melpa.org" 443)
  open-gnutls-stream("melpa.org" #<buffer  *url-http-temp*> "melpa.org" 443)
  network-stream-open-tls("melpa.org" #<buffer  *url-http-temp*> "melpa.org" 443 (:type tls :nowait t))
  open-network-stream("melpa.org" #<buffer  *url-http-temp*> "melpa.org" 443 :type tls :nowait t)
  byte-code("\306\211^X^Y\n\307>\203$^@\n\310=\203^R^@\311^R\312^K\f^M^N^X\313\n\314\315\316\317\"&^H\202Y^@\n\320=\2034^@\321^K\f^M^N^X$\202Y^@\n$
  url-open-stream("melpa.org" #<buffer  *url-http-temp*> "melpa.org" 443)
  url-http-find-free-connection("melpa.org" 443)
  url-http([cl-struct-url "https" nil nil "melpa.org" nil "/packages/archive-contents" nil nil t nil t] #[128 "\302\303\304p#\210\300\305\240\210\$
  url-https([cl-struct-url "https" nil nil "melpa.org" nil "/packages/archive-contents" nil nil t nil t] #[128 "\302\303\304p#\210\300\305\240\210$
  url-retrieve-internal("https://melpa.org/packages/archive-contents" #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-deb$
  url-retrieve("https://melpa.org/packages/archive-contents" #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrie$
  url-retrieve-synchronously("https://melpa.org/packages/archive-contents")
  url-insert-file-contents("https://melpa.org/packages/archive-contents")
  package--download-one-archive(("melpa" . "https://melpa.org/packages/") "archive-contents")
  #[0 "\301\300\302\"\207" [("melpa" . "https://melpa.org/packages/") package--download-one-archive "archive-contents"] 3 "\n\n(fn)"]()
  funcall(#[0 "\301\300\302\"\207" [("melpa" . "https://melpa.org/packages/") package--download-one-archive "archive-contents"] 3 "\n\n(fn)"])
  package-refresh-contents()
  (if (prelude-packages-installed-p) nil (message "%s" "Emacs Prelude is now refreshing its package database...") (package-refresh-contents) (mess$
  prelude-install-packages()



Phil

unread,
Apr 25, 2017, 5:15:24 AM4/25/17
to Emacs Prelude
I've found a crude way around this.

I can install it on a machine NOT behind a firewall using the same version of Unix and same Processor specs, and edit the prelude-modules.el to include anything I need.

I can then allow this to go through the normall install process - which works fine as expected.

I can then zip up my .emacs.d folder and move it to the machine behine the firewall and use this zipped folder as my .emacs.d.

This is very hacky tho - I was suprised it worked :-)

Does anyone know if Prelude or any other similar emacs package set, is downloadable and usable without a conneciton to melpa, etc?  That is, the zip you download contains everything it needs to setup without needing an internet connection?


Thanks,

Phil.
Reply all
Reply to author
Forward
0 new messages