-
-
Notifications
You must be signed in to change notification settings - Fork 7k
1.65 Doesn't Launch Completely #4124
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
Comments
1.6.6 is the latest version. Please try that again. |
Sorry. 1.66 does the same thing. It launches, I see "Loading Configuration" and it closes. |
@mrmonteith Could you try running "arduino_debug.exe" from a console to see if any error is printed? |
C:\Users\mmonteith\Desktop\Arduino Installs\arduino-nightly>arduino_debug I'm running Java 8 updated 65. I even removed and reinstalled it. Still have to have to go back to 1.6.4 to run. |
It looks like your windows is missing a "Personal" key in windows registry, under |
It looks like it might be missing. But what's odd is that it works fine with the older versions and haven't had a problem until now. |
Can you tell which windows registry key your windows uses to tell that a folder is your "Documents" folder? |
Possibly a My Documents entry. I tried both a Documents and a My Documents entry to see if it would work and still doesn't. Why does the older versions work and the new ones don't. With the debug it really doesn't tell you what it's having a problem with reading and what. That would help a lot. If I knew what it was looking for and where it expected it. |
The code that's failing is this one: the IDE is accessing your Windows registry, entry |
… Documents folder using User Shell Folders. See #4124
Well it's a work pc so it looks like some folders were pointing to a shared drive. So maybe it was removed but never pointed to the shared drive. In any case I created a String Value entry called Personal and pointed it to my documents directory and it works fine. |
@mrmonteith latest windows hourly build contains a fix (an attempt really). Can you help me debug this issue and try this build, possibly after removing the registry entry you manually created? |
Hourly url is http://www.arduino.cc/en/Main/Software#hourly |
I don't mind helping at all. I downloaded the 18 November 2015 9:47:20 GMT. I renamed the entry to oldPersonal so it wouldn't find it. I get the following: Not sure if this would work, but if the entry is missing is it safe to assume something like c:\users$CURRENT_USER\documents as default or whatever variable there is to pick up the current user? |
So you also miss a User Shell Folders entry. Gosh. No, I don't think it's safe: this kind of stuff changes at every windows version. I'll keep on googling for a better way and keep you posted |
Should you have a windows hacker at hand, take him/her to your desk pls :) |
I'm as close as it gets. I've done windows since there was Windows. Just I don't do a whole lot of that any more. If there isn't a Personal entry you could default to Desktop. Just depends on what the software is needing that folder for. It might be that these domain admins rewrote some of the entries to point to the share and just forgot this one. If I had my home laptop and pc in front of me I could do some comparing. |
Thank you @mrmonteith I will then ask to try some more fix attempts as I find them :) |
…missing, fallback to environment variable. See #4124
I've just pushed a new hourly. This will first try to use windows registry: if that fails, will fallback to |
That worked. I downloaded the 19 November 2015 7:15:19 GMT. |
Good! Closing the issue then. Thank you! |
Awsome. Glad I could help. |
is my issue related to this patch? am getting errors on nightly, will need to double check if nightly error was same as the main dl. |
yes @teliot you're having the same issue. 1.6.7 will soon be release. In the meanwhile, you can use the hourly build http://www.arduino.cc/en/Main/Software#hourly |
i reverted my quick fix and tested hourly build, IDE fails to load. please reopen bug :( looking at the code my registry keys are in var findInUserShellFolders which is unused. the var that is being used will most likely be null in my windows 8.1 build 9600. which mentions shgetfolderpath that is deprecated after win xp, vista forward uses shgetknowngolderpath. |
exported registry key info: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders] Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] if the user has roaming profiles in a domain environment depending on how it was setup the %USERPROFILE% environment var may or may not be used in the reg key. |
@teliot please start the IDE using |
this is the error i was getting. :\Program Files (x86)\Arduino>arduino_debug.exe |
Did you unpack the hourly inside |
I'm having the same issue. C:\arduino-nightly-windows\arduino-nightly\arduin I've looked into the registry and it has it's setting I'm not sure but for some reason 1.6.4 worked fine in our network. Any ideas? |
Ahh yes, thank you. Fix coming |
Fixed. Fix will be available with next hourly build http://www.arduino.cc/en/Main/Software#hourly |
the need to unpack in program file's seems odd. ran the hourly from desktop and it worked fine with the System.getProperty("user.home") changes. Thanks |
I've been using older versions of the Arduino IDE. But 1.65 launches, shows "Loading Configuration", and then closes with no error messages. I've tried both the Windows installer and the unzipped version. I've even removed software that I had updated since the version that was working. Still no go. I finally went back to version 1.64 and it works fine.
Here are the system details.
Win 7 Pro, SP1, i5-3470 @3.20Ghz, 8GB ram, 64-bit
The text was updated successfully, but these errors were encountered: