Pages: [1]   Go Down
Author Topic: Arduino + SVN  (Read 5587 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Loopy loops. And check for ;'s
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

UK
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Loopy loops. And check for ;'s
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

SF Bay Area (USA)
Online Online
Tesla Member
***
Karma: 134
Posts: 6760
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Sacramento, CA
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: