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

exported PORT is not supplied to docker container? #24

Closed
richardklafter opened this issue May 12, 2023 · 6 comments
Closed

exported PORT is not supplied to docker container? #24

richardklafter opened this issue May 12, 2023 · 6 comments

Comments

@richardklafter
Copy link
Collaborator

Ran export PORT=/dev/ttyACM0 as documented but that is not passed into docker container as an ENV var or passed to --device ?

@richardklafter richardklafter changed the title exported port is not supplied to docker container exported port is not supplied to docker container? May 12, 2023
@richardklafter richardklafter changed the title exported port is not supplied to docker container? exported PORT is not supplied to docker container? May 12, 2023
@Xlinx64
Copy link

Xlinx64 commented May 16, 2023

I still have this issue. I see it on my mac when i use ls /dev/cu.*. But after I set it and want to flash it I get this error:
A fatal error occurred: Could not open /dev/cu.usbmodem14201, the port doesn't exist
Do I have to change something?

@kristiankielhofner
Copy link
Contributor

Thanks for checking it out! Are you trying to flash from inside the container, or outside on the host? We don't currently have a specific error message to tell the user the port doesn't and will never exist inside our container. I will introduce a specific check for this and make the error message clearer.

@Xlinx64
Copy link

Xlinx64 commented May 16, 2023

Ah, thank you.
I didnt get that I had to flash from outside the container.
Unfortunately flashing doesnt work. esptool: error: argument --chip/-c: invalid choice: 'esp32s3' (choose from 'auto', 'esp8266', 'esp32')
But I think this is out of scope of this issue.

@kristiankielhofner
Copy link
Contributor

I will make the documentation and error messages clearer. If you'd like to make a new issue for your new error we can work it there, or I can offer the quick (potential) fix of:

On the host:

rm -rf venv
./utils.sh flash

@Xlinx64
Copy link

Xlinx64 commented May 16, 2023

I tried your command and the venv got set up again. But I still get the same error

@kristiankielhofner
Copy link
Contributor

Appreciate your patience on this! If you could make a new issue please we can work through this there.

Thank you so much!

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

No branches or pull requests

3 participants