Boo0ns / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Blank in file name causes IDE exception #475

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. A blank in the file name/folder name for a sketch results in
   an exception in the IDE.

Removing the blank(s) allows the sketch to load.

What is the expected output? What do you see instead?

Blanks should be allowed in file names.

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?

This happened on arduino_22 with an Arduino Uno connected.

Original issue reported on code.google.com by cdrg...@gmail.com on 9 Feb 2011 at 6:10

GoogleCodeExporter commented 9 years ago
Can you be more specific about how you tried to open the sketch and what 
exactly happened when you did?

I don't think we're likely to support spaces in the names of sketch files or 
their immediately containing directories, but trying to open them shouldn't 
crash the software (it should give an error message).  However, spaces should 
be allowed in parents of the sketch's directory.  

Original comment by dmel...@gmail.com on 21 Feb 2011 at 3:45

GoogleCodeExporter commented 9 years ago
The path to the folder started out to be C:/Users/pcrowley/My 
Documents/Forensic Drive/Drive Extension Firmware\Drive Extension Firmware.pde

What is working today is C:/Users/pcrowley/My Documents/Forensic 
Drive/DriveExtensionFirmware\DriveExtensionFirmware.pde

So I would agree that it is working to have parent directory paths with spaces. 
 I was getting a Java exception with spaces in as orginally constructed.

Original comment by cdrg...@gmail.com on 27 Feb 2011 at 10:53