Skip to content

Compile issue with multiple consecutive whitespaces in path #320

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

Closed
per1234 opened this issue May 13, 2019 · 2 comments
Closed

Compile issue with multiple consecutive whitespaces in path #320

per1234 opened this issue May 13, 2019 · 2 comments
Labels
conclusion: resolved Issue was resolved os: windows Specific to Windows operating system topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented May 13, 2019

Moved from arduino/Arduino#8861 by @fcooper

Hi,

I'm running into an issue with multiple whitespaces in the ide's path. The problem appears to be with the code that is processing /hardware/platform.txt. Something is causing it to strip multiple sequential white spaces and turn it into a single white space. When compiling any program I get the below error:

exec: "C:\\Users\\fcooper\\Downloads\\arduino -1.8.9-windows\\arduino-1.8.9\\tools-builder\\ctags\\5.8-arduino11/ctags": file does not exist

The full compile log can be found here: https://pastebin.com/nGx3vxAf

As you can see the ide is located at

C:\Users\fcooper\Downloads\arduino   -1.8.9-windows\arduino-1.8.9

not

C:\Users\fcooper\Downloads\arduino -1.8.9-windows\arduino-1.8.9`

In other places the proper path in the log is seen except when calling ctags.

IDE Version: 1.8.9
OS: Windows 10 64-bit
Board: Arduino Uno WiFi Rev2
Board Package Version: 1.6.26
I'm running Arduino 1.8.9 on Windows 10.

@per1234
Copy link
Contributor Author

per1234 commented May 13, 2019

From @facchinm on 2019-05-13 09:39 UTC

Hi @fcooper ,
I've been able to reproduce it in windows; it looks like the issue is originated by this golang bug (golang/go#17149) which is still under active investigation.

@per1234 per1234 added os: windows Specific to Windows operating system topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Sep 30, 2021
@per1234
Copy link
Contributor Author

per1234 commented Sep 30, 2021

I am able to reproduce the issue with Arduino IDE 1.8.9 (arduino-builder 1.4.4), but not with Arduino IDE 1.8.16 (arduino-builder 1.6.1), so I'll close this as fixed.

If anyone is still experiencing the issue when using the latest version of arduino-builder, feel free to comment here and I'll investigate.

@per1234 per1234 closed this as completed Sep 30, 2021
@per1234 per1234 added the conclusion: resolved Issue was resolved label Sep 30, 2021
@per1234 per1234 changed the title Compile issue with whitespaces in path Compile issue with multiple consecutive whitespaces in path Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved os: windows Specific to Windows operating system topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant