Go Down

Topic: saving preferences crashes IDE 1.8.5? (Read 330 times) previous topic - next topic

travis_farmer

after a partial laptop failure (had to reset windows), i reinstalled Arduino 1.8.5, and when i wanted to set the preferences so that the sketchbook was located, i made the change, clicked OK button, and it returned to the IDE, but nothing worked. the IDE was fully locked. i had to close it via the Task Manager, and End Task on Java, and by so doing, the Arduino IDE.

as said above, Arduino 1.8.5
Java 1.8.0_161
Windows 10

Sketchbook to be located on a mapped network drive (if it makes a difference), but currently set to "...My Documents/Arduino".

Arduino IDE works fine, if i don't change preferences, with the exception of locating the user libraries in the sketchbook (as they are on the networked drive).

Thanks in advance for any help. :D

~Travis
My GitHub: https://github.com/travisfarmer?tab=repositories
My website is where i organize my thoughts and ideas. feel free to visit it (http://tjfserver.ddns.net/).
My Radio Station: http://travisfarmer.caster.fm/ (if i am on-air)

travis_farmer

i manually changed the sketchbook folder path in preferences.txt, and now the IDE won't even start...

~Travis
My GitHub: https://github.com/travisfarmer?tab=repositories
My website is where i organize my thoughts and ideas. feel free to visit it (http://tjfserver.ddns.net/).
My Radio Station: http://travisfarmer.caster.fm/ (if i am on-air)

pert

Does the problem still occur if you change a preference other than the sketchbook location? I suspect it has something to do with the sketchbook location you're setting, rather than just changing preferences.txt generally.

travis_farmer

umm, yeah. it has to do with my networked drive, apparently. is there an issue regarding networked drives? or would this just be a local ID-TEN-T error? ;)

~Travis
My GitHub: https://github.com/travisfarmer?tab=repositories
My website is where i organize my thoughts and ideas. feel free to visit it (http://tjfserver.ddns.net/).
My Radio Station: http://travisfarmer.caster.fm/ (if i am on-air)

pert

Try this:
  • Manually change preferences.txt to set the sketchbook location to a folder on the networked drive.
  • Start the Windows command line (cmd)
  • From the command line, run the program arduino_debug.exe, which is located in the Arduino IDE installation folder.
  • After the Arduino IDE fails to start you should see some output shown on the command line. Copy that and then paste it in a reply here.


Maybe that will provide some clues that could help us find a way to get it working.

travis_farmer

Code: [Select]
C:\Program Files (x86)\Arduino>arduino_debug
Looking for library 'user32'
Adding paths from jna.library.path: null
Trying user32.dll
Found library 'user32' at user32.dll
Looking for library 'shell32'
Adding paths from jna.library.path: null
Trying shell32.dll
Found library 'shell32' at shell32.dll
Looking for library 'Ole32'
Adding paths from jna.library.path: null
Trying Ole32.dll
Found library 'Ole32' at Ole32.dll
Loading configuration...
Initializing packages...
Preparing boards...
Starting...


then it hangs indefinitely (>20Min).

~Travis(going to bed, will catch up in morning)
My GitHub: https://github.com/travisfarmer?tab=repositories
My website is where i organize my thoughts and ideas. feel free to visit it (http://tjfserver.ddns.net/).
My Radio Station: http://travisfarmer.caster.fm/ (if i am on-air)

Go Up