I’m currently on vacations, but my son’s chasis broke down. So I tried to make a new one the last three days. I was using Arduino 2.3.4 with 4.6, and yesterday I got a notification of updates. After applying them, whenever I open ProffieOS .INO file, I get a series of errors stating that the config files (it goes through the ./config dir alphabetically) has a space or other mistake and needs renaming. Even config files that are not even written in the .INO. I had to install 1.8 to get anything to compile.
The sketch file ‘Darksaber V3.h’ cannot be used. The name must start with a letter, number, or underscore, followed by letters, numbers, dashes, dots and underscores. Maximum length is 63 characters. Do you want to rename the sketch file now?
I downgraded from 4.6 to 3.6 and is still doing this. Is there any way to know where the problem is? I don’t know which libraries did I upgraded because I said yes to all.
This sounds like something’s wrong with the directory structure. Arduino is complaining because it sees those files as inos it seems.
It’s the same install of always, that worked every time. Still works in 1.8.3. Some library was updated and caused this problem. I need to understand how to revert a library update in 2.3.4.
Arduino 2.X won’t accept whitespace in file names. That’s all.
Just use like a batch file renamer app and change all spaces to underscores.
FWIW, 2.3.4 is much better tthan the initial few releases. I have been a die hard 1.8.19 user up until yesterday.
I checked the web for the one thing I dislike and stumbled across my own post on their forums (because it’s still doing it).
However, the majority of things i was nitpicking about in that post have been addressed.
Primarily, I have a dark themed Serial Monitor now by using it, and it’s glorious.
Now if they would just fix the carriage return issue so the progress bar is properly shown on one line…
But the serial monitor now has history of commands entered, the markdown ReadMe, while still opened along with ProffieOS.ino, is not selected on opening, so it sits idly by out of the way, the settings window is dealable, and above all it’s themeable with any Visual Code theme you like for color coding and window color etc…
Another perk is displaying the Proffieboard plugin names properly.
So the pros outway the cons to me.
I don’t ever use spaces in user name or file or directory names anyway.
2 Likes
If I did it in an evening surely they can too 
JS isn’t my thing, (un)fortunately
Arduino 2.x scans all files in the sketch directory, looking for files it doesn’t like, and then produces a weird error if it finds any. At least in your case it pointed out which file it doesn’t like. When this happened to me, it just refused to open the sketch with little or no explanation. (The problem for me was an emacs lock file which was named something like .#somefilename.h#
)
It doesn’t matter what version of arduino-proffieboard you use, because it’s arduino doing this, not the arduino-proffieboard plugin.
Now, I have no earthly clue why Arduino is doing this, doesn’t seem to make any sense to put restrictions on filenames which the compilers have no problems with.
1 Like
Even weirder that Arduino itself doesn’t actually have any problems with it… it’s just the GUI??
No it does. It spits a cryptic compile error if the path to something in Arduino15 contains a username with a space.
1 Like
That’s true, but files accessed with “#include” can have spaces, that has never been a problem before.