Skip to content

preferences.txt crashes different versions of IDE #1167

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

Closed
powtac opened this issue Dec 11, 2012 · 5 comments
Closed

preferences.txt crashes different versions of IDE #1167

powtac opened this issue Dec 11, 2012 · 5 comments
Assignees
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)

Comments

@powtac
Copy link

powtac commented Dec 11, 2012

When different versions of the Arduino IDE are installed the preferences.txt file is the same for all installed versions.

This seems buggy, since the upload often works only when deleting preferences.txt while switching between different IDE versions.

A simple solution would be to add a version information to the preferences.txt file name. Like preferences-202.txt

@ghost ghost assigned ffissore Dec 12, 2012
@ffissore
Copy link
Contributor

Hello @powtac, can you provide the error message printed by IDE when the upload fails? or some other way to replicate the issue?

@lestofante
Copy link

better solution is to use XML and made preferencies's tag backcompatible

@powtac
Copy link
Author

powtac commented Dec 19, 2012

Basically I had upload errors for month. I tried everything but nothing really worked. Then I realized that it works sometimes when I switched the Arduino IDE version. But not every time. I digged further and then found the solution. Not installing Adruino again helps, it was deleting the preferences.txt file from an other previous installed Arduino IDE.

For the detailed error I will check again...

@ffissore
Copy link
Contributor

Forgot to close this: preferences for arduino 1.5.x are now saved in Arduino15/.arduino15 folder

@powtac
Copy link
Author

powtac commented Oct 24, 2013

Thanks a lot for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

3 participants