Skip to content

Compile issue with multiple consecutive whitespaces in path #320

@per1234

Description

@per1234

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    conclusion: resolvedIssue was resolvedos: windowsSpecific to Windows operating systemtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions