Failed to download melpa archive.
Can you check whether emacs itself can successfully visit the URL, with, e. With emacs compiled from git head, it actually gives me an error right now, wrong-type-argument number-or-marker-p nil inside url-http-options , and package-refresh-contexts gives me the same error, but I see no error with But now it's working.
Skip to content. Star 2. The text was updated successfully, but these errors were encountered:. Sorry, something went wrong.
Thank you, I added the trailing slash but I am still getting the same error when trying to download the mepla archive. Any help would be greatly appreciated. Hi milkypostman , here's the error after setting debug-on-error. Emacs version But for some reason it works with emacs Debugger entered--Lisp error: error "Could not create connection to melpa. Are you maybe on Windows? My guess is that The error indicates that your Emacs I am using emacs I had a similar issue on Win7 and this answer from StackExchange helped me.
In short, you have to download compiled Windows GnuTLS libraries and dependencies from here and unzip it to the emacs folder. Get emacsideps. For me, since I was using Emacs Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. I have got the same issue with VPN connection too. If you set up melpa a while ago it seems like the old URLs must have changed or something. Skip to content. Star 2. New issue. Jump to bottom. Copy link. Clone and cd into melpa. If there are missing dependencies, do steps 2 through 6 again.
And you should use melpa. I'm having trouble with melpa too right now: package-refresh-contents Contacting host: melpa. This is my config: require 'package add-to-list 'package-archives ' "melpa". Contributor Author. Anyway, I will change to melpa. Add plur recipe Is this happening again? I had troubles this morning and am having them again now Please feel free to ping this bug if it occurs again.
It looks like this is happening again. I too am experiencing this. You should also note that our recommended config snippet here includes an explicit call to package-initialize and some handling of when the host Emacs doesn't support HTTPS. Your pasted config snippet above is not the one we suggest. Thanks for find-library -- mine says it can't find, but that's presumably because I'm using a package rather than downloading and building from source!
I'll drop the tromey archive. I've changed the other code somewhat; it's still not the same as what your page suggests, but it should accomplish the same thing. Anyway, I still think package. Ah yes, I see that the config snippet suggested at the link I included above has diverged from that on our "Getting Started" page. The former already does as you suggest, and is the one to use. The use of apostrophe before the second quotes that entire form, including concat , which I think would result in a non-string in the cdr position.
That doesn't quote the form at all, instead explicitly cons -ing the keyword string to the value string, which results from evaluating concat Yep, and you'll probably want to call package-initialize explicitly - that's in our snippet, and missing from yours. If you don't include it, then Emacs will decide for itself when to call it, which tends to be unpredictable. Fun fact: it used to be the case that Emacs would look at your init file and if it didn't look like you were calling it, it would call it for you.
It might even still work like that. The file does call package-initialize , but much later after that snippet, which I scoped down to focus on just the building of package-archives. Skip to content. Star 2. New issue.
0コメント