-
-
Notifications
You must be signed in to change notification settings - Fork 7k
The arduino IDE can't express file path correctly when it contains a space #9287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you provide a screenshot? |
it may be something related to language settings? can you try, for a moment, to set language to "English" from the preferences and see if the problem persist? |
But it is quite inconvenient for me to use English 😂 |
I know, I'm just trying to figure out the cause of the bug :-) |
Thank you! |
I've seen this several times on forum output from installations using English language: |
I think I'm running into the same problem and can provide more detailed information. As is bought a new computer I wanted to setup the Arduino IDE as usual by using the portable ZIP for Windows. When I tried to start the IDE, it closed immediately after showing the splash screen. I started searching around in the web for a while to figgure out what might cause this error which haven't had before. I got a first idea what might cause the error when I started to use the arduino_debug.exe
Which means translated that my sketchbok is missing and therefore the IDE cannot start. This is somehow strange as the IDE tend to create a new Arduino folder in the Document path automatically if its missing. At this point I already tried several things like compatibility modes, run as admin, the installer version of the IDE, previous version of the IDE and the BETA version, too. Always the same error. I tried to think about what might be different to my former installations and I assumed that it could be related to my new Windows username respectivley my user folder name which is consting of firstname lastname with a space sign inbetween. Previoulsy I had a username consisting of a single word. I then went to the IDE's preferences and switched my sketch folder to a place which hasn't been affected my username in the path. After doing so, all problems including downloading and installing libraries were solved. For me this seems to be reproducable. |
This is the error message, caused by the IDE after I created the Arduino folder in the Documents directory manually and tried to install a library:
|
I think this has now been reported and investigated in detail here: arduino/arduino-cli#493 |
For example, when it comes to "C:/Program Files/...", it displays "C:/Program " instead of a correct one.
The text was updated successfully, but these errors were encountered: