Pages: [1]   Go Down
Author Topic: IDE (0022) crash when loading invalid sketch name  (Read 4276 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For no particular reason I tend to use the hyphen character inside filenames (to separate words). When I try to load such a sketch into the arduino IDE (0022), it crashes. Can you either catch the exception and print a suitable error message or - more preferably - allow this to work with hyphen characters. I am also assuming that sketches containing international characters in the name (and of course associated folder) will also cause issues.

Left Coast, CA (USA)
Offline Offline
Brattain Member
Karma: 361
Posts: 17303
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can tell you from experience that if you try to save a sketch while using the IDE and try and use a dash character for the file name, it gives you a bitchy message and tells that it changed the dash(s) to underscore characters.

So it seems that the IDE does not allow dashes in sketch pde file names. Don't know why, I just obey. Kind of like some of my wife's rules, don't make sense but easier to comply then not.  smiley-wink

« Last Edit: January 17, 2011, 09:18:50 am by retrolefty » Logged

Pages: [1]   Go Up
Jump to: