Go Down

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

AbstractBeliefs

Hey everyone.

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

Launch4j
An error occurred while starting the application.

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

Using:

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!

psilokan

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.

AbstractBeliefs

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.

westfw

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...)

SpencerJoplin

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

Disable/delete unnecessary COM ports.
http://www.arduino.cc/en/Guide/Troubleshooting#toc14

Unplug Bluetooth adapter (worked for me).
Close/Disable Bluetooth software, e.g. Bluesoleil.exe and btntservice.exe
http://arduino.cc/forum/index.php/topic,49236.msg351901.html#msg351901
http://arduino.cc/forum/index.php/topic,49117.msg351086.html#msg351086

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.
http://arduino.cc/forum/index.php/topic,48241.msg345604.html#msg345604

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