Go Down

Topic: Arduino + SVN (Read 8341 times) previous topic - next topic


Hey everyone.

Arduino IDE throws an error when opening a file that's being tracked by SVN.
It throws:

An error occurred while starting the application.

This is happening on a simple .pde file that works outside SVN.


Windows 7 32-bit
IDE 0022
TortoiseSVN 1.1.12
(which is built on SVN 1.6.15)

Thanks for any help you can give!


I have a hard time seeing how this could have anything to do with SVN.  Are you sure you didn't have a conflict after doing an update?  Ending up with a bunch of ">>>>> mine" or similar lines in it from a conflict would certainly cause issues.  Otherwise, it's still just going to be a PDE file, the contents of the file don't change just because they're checked into SVN.  I'd try opening the file in notepad and looking for the conflict headers.


Yeah, it's SVN based, no others are affected. But I'm happy to put this down to quirks mode. This affects two sketches (one of which has been reproduced on another pc), but other sketches are unaffected.


When the Arduino IDE opens up a sketch, it tries to do "things" with pretty much all the files in the directory, and it can get confused if it finds files that it doesn't recognize (it gets MORE confused when it THINKS that it recognizes a file, but is wrong...)


I'm summarizing the research I did to fix this error.

Disable/delete unnecessary COM ports.

Unplug Bluetooth adapter (worked for me).
Close/Disable Bluetooth software, e.g. Bluesoleil.exe and btntservice.exe

Delete preferences.txt
Windows 7: C:\Users\<user>\AppData\Roaming\Arduino\preferences.txt
Windows XP: C:\Documents and Settings\<user>\Application Data\Arduino\preferences.txt.

Edit the file outside of a version control system.
Subversion: http://arduino.cc/forum/index.php/topic,52152
Git: http://arduino.cc/forum/index.php/topic,51135

Go Up