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

Cannot compile the ino code if Windows user contains whitespace with Arduino IDE (ESPTOOL-722) #905

Closed
icaksh opened this issue Aug 3, 2023 · 1 comment

Comments

@icaksh
Copy link

icaksh commented Aug 3, 2023

Operating System

Windows 10

Esptool Version

v4.5.1

Python Version

Python 3.11

Full Esptool Command Line that Was Run

No response

Esptool Output

The file not readable

What is the Expected Behaviour?

No response

More Information

Sorry if doesn't enough information about it because this problem happens like one or two weeks ago and I can't doing reproduce to make these issues.

These problems occur in my friend's PC (I try to solve it and not working) but when he tried on my PC (the username doesn't contain whitespace), it's working. After that I suspected that the error log contains the directory of Windows user ("C:\Users\Workload" "5\AppData\Arduino15...") and it says the file not readable. Seems that the path of directory is broken. The bug is only for esp32 because esptool for ESP8266 works fine without any problem.

It's working after my friend change the Windows username without any whitespace.

I want to pull requests but doesn't have the hardware and my Windows user doesn't contain whitespace.

Other Steps to Reproduce

Add a new Windows user contains whitespace. Install Arduino as User-only (not global). After that try to compile example code in Arduino IDE and it will get an error.

@github-actions github-actions bot changed the title Cannot compile the ino code if Windows user contains whitespace with Arduino IDE Cannot compile the ino code if Windows user contains whitespace with Arduino IDE (ESPTOOL-722) Aug 3, 2023
@radimkarnis
Copy link
Collaborator

Hi @icaksh,

this doesn't seem like a problem with esptool but with the build system of Arduino core for esp32. Therefore, the issue should be opened in the arduino-esp32 repository.

Also, it is not easy to debug the issue without more information and a full log,

For these reasons, I am closing this ticket. Feel free to reopen if you believe it should be handled here.

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

No branches or pull requests

2 participants