-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Spacemacs can not start correctly after upgrading to 0.105.0 #4375
Comments
Can you also try running |
Thanks for your advice @StreakyCobra. The problem still exists even I delete the |
Let's wait for @syl20bnr then :-) |
Thanks for your kind help @StreakyCobra |
@tommyjiang did you try launching emacs with |
We should document it clearly by mentioning it on README.md and in the FAQ/ |
@syl20bnr I use proxy to connect |
@tommyjiang in
|
I tested the newest version So I suggetst the connection problem without proxy is the critical reason for this. For me maybe the website is blocked by GFW of China. For others, maybe it is related to @syl20bnr's explanation with Hope my solution helps. |
@tommyjiang Thus maybe some newly added URLs is blocked by GFW, as Spacemacs starts fine on v0.104.8 while stucks on v0.105. |
I am seeing this error too. Running with emacs --insecure does not help. Environment:
Steps I am taking:
My emacs Warnings buffer has the following contents:
Spacemacs 0.104.8 had been working fine for me (on emacs 24.3.1). |
Wow github, I did not want to close it so soon, shouldn't have put the fixes tag in comment :-) |
I consider this fixed as it is now mentioned in the documentations but we can let it opened since there may be several issues. |
I suspect this may not be completely fixed. I started Emacs with the This blocks spacemacs from starting for me on 0.105.1 and 0.105.0. |
|
I suppose the problem on your side is emacs 24.3. We know there are bugs with emacs version older than 24.4, and this is probably one of them. We are dropping support of it as no regular contributor is working on it. |
@StreakyCobra I'm on Emacs 24.5 on Windows 10. |
Sorry, I was speaking for @royseto |
I had the same problem. Starting with --insecure fixed it. |
I am having this same problem, and neither using |
Likewise. |
FWIW, I was able to get unblocked for the moment by going back to d822241. $ cd ~/.emacs.d/
$ git checkout d82224173937a10f1a4594a988444d6e51373322
$ emacs Miiiight still need Not sure what the big difference is, but I found that commit from the other conversation in #4097. |
@alanct-minted Thanks, that worked great without |
Also, for a bit more context, the exact same configuration ran just fine on my OS X 10.10 host machine on latest |
@alanct-minted Have you tried with both OS X and Ubuntu VM on the same network (i.e. both at home or both at work, not one at home and one at work)? |
@StreakyCobra Ugh, good question. I'm 90% sure these were both on the same network. The Mac one is a little difficult to reproduce again since that's my Macbook host, but I'll take a stab at the Ubuntu one both at home and at work today as I make my way into the office and see if either works like the Mac install. |
Actually, as I typed that... the Ubuntu VM was in Vagrant, which has some inherent complexity creating virtual network interfaces and routing the networking through the host machine. Think it could have anything to do with that extra layer? The Vagrantfile I used for testing is pretty simple. You could probably even I'll still play with it on different networks today just to be sure. |
If you're feeling especially ambitious, you can clone my exact configuration into the Vagrant too: https://github.com/alanctkc/dotfiles Then: $ cd dotfiles
$ ./install-ubuntu.sh
$ ./dotme.sh |
The problem is not about the complexity, but because some ISP (internet service providers) or firewalls have caused problems before. Not sure it's this in your case. I don't really have time these days to test this. Maybe somebody else will do :-) |
Ok, after testing at home and at work, the network seems to make no difference. Everything works smoothly on OS X, and in an Ubuntu Vivid vagrant VM, packages end up unavailable on emacs startup past d822241. |
Ok :-( So I don't really know where it can come from… |
@alanct-minted can you paste the contents of |
@syl20bnr Here are system info message for both machines: https://gist.github.com/alanct-minted/103a072f04c0219f0dc8 Note, those are the working revisions, so the linux one just reports Spacemacs 0.105.0 instead of 0.105.10 since the latter (latest master) was the one that barfed for me on melpa. Interesting the linux machine is on emacs 24.4 instead of 24.5, though. |
I was having the same troubles as you guys (fresh install, emacs 24.5, spacemacs 0.105.16, curl https://melpa.org working, --insecure doing nothing good). |
Had the same issue, was fixed by setting
I confirmed my suspicion and checked the value of
Furthermore, in Messages buffer I saw: ...which doesn't make sense to me, port 443 and insecure are mutually exclusive. In any case if |
As @syl20bnr suggested earlier about it being a timeout issue: increasing the (dotspacemacs-elpa-timeout) variable in core-dotspacemacs.el to 60s worked for me, even without running with the --insecure argument. I'm in Australia. |
@LachyTech It works for me too. Thanks a lot. diff --git a/core/core-dotspacemacs.el b/core/core-dotspacemacs.el
index af89594..bec185e 100644
--- a/core/core-dotspacemacs.el
+++ b/core/core-dotspacemacs.el
@@ -58,7 +58,7 @@ or `spacemacs'.")
possible. Set it to nil if you have no way to use HTTPS in your
environment, otherwise it is strongly recommended to let it set to t.")
-(defvar dotspacemacs-elpa-timeout 5
+(defvar dotspacemacs-elpa-timeout 50
"Maximum allowed time in seconds to contact an ELPA repository.")
(defvar dotspacemacs-configuration-layer-path '() |
Same results as @Cpt0r. My guess is that |
Thanks for the patch @LachyTech. That did it for me too. |
Has there been any progress with the Issue? I wanted to give spacemacs a first try but this issue is holding me away from it. I'm behind a corparate proxy and in an ubuntu vm. With my default emacs configuration everything works and connection to melpa is established via the url-proxy-services. I'm somehow helpless, as --debug-init returns nothing here and all fixes above do not work for me. Suggestions? |
TL;DR something happened between d822241 and the current master screwing the package installation, please debug First, kudos for this project to all involved, I hope it will keep Emacs on the right track.
|
Closing this issue since we are now in 0.200.0 |
@syl20bnr Thanks, it's okay now. The upgrade procedure itself probably has some issues — it doesn't refresh the packages upon switching to the new version (clicking on the UP in the status bar), only on the following manual restart — but it succeeds eventually, so this is clearly not a priority. |
The error is as following:
I just deleted the whole directory
.emacs.d
and re-install Spacemacs but it still exists.It feels like my config
.spacemacs.d
is conflict with the new version. I am trying to figure out what is the problem.The text was updated successfully, but these errors were encountered: