Skip to content

Spaces in path causes compilation error #4579

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
jpasqua opened this issue Nov 25, 2020 · 4 comments
Closed

Spaces in path causes compilation error #4579

jpasqua opened this issue Nov 25, 2020 · 4 comments
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@jpasqua
Copy link

jpasqua commented Nov 25, 2020

Hardware:

Board: ESP32 D1 Mini
Core Installation version: 1.0.5 rc2
IDE name: Arduino IDE 1.8.13
Flash Frequency: 80Mhz
PSRAM enabled: N/A
Upload Speed: 921600
Computer OS: macOS 10.15.7

Description:

I'm trying to compile a project in a directory that contains spaces in the path:
/Users/joe/Dropbox/Dev/Arduino/libraries/TFT_eSPI-master/examples/320 x 240/TFT_Meters
This is a standard example that comes with the TFT_eSPI library and works fine with other cores like the ESP8266. Removing all spaces from the path causes the error to go away.

Sketch: [Any sketch will fail]

void setup() {}
void loop() {}

Debug Messages:

bash -c "[ ! -f /Users/joe/Dropbox/Dev/Arduino/libraries/TFT_eSPI-master/examples/320 x 240/TFT_Meters/partitions.csv ] || cp -f /Users/joe/Dropbox/Dev/Arduino/libraries/TFT_eSPI-master/examples/320 x 240/TFT_Meters/partitions.csv /var/folders/97/nw96g6nn0k33z212yw4by4yr0000gn/T/arduino_build_953387/partitions.csv"
bash: line 0: [: too many arguments
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
exit status 64
@Gius-8
Copy link
Contributor

Gius-8 commented Dec 22, 2020

Same problem on Mac OS Big Sur (11.1)

@coelner
Copy link

coelner commented Dec 24, 2020

#4640 (comment)

@stale
Copy link

stale bot commented Jun 26, 2021

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Jun 26, 2021
@stale
Copy link

stale bot commented Jul 11, 2021

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

No branches or pull requests

3 participants