Go Down

Topic: 1.8.1 does not start (Read 481 times) previous topic - next topic

ashleyf

Hi,
I upgraded 1.6.12 to the latest but now it does not start.
When I click the icon the first graphics window opens and in few seconds, it goes away. That's it.

Can anyone tell me how I should troubleshoot?

Thanks,
clf

pert

You might be able to get some information on the issue by running arduino_debug from the command line. arduino_debug is located in the Arduino IDE installation folder. If you do so, please post the output in a reply here using code tags (</> button on the toolbar).

ashleyf

I know I am new and is messed up.
Appreciate if you can tell me what I should do.
Below is what i get:
************************

Code: [Select]
D:\Program Files (x86)\Arduino>arduino_debug
Loading configuration...
Initializing packages...
Preparing boards...
Invalid library found in D:\My Documents\Arduino\libraries\Balance_Robot: D:\My Documents\Arduino\libraries\Balance_Robot
Invalid library found in D:\My Documents\Arduino\libraries\Downloads: D:\My Documents\Arduino\libraries\Downloads
Invalid library found in D:\My Documents\Arduino\libraries\firmware_WS2812: D:\My Documents\Arduino\libraries\firmware_WS2812
Invalid library found in D:\My Documents\Arduino\libraries\__MACOSX: D:\My Documents\Arduino\libraries\__MACOSX
Invalid library found in D:\My Documents\Arduino\libraries\Balance_Robot: D:\My Documents\Arduino\libraries\Balance_Robot
Invalid library found in D:\My Documents\Arduino\libraries\Downloads: D:\My Documents\Arduino\libraries\Downloads
Invalid library found in D:\My Documents\Arduino\libraries\firmware_WS2812: D:\My Documents\Arduino\libraries\firmware_WS2812
Invalid library found in D:\My Documents\Arduino\libraries\__MACOSX: D:\My Documents\Arduino\libraries\__MACOSX
Invalid library found in D:\My Documents\Arduino\libraries\Balance_Robot: D:\My Documents\Arduino\libraries\Balance_Robot
Invalid library found in D:\My Documents\Arduino\libraries\Downloads: D:\My Documents\Arduino\libraries\Downloads
Invalid library found in D:\My Documents\Arduino\libraries\firmware_WS2812: D:\My Documents\Arduino\libraries\firmware_WS2812
Invalid library found in D:\My Documents\Arduino\libraries\__MACOSX: D:\My Documents\Arduino\libraries\__MACOSX
Invalid library found in D:\My Documents\Arduino\libraries\Balance_Robot: D:\My Documents\Arduino\libraries\Balance_Robot
Invalid library found in D:\My Documents\Arduino\libraries\Downloads: D:\My Documents\Arduino\libraries\Downloads
Invalid library found in D:\My Documents\Arduino\libraries\firmware_WS2812: D:\My Documents\Arduino\libraries\firmware_WS2812
Invalid library found in D:\My Documents\Arduino\libraries\__MACOSX: D:\My Documents\Arduino\libraries\__MACOSX
java.io.FileNotFoundException: C:\Users\Clive\AppData\Local\Arduino15\preferences.txt (Access is denied)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(FileOutputStream.java:270)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
        at processing.app.legacy.PApplet.createWriter(PApplet.java:559)
        at processing.app.PreferencesData.save(PreferencesData.java:118)
        at processing.app.Base.<init>(Base.java:280)
        at processing.app.Base.main(Base.java:140)
java.lang.RuntimeException: Couldn't create a writer for C:\Users\Clive\AppData\Local\Arduino15\preferences.txt
        at processing.app.legacy.PApplet.createWriter(PApplet.java:571)
        at processing.app.PreferencesData.save(PreferencesData.java:118)
        at processing.app.Base.<init>(Base.java:280)
        at processing.app.Base.main(Base.java:140)

D:\Program Files (x86)\Arduino>

Somsak

I tried updating it as version 1.6.12.

pert

This is the reason:
java.io.FileNotFoundException: C:\Users\Clive\AppData\Local\Arduino15\preferences.txt (Access is denied)
I'm not sure exactly what the cause of the problem is. 1.6.12 should also be using that file and obviously it can do so without a problem. You could try right clicking on the Arduino IDE shortcut and then choosing "Run as administrator". Another option is to use the IDE in portable mode by creating a folder in the Arduino IDE installation folder named portable. This will cause the preference file to be located inside of that folder, which may not have the same access issues as the other location.

ashleyf

Thankyou very much for your support.
I was able to restore windows to an earlier version and now everything looks Ok
Cheers!

Go Up