unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Using ELPA in batch mode on Windows fails
@ 2014-10-02 11:40 Robin Neatherway
  0 siblings, 0 replies; only message in thread
From: Robin Neatherway @ 2014-10-02 11:40 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I have an automated test suite that downloads a few packages from ELPA
to simulate a fresh install. It runs perfectly well on Linux and OSX,
but not on Windows with Emacs 24.3.1. A simple way to reproduce the
problem is:

>c:\utils\emacs\bin\emacs -Q --batch -f toggle-debug-on-error --eval "(setq package-archives '((\"gnu\" . \"http://elpa.gnu.org/packages/\")))" --eval "(package-refresh-contents)"
Debug on Error enabled globally
Contacting host: elpa.gnu.org:80
Memory exhausted--use C-x s then exit and restart Emacs

I also tried using an up to date binary from
http://sourceforge.net/projects/emacs-bin/ dated 9th September 2014.
This fails to find gpg:

>c:\utils\emacs-trunk\bin\emacs -Q --batch -f toggle-debug-on-error --eval "(setq package-archives '((\"gnu\" . \"http://elpa.gnu.org/packages/\")))" --eval "(package-refresh-contents)"
Debug on Error enabled globally
Contacting host: elpa.gnu.org:80
Contacting host: elpa.gnu.org:80
Debugger entered--Lisp error: (file-error "Searching for program" "no
such file or directory" "
gpg")
  start-process("epg" #<buffer  *epg*> "gpg" "--no-tty" "--status-fd"
"1" "--yes" "--homedir" "
d:/dev/rneatherway-fsharpbinding/emacs/tmp/.emacs.d/elpa/gnupg"
"--command-fd" "0" "--output" "
c:/Users/robnea/AppData/Local/Temp/epg-output3804P5-" "--verify" "--"
"c:/Users/robnea/AppData/
Local/Temp/epg-signature3804jvu" "-")
... snip ...

while using MELPA works fine:

D:\dev\rneatherway-fsharpbinding\FSharp.AutoComplete>c:\utils\emacs-trunk\bin\emacs
--batch -f toggle-debug-on-error --eval "(setq package-archives
'((\"melpa\" . \"http://melpa.milkbox.net/packages/\")))" --eval
"(package-refresh-contents)"
Debug on Error enabled globally
Contacting host: melpa.milkbox.net:80
Contacting host: melpa.milkbox.net:80



I'm not quite sure how to proceed debugging this, but something seems
to be not quite right with the Windows build.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-02 11:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-02 11:40 Using ELPA in batch mode on Windows fails Robin Neatherway

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).