Skip to content
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

Issues with folder name - cannot have spaces? #118

Closed
wegunterjr opened this issue Aug 30, 2018 · 11 comments
Closed

Issues with folder name - cannot have spaces? #118

wegunterjr opened this issue Aug 30, 2018 · 11 comments
Labels

Comments

@wegunterjr
Copy link

<address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'C:\\Users\\newman\\Documents\\Projects\\CC_IoT_Grill\\ESP32'

The actual folder name is: CC_IoT_Grill/ESP32 Wifi Controller

ivankravets added a commit that referenced this issue Oct 1, 2018
* develop:
  Bump version to 1.4.0
  Add default "LED_BUILTIN" for ESP Wrover Kit // Resolve #121
  Add "Blink" example for ESP-IDF // Resolve #122
  Fix define value in sdkconfig file
  Update esp-idf package version
  Update sdkconfig file in esp-idf examples
  Update esp-idf build script // Issue #91, #125
  Escape space symbol in the image path // Issue #118, #121

# Conflicts:
#	platform.json
@ivankravets ivankravets added the bug label Oct 1, 2018
@pokono
Copy link

pokono commented Nov 1, 2018

+1

Maybe this helps? #121 (comment)

@martin-ger
Copy link

Still having this problem with the latest install:

Looking for upload port...
Auto-detected: COM4
Uploading .pioenvs\lolin 32\firmware.bin
usage: esptool write_flash [-h] [--flash_freq {keep,40m,26m,20m,80m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size FLASH_SIZE]
[--spi-connection SPI_CONNECTION] [--no-progress]
[--verify] [--compress | --no-compress]
<address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'c:\\Users\\Martin'
*** [upload] Error 2

My user dir is c:\Users\Martin Ger\

Cannot change this with reasonable effort...
The mentioned line in #121 isn't there any more in "main.py"
Any help welcome...

@martin-ger
Copy link

Okay, changing this line helps - no idea, why a current download of the platform package doesn't load a working config file.

@GerdW
Copy link

GerdW commented Jan 19, 2019

Same Problem here. I dont understand how you did solve it. :-D

@martin-ger
Copy link

Changed line 271 of ".platformio\platforms\espressif32\builder\main.py" to:
env.Append(UPLOADERFLAGS=[image[0], '"%s"' % image[1]])

@ivankravets
Copy link
Member

What are your OS and locale?

@martin-ger
Copy link

Windows 10, german: de

@pokono
Copy link

pokono commented Jan 22, 2019

MacOS Mojave 10.14.2, English Canada

@ivankravets
Copy link
Member

Could someone provide TeamViewer session to help me with debugging of this issue? I can't reproduce it on my VM machines. Please contact me@ikravets.com. Thanks!

@maovidal
Copy link

MacOS Mojave 10.14.2, English Canada

Changing:
env.Append(UPLOADERFLAGS=[image[0], image[1]])
To:
env.Append(UPLOADERFLAGS=[image[0], '"%s"' % image[1]])
as @martin-ger suggested, worked for me.

@ivankravets
Copy link
Member

@MrMauro thank you so much for the provided remote session. I've just fixed this issue, it's our bug.

Please re-test with the latest upstream version https://docs.platformio.org/en/latest/platforms/espressif32.html#upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants